Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001322/0.001322, allocations: 84.23 kB / 20.68 MB, free: 1.023 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001494/0.001494, allocations: 163.4 kB / 23.95 MB, free: 4.156 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.465/1.465, allocations: 177.1 MB / 204.3 MB, free: 9.168 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1") translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.745e-06/2.745e-06, allocations: 0 / 325.1 MB, free: 0.582 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.735e-05/4.01e-05, allocations: 2.281 kB / 325.1 MB, free: 0.5781 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1): time 0.003148/0.003188, allocations: 1.538 MB / 326.6 MB, free: 15.54 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004805/0.003668, allocations: 152.9 kB / 326.7 MB, free: 15.43 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.735e-05/0.003756, allocations: 1.375 kB / 326.7 MB, free: 15.43 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 5.383e-05/0.003809, allocations: 5.25 kB / 326.8 MB, free: 15.43 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000143/0.003952, allocations: 11.88 kB / 326.8 MB, free: 15.42 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002724/0.004225, allocations: 36.11 kB / 326.8 MB, free: 15.4 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.000123/0.004348, allocations: 33.58 kB / 326.8 MB, free: 15.39 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001213/0.004469, allocations: 14.48 kB / 326.8 MB, free: 15.38 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.865e-05/0.004538, allocations: 19.53 kB / 326.9 MB, free: 15.37 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.566e-05/0.004583, allocations: 9.25 kB / 326.9 MB, free: 15.37 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.6e-05/0.004609, allocations: 6.75 kB / 326.9 MB, free: 15.36 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.542e-05/0.004625, allocations: 2.438 kB / 326.9 MB, free: 15.36 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 6.058e-05/0.004685, allocations: 10.42 kB / 326.9 MB, free: 15.36 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 3.604e-05/0.004721, allocations: 9.812 kB / 326.9 MB, free: 15.36 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001389/0.00486, allocations: 44.69 kB / 326.9 MB, free: 15.34 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.811e-06/0.004866, allocations: 5.438 kB / 327 MB, free: 15.33 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.004867, allocations: 4.703 kB / 327 MB, free: 15.33 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.841e-06/0.004873, allocations: 0 / 327 MB, free: 15.33 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005291/0.005402, allocations: 294.4 kB / 327.2 MB, free: 15.04 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.01e-05/0.005442, allocations: 10.31 kB / 327.3 MB, free: 15.04 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.781e-05/0.00548, allocations: 8.172 kB / 327.3 MB, free: 15.03 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002313/0.005711, allocations: 134 kB / 327.4 MB, free: 14.89 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.614e-05/0.005728, allocations: 2.875 kB / 327.4 MB, free: 14.89 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.783e-05/0.005745, allocations: 2.625 kB / 327.4 MB, free: 14.89 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003191/0.006065, allocations: 115 kB / 327.5 MB, free: 14.8 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.808e-06/0.006074, allocations: 4.125 kB / 327.5 MB, free: 14.8 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.123e-05/0.006086, allocations: 2.297 kB / 327.5 MB, free: 14.8 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.671e-06/0.006091, allocations: 5.406 kB / 327.5 MB, free: 14.8 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.754e-05/0.006179, allocations: 30.5 kB / 327.6 MB, free: 14.78 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003002/0.006479, allocations: 204.1 kB / 327.7 MB, free: 14.57 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002025/0.006681, allocations: 66.28 kB / 327.8 MB, free: 14.5 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.655e-05/0.006748, allocations: 27.22 kB / 327.8 MB, free: 14.48 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.595e-05/0.006764, allocations: 0.7031 kB / 327.8 MB, free: 14.48 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.851e-05/0.006793, allocations: 34.03 kB / 327.9 MB, free: 14.45 MB / 302.1 MB Notification: Performance of pre-optimization done (n=4): time 1.282e-06/0.006794, allocations: 0 / 327.9 MB, free: 14.45 MB / 302.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002569/0.007051, allocations: 81.62 kB / 328 MB, free: 14.39 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.494e-05/0.007116, allocations: 82.86 kB / 328 MB, free: 14.3 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001345/0.00725, allocations: 137 kB / 328.2 MB, free: 14.18 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.766e-05/0.007268, allocations: 29.7 kB / 328.2 MB, free: 14.15 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.469e-05/0.007322, allocations: 87.83 kB / 328.3 MB, free: 14.06 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.132e-05/0.007334, allocations: 4.75 kB / 328.3 MB, free: 14.06 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.049e-05/0.007374, allocations: 18.75 kB / 328.3 MB, free: 14.04 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.000137/0.007511, allocations: 313.8 kB / 328.6 MB, free: 13.73 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.044e-05/0.007552, allocations: 9.547 kB / 328.6 MB, free: 13.72 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.989e-05/0.007582, allocations: 5.25 kB / 328.6 MB, free: 13.72 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.396e-05/0.007646, allocations: 16.31 kB / 328.6 MB, free: 13.71 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.007647, allocations: 0.875 kB / 328.6 MB, free: 13.71 MB / 302.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001176/0.007765, allocations: 49.92 kB / 328.7 MB, free: 13.68 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.361e-05/0.007778, allocations: 5.438 kB / 328.7 MB, free: 13.68 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.693e-06/0.007785, allocations: 8.859 kB / 328.7 MB, free: 13.67 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.335e-05/0.007798, allocations: 0 / 328.7 MB, free: 13.67 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.764e-05/0.007846, allocations: 9.156 kB / 328.7 MB, free: 13.66 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.089e-06/0.007851, allocations: 0 / 328.7 MB, free: 13.66 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.528e-05/0.007876, allocations: 5.047 kB / 328.7 MB, free: 13.66 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.859e-06/0.007881, allocations: 0 / 328.7 MB, free: 13.66 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (step.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * 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 9.757e-05/0.007979, allocations: 114.4 kB / 328.8 MB, free: 13.55 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.401e-05/0.008053, allocations: 52.86 kB / 328.9 MB, free: 13.5 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.137e-05/0.008084, allocations: 13.17 kB / 328.9 MB, free: 13.49 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.008086, allocations: 0 / 328.9 MB, free: 13.49 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.00809, allocations: 4.781 kB / 328.9 MB, free: 13.49 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.008094, allocations: 3.625 kB / 328.9 MB, free: 13.49 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001429/0.008237, allocations: 113.2 kB / 329 MB, free: 13.36 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.91e-07/0.008238, allocations: 0 / 329 MB, free: 13.36 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.759e-05/0.008286, allocations: 8.812 kB / 329 MB, free: 13.36 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.008288, allocations: 2.656 kB / 329 MB, free: 13.36 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.153e-06/0.008295, allocations: 0 / 329 MB, free: 13.36 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.787e-06/0.008299, allocations: 12.48 kB / 329 MB, free: 13.35 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.008301, allocations: 3.906 kB / 329 MB, free: 13.35 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001962/0.008497, allocations: 160.1 kB / 329.2 MB, free: 13.2 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.834e-05/0.008535, allocations: 20.53 kB / 329.2 MB, free: 13.19 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.61e-05/0.008551, allocations: 2.031 kB / 329.2 MB, free: 13.19 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.482e-05/0.008616, allocations: 6.969 kB / 329.2 MB, free: 13.18 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.394e-05/0.00865, allocations: 1.953 kB / 329.2 MB, free: 13.18 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.258e-06/0.008654, allocations: 1.188 kB / 329.2 MB, free: 13.18 MB / 302.1 MB Notification: Performance of sorting global known variables: time 8.623e-05/0.008741, allocations: 104.8 kB / 329.3 MB, free: 13.1 MB / 302.1 MB Notification: Performance of sort global known variables: time 8e-08/0.008741, allocations: 0 / 329.3 MB, free: 13.1 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000223/0.008964, allocations: 7.312 kB / 329.3 MB, free: 13.1 MB / 302.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: 4 (step.y,assignClock.u,assignClock.y,sample1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * 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.0001166/0.00908, allocations: 103.8 kB / 329.4 MB, free: 13 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001342/0.009215, allocations: 21.48 kB / 329.5 MB, free: 13 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.413e-06/0.009216, allocations: 0 / 329.5 MB, free: 13 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 3.486e-05/0.009251, allocations: 6.797 kB / 329.5 MB, free: 13 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003305/0.009581, allocations: 18.36 kB / 329.5 MB, free: 13 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003759/0.009957, allocations: 166.2 kB / 329.7 MB, free: 12.84 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.301e-05/0.01004, allocations: 76.3 kB / 329.7 MB, free: 12.77 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 2.322e-05/0.01006, allocations: 6.141 kB / 329.7 MB, free: 12.77 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.618e-05/0.0101, allocations: 10.55 kB / 329.7 MB, free: 12.76 MB / 302.1 MB Notification: Performance of SimCode: time 3.41e-07/0.0101, allocations: 0 / 329.7 MB, free: 12.76 MB / 302.1 MB Notification: Performance of Templates: time 0.003106/0.01321, allocations: 0.5104 MB / 330.3 MB, free: 12.68 MB / 302.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/Sample1/Sample1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.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: 4.335702713578939]