Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001965/0.001965, allocations: 124.7 kB / 17.79 MB, free: 5.246 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001857/0.001857, allocations: 186.9 kB / 20.73 MB, free: 2.316 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.363/1.363, allocations: 225.6 MB / 249.1 MB, free: 3.621 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_IntegerSignals_SampleClocked",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_IntegerSignals_SampleClocked",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001517/0.001517, allocations: 44.06 kB / 365.6 MB, free: 0.8828 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1032/0.1047, allocations: 52.15 MB / 417.8 MB, free: 12.63 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked): time 0.00272/0.1074, allocations: 1.506 MB / 419.3 MB, free: 11.12 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004038/0.1078, allocations: 143.5 kB / 419.4 MB, free: 10.98 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.461e-05/0.1079, allocations: 4 kB / 419.4 MB, free: 10.98 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 4.344e-05/0.108, allocations: 3.938 kB / 419.4 MB, free: 10.97 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001219/0.1081, allocations: 3.938 kB / 419.4 MB, free: 10.97 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002305/0.1083, allocations: 39.89 kB / 419.5 MB, free: 10.93 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001039/0.1084, allocations: 27.88 kB / 419.5 MB, free: 10.9 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001035/0.1085, allocations: 7.984 kB / 419.5 MB, free: 10.89 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.638e-05/0.1086, allocations: 11.94 kB / 419.5 MB, free: 10.88 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.341e-05/0.1086, allocations: 11.92 kB / 419.5 MB, free: 10.87 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.465e-05/0.1086, allocations: 4 kB / 419.5 MB, free: 10.87 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.073e-05/0.1086, allocations: 4 kB / 419.5 MB, free: 10.86 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.807e-05/0.1087, allocations: 7.938 kB / 419.5 MB, free: 10.86 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.299e-05/0.1087, allocations: 27.84 kB / 419.6 MB, free: 10.83 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001092/0.1088, allocations: 35.78 kB / 419.6 MB, free: 10.79 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.601e-06/0.1088, allocations: 7.938 kB / 419.6 MB, free: 10.79 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.1088, allocations: 0 / 419.6 MB, free: 10.79 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.64e-06/0.1088, allocations: 0 / 419.6 MB, free: 10.79 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004608/0.1093, allocations: 363.2 kB / 420 MB, free: 10.38 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.175e-05/0.1093, allocations: 8.031 kB / 420 MB, free: 10.37 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.706e-05/0.1094, allocations: 38.73 kB / 420 MB, free: 10.32 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.484e-05/0.1094, allocations: 8.891 kB / 420 MB, free: 10.32 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002676/0.1097, allocations: 196.2 kB / 420.2 MB, free: 10.09 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.164e-05/0.1097, allocations: 4.375 kB / 420.2 MB, free: 10.08 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.253e-05/0.1097, allocations: 384 / 420.2 MB, free: 10.08 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002497/0.1099, allocations: 93.61 kB / 420.3 MB, free: 9.973 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.207e-05/0.1099, allocations: 3.938 kB / 420.3 MB, free: 9.969 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.865e-06/0.1099, allocations: 4 kB / 420.3 MB, free: 9.965 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.068e-06/0.11, allocations: 0 / 420.3 MB, free: 9.965 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.869e-05/0.11, allocations: 23.86 kB / 420.3 MB, free: 9.941 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003323/0.1104, allocations: 253.8 kB / 420.6 MB, free: 9.641 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.726e-05/0.1105, allocations: 53.09 kB / 420.6 MB, free: 9.57 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.601e-05/0.1105, allocations: 17.77 kB / 420.7 MB, free: 9.547 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.167e-05/0.1105, allocations: 3.984 kB / 420.7 MB, free: 9.543 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.042e-05/0.1105, allocations: 34.56 kB / 420.7 MB, free: 9.5 MB / 350.1 MB Notification: Performance of pre-optimization done (n=2): time 9.52e-07/0.1106, allocations: 0 / 420.7 MB, free: 9.5 MB / 350.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002534/0.1108, allocations: 69.78 kB / 420.8 MB, free: 9.426 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.942e-05/0.1109, allocations: 81.11 kB / 420.8 MB, free: 9.328 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001398/0.111, allocations: 131.7 kB / 421 MB, free: 9.188 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.707e-05/0.111, allocations: 25.7 kB / 421 MB, free: 9.156 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.295e-05/0.1111, allocations: 88.14 kB / 421.1 MB, free: 9.066 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.969e-06/0.1111, allocations: 3.953 kB / 421.1 MB, free: 9.062 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.254e-05/0.1111, allocations: 13.72 kB / 421.1 MB, free: 9.043 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001594/0.1113, allocations: 326.8 kB / 421.4 MB, free: 8.715 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.541e-05/0.1113, allocations: 4 kB / 421.4 MB, free: 8.711 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.98e-05/0.1114, allocations: 25.64 kB / 421.5 MB, free: 8.68 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.802e-05/0.1114, allocations: 25.7 kB / 421.5 MB, free: 8.648 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.848e-06/0.1115, allocations: 3.938 kB / 421.5 MB, free: 8.645 MB / 350.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001063/0.1116, allocations: 57.69 kB / 421.5 MB, free: 8.582 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.615e-05/0.1116, allocations: 4 kB / 421.5 MB, free: 8.578 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.1116, allocations: 0 / 421.5 MB, free: 8.578 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.764e-05/0.1116, allocations: 4 kB / 421.5 MB, free: 8.574 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.485e-05/0.1117, allocations: 4 kB / 421.5 MB, free: 8.57 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.685e-06/0.1117, allocations: 3.984 kB / 421.6 MB, free: 8.566 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.467e-05/0.1117, allocations: 0 / 421.6 MB, free: 8.566 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.823e-06/0.1117, allocations: 4 kB / 421.6 MB, free: 8.562 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 2 (step.y,sample1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001125/0.1118, allocations: 125.8 kB / 421.7 MB, free: 8.43 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.799e-05/0.1119, allocations: 45.58 kB / 421.7 MB, free: 8.379 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.027e-05/0.1119, allocations: 7.875 kB / 421.7 MB, free: 8.367 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.1119, allocations: 0 / 421.7 MB, free: 8.367 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.1119, allocations: 4 kB / 421.7 MB, free: 8.363 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.1119, allocations: 0 / 421.7 MB, free: 8.363 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002036/0.1121, allocations: 165.6 kB / 421.9 MB, free: 8.152 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.1121, allocations: 0 / 421.9 MB, free: 8.152 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.543e-05/0.1122, allocations: 4 kB / 421.9 MB, free: 8.148 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.898e-06/0.1122, allocations: 4.031 kB / 421.9 MB, free: 8.145 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.526e-06/0.1122, allocations: 4 kB / 421.9 MB, free: 8.141 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.1122, allocations: 0 / 421.9 MB, free: 8.141 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.1122, allocations: 0 / 421.9 MB, free: 8.141 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001767/0.1124, allocations: 160.3 kB / 422.1 MB, free: 7.965 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.208e-05/0.1124, allocations: 89.05 kB / 422.2 MB, free: 7.859 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.693e-05/0.1124, allocations: 15.97 kB / 422.2 MB, free: 7.844 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.627e-05/0.1125, allocations: 7.938 kB / 422.2 MB, free: 7.836 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.509e-05/0.1125, allocations: 0 / 422.2 MB, free: 7.836 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.641e-06/0.1125, allocations: 4 kB / 422.2 MB, free: 7.832 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.533e-05/0.1126, allocations: 101.5 kB / 422.3 MB, free: 7.734 MB / 350.1 MB Notification: Performance of sort global known variables: time 6e-08/0.1126, allocations: 0 / 422.3 MB, free: 7.734 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002202/0.1129, allocations: 8 kB / 422.3 MB, free: 7.727 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 2 (step.y,sample1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000544/0.1134, allocations: 0.6898 MB / 423 MB, free: 7.008 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.00013/0.1135, allocations: 27.86 kB / 423 MB, free: 6.98 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.1135, allocations: 0 / 423 MB, free: 6.98 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 3.134e-05/0.1136, allocations: 8.141 kB / 423 MB, free: 6.973 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003245/0.1139, allocations: 18.5 kB / 423 MB, free: 6.957 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001405/0.1153, allocations: 1.268 MB / 424.3 MB, free: 5.598 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003327/0.1156, allocations: 0.6844 MB / 425 MB, free: 4.887 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 2.347e-05/0.1156, allocations: 4.031 kB / 425 MB, free: 4.883 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.286e-05/0.1157, allocations: 19.42 kB / 425 MB, free: 4.863 MB / 350.1 MB Notification: Performance of SimCode: time 3.7e-07/0.1157, allocations: 0 / 425 MB, free: 4.863 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04872/0.1644, allocations: 1.385 MB / 426.4 MB, free: 3.617 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.903/8.067, allocations: 9.25 kB / 426.4 MB, free: 3.609 MB / 350.1 MB " [Timeout remaining time 652] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_IntegerSignals_SampleClocked_fmu --startTime=0 --stopTime=0.2 --stepSize=3.99122e-05 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_IntegerSignals_SampleClocked.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/SampleClocked/SampleClocked.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 10.583216251339763]