Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00146/0.00146, allocations: 81.81 kB / 21.42 MB, free: 3.07 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001508/0.001508, allocations: 165.8 kB / 24.82 MB, free: 9.324 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.107/1.107, allocations: 177 MB / 205.1 MB, free: 5.457 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5053,variableFilter="time|sample1.y|superSample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample") translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5053,variableFilter="time|sample1.y|superSample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.435e-06/2.435e-06, allocations: 0 / 273.3 MB, free: 1.223 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.053e-05/2.296e-05, allocations: 5.266 kB / 273.3 MB, free: 1.219 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample): time 0.002562/0.002585, allocations: 1.932 MB / 275.3 MB, free: 15.27 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.00188/0.004466, allocations: 1.25 MB / 276.5 MB, free: 14.01 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001582/0.004624, allocations: 7.938 kB / 276.5 MB, free: 14 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003368/0.004961, allocations: 63.61 kB / 276.6 MB, free: 13.94 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003373/0.005298, allocations: 139.4 kB / 276.7 MB, free: 13.8 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000583/0.005881, allocations: 235 kB / 276.9 MB, free: 13.57 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002371/0.006118, allocations: 179.5 kB / 277.1 MB, free: 13.39 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001075/0.006226, allocations: 29.72 kB / 277.1 MB, free: 13.37 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001325/0.006358, allocations: 99.73 kB / 277.2 MB, free: 13.27 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001027/0.006461, allocations: 71.78 kB / 277.3 MB, free: 13.2 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.448e-05/0.006485, allocations: 12 kB / 277.3 MB, free: 13.19 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001464/0.006632, allocations: 67.94 kB / 277.4 MB, free: 13.12 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 7.573e-05/0.006708, allocations: 55.78 kB / 277.4 MB, free: 13.07 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 5.047e-05/0.006758, allocations: 35.84 kB / 277.5 MB, free: 13.03 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002592/0.007017, allocations: 195.2 kB / 277.7 MB, free: 12.84 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.314e-06/0.00702, allocations: 0 / 277.7 MB, free: 12.84 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.002e-06/0.007021, allocations: 3.938 kB / 277.7 MB, free: 12.84 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.388e-06/0.007025, allocations: 0 / 277.7 MB, free: 12.84 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0005361/0.007561, allocations: 0.5632 MB / 278.2 MB, free: 12.23 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.947e-05/0.007601, allocations: 15.98 kB / 278.3 MB, free: 12.21 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.071e-05/0.007651, allocations: 28.8 kB / 278.3 MB, free: 12.19 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002245/0.007876, allocations: 231.5 kB / 278.5 MB, free: 11.94 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.764e-05/0.007893, allocations: 8.375 kB / 278.5 MB, free: 11.93 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.079e-05/0.007904, allocations: 4.375 kB / 278.5 MB, free: 11.93 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002065/0.008111, allocations: 149.2 kB / 278.7 MB, free: 11.75 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.043e-06/0.008118, allocations: 192 / 278.7 MB, free: 11.75 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.795e-06/0.008125, allocations: 384 / 278.7 MB, free: 11.75 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.251e-06/0.008132, allocations: 7.938 kB / 278.7 MB, free: 11.74 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.566e-05/0.008167, allocations: 19.92 kB / 278.7 MB, free: 11.72 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003268/0.008494, allocations: 327.7 kB / 279 MB, free: 11.37 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001335/0.008628, allocations: 113.3 kB / 279.1 MB, free: 11.22 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.922e-05/0.008667, allocations: 39.05 kB / 279.2 MB, free: 11.17 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.043e-05/0.008687, allocations: 0 / 279.2 MB, free: 11.17 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001101/0.008797, allocations: 80.92 kB / 279.2 MB, free: 11.07 MB / 266.7 MB Notification: Performance of pre-optimization done (n=9): time 1.093e-06/0.008799, allocations: 0 / 279.2 MB, free: 11.07 MB / 266.7 MB Notification: Performance of matching and sorting (n=9): time 0.0002139/0.009012, allocations: 117.6 kB / 279.4 MB, free: 10.95 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.312e-05/0.009076, allocations: 110.8 kB / 279.5 MB, free: 10.82 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000206/0.009282, allocations: 320.2 kB / 279.8 MB, free: 10.49 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.594e-05/0.009298, allocations: 29.7 kB / 279.8 MB, free: 10.45 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.595e-05/0.009384, allocations: 182.8 kB / 280 MB, free: 10.27 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.472e-05/0.009408, allocations: 27.81 kB / 280 MB, free: 10.24 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.55e-05/0.009444, allocations: 31.62 kB / 280 MB, free: 10.2 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001312/0.009575, allocations: 0.5079 MB / 280.6 MB, free: 9.684 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.025e-05/0.009595, allocations: 8.047 kB / 280.6 MB, free: 9.676 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.409e-05/0.009639, allocations: 64.77 kB / 280.6 MB, free: 9.594 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.064e-05/0.00969, allocations: 47.28 kB / 280.7 MB, free: 9.539 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.009692, allocations: 0 / 280.7 MB, free: 9.539 MB / 266.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 9.512e-05/0.009787, allocations: 81.48 kB / 280.7 MB, free: 9.453 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.315e-05/0.0098, allocations: 6.656 kB / 280.8 MB, free: 9.449 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.46e-06/0.009806, allocations: 0 / 280.8 MB, free: 9.449 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.129e-05/0.009817, allocations: 8.062 kB / 280.8 MB, free: 9.441 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.256e-05/0.00988, allocations: 15.92 kB / 280.8 MB, free: 9.426 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.957e-06/0.009884, allocations: 4 kB / 280.8 MB, free: 9.422 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.441e-05/0.009918, allocations: 4 kB / 280.8 MB, free: 9.418 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.73e-06/0.009924, allocations: 4 kB / 280.8 MB, free: 9.414 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.table.combiTimeTable.nextTimeEvent,$whenCondition1,table.combiTimeTable.nextTimeEventScaled,$PRE.table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEvent,table.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * 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 8.061e-05/0.01, allocations: 160.6 kB / 280.9 MB, free: 9.246 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.47e-05/0.01006, allocations: 73.41 kB / 281 MB, free: 9.168 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001259/0.01019, allocations: 95.44 kB / 281.1 MB, free: 9.066 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.01019, allocations: 4.062 kB / 281.1 MB, free: 9.062 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.487e-06/0.01019, allocations: 4 kB / 281.1 MB, free: 9.059 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-06/0.0102, allocations: 0 / 281.1 MB, free: 9.059 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000126/0.01032, allocations: 157.1 kB / 281.3 MB, free: 8.879 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.233e-06/0.01032, allocations: 0 / 281.3 MB, free: 8.879 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.27e-05/0.01037, allocations: 19.92 kB / 281.3 MB, free: 8.859 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.425e-06/0.01037, allocations: 0 / 281.3 MB, free: 8.859 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.342e-06/0.01037, allocations: 0 / 281.3 MB, free: 8.859 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.801e-06/0.01038, allocations: 12 kB / 281.3 MB, free: 8.848 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/0.01038, allocations: 240 / 281.3 MB, free: 8.848 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001245/0.01051, allocations: 151.6 kB / 281.5 MB, free: 8.668 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.124e-05/0.01056, allocations: 43.77 kB / 281.5 MB, free: 8.625 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.964e-05/0.01058, allocations: 4 kB / 281.5 MB, free: 8.621 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.167e-05/0.01061, allocations: 7.938 kB / 281.5 MB, free: 8.613 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.304e-05/0.01065, allocations: 11.98 kB / 281.5 MB, free: 8.602 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.222e-05/0.01066, allocations: 3.938 kB / 281.5 MB, free: 8.598 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001257/0.01079, allocations: 221.1 kB / 281.7 MB, free: 8.383 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01079, allocations: 0 / 281.7 MB, free: 8.383 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001703/0.01096, allocations: 28 kB / 281.8 MB, free: 8.355 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,table.y,table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled,superSample1.y,sample1.y,superSample1.u) * Number of discrete states: 2 (table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0007744/0.01173, allocations: 388.5 kB / 282.1 MB, free: 8.086 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 9.999e-05/0.01183, allocations: 51.58 kB / 282.2 MB, free: 8.031 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.744e-06/0.01184, allocations: 0 / 282.2 MB, free: 8.031 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 3.768e-05/0.01187, allocations: 31.73 kB / 282.2 MB, free: 7.996 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000236/0.01211, allocations: 65.67 kB / 282.3 MB, free: 7.926 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003757/0.01249, allocations: 341.1 kB / 282.6 MB, free: 7.559 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.882e-05/0.01253, allocations: 87.97 kB / 282.7 MB, free: 7.453 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 4.799e-05/0.01258, allocations: 21.62 kB / 282.7 MB, free: 7.434 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.514e-05/0.01268, allocations: 106.4 kB / 282.8 MB, free: 7.328 MB / 266.7 MB Notification: Performance of SimCode: time 6.22e-07/0.01268, allocations: 0 / 282.8 MB, free: 7.328 MB / 266.7 MB Notification: Performance of Templates: time 0.004812/0.01749, allocations: 3.157 MB / 286 MB, free: 4.223 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/SuperSample/SuperSample.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.0036226250231266]