Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80.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.001135/0.001135, allocations: 85.91 kB / 22.21 MB, free: 2.285 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.001291/0.001291, allocations: 163 kB / 25.61 MB, free: 8.582 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 0.9777/0.9777, allocations: 177 MB / 205.9 MB, free: 4.457 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1784/0.1784, allocations: 34.88 MB / 297.4 MB, free: 13.35 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) 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(ModelicaTest.Tables.CombiTimeTable.Test80,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|t_new_2.y.[0-9,]+.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80") translateModel(ModelicaTest.Tables.CombiTimeTable.Test80,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|t_new_2.y.[0-9,]+.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.014e-06/2.014e-06, allocations: 0 / 380.1 MB, free: 22.68 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.451e-05/3.652e-05, allocations: 5.375 kB / 380.1 MB, free: 22.68 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test80): time 0.006878/0.006915, allocations: 1.835 MB / 381.9 MB, free: 20.84 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.006382/0.0133, allocations: 1.792 MB / 383.7 MB, free: 19.04 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001809/0.01348, allocations: 0 / 383.7 MB, free: 19.04 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003447/0.01692, allocations: 55.62 kB / 383.8 MB, free: 18.98 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006166/0.01754, allocations: 147.2 kB / 383.9 MB, free: 18.84 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003984/0.01794, allocations: 107.6 kB / 384 MB, free: 18.73 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002899/0.01823, allocations: 211.2 kB / 384.2 MB, free: 18.52 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.388e-05/0.01829, allocations: 9.75 kB / 384.2 MB, free: 18.52 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001626/0.01846, allocations: 111.7 kB / 384.3 MB, free: 18.41 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001901/0.01865, allocations: 67.73 kB / 384.4 MB, free: 18.34 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 2.514e-05/0.01867, allocations: 12 kB / 384.4 MB, free: 18.33 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002302/0.0189, allocations: 99.88 kB / 384.5 MB, free: 18.23 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 6.514e-05/0.01897, allocations: 43.83 kB / 384.6 MB, free: 18.19 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 5.263e-05/0.01902, allocations: 35.86 kB / 384.6 MB, free: 18.15 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003254/0.01935, allocations: 203.2 kB / 384.8 MB, free: 17.95 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.01935, allocations: 0 / 384.8 MB, free: 17.95 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.724e-06/0.01935, allocations: 0 / 384.8 MB, free: 17.95 MB / 314.7 MB Notification: Performance of Transformations before backend: time 6.723e-06/0.01936, allocations: 0 / 384.8 MB, free: 17.95 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.003497/0.02286, allocations: 0.5226 MB / 385.3 MB, free: 17.39 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.375e-05/0.02289, allocations: 16.03 kB / 385.3 MB, free: 17.38 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.323e-05/0.02295, allocations: 16.84 kB / 385.3 MB, free: 17.36 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001887/0.02314, allocations: 184.3 kB / 385.5 MB, free: 17.16 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.573e-05/0.02316, allocations: 384 / 385.5 MB, free: 17.16 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.193e-05/0.02317, allocations: 4.375 kB / 385.5 MB, free: 17.15 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001388/0.02331, allocations: 169 kB / 385.7 MB, free: 16.95 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.184e-06/0.02331, allocations: 192 / 385.7 MB, free: 16.95 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.418e-06/0.02332, allocations: 4.375 kB / 385.7 MB, free: 16.95 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.201e-06/0.02333, allocations: 3.938 kB / 385.7 MB, free: 16.94 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.461e-05/0.02337, allocations: 19.97 kB / 385.7 MB, free: 16.92 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001269/0.02349, allocations: 144.9 kB / 385.9 MB, free: 16.75 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001168/0.02361, allocations: 90.2 kB / 386 MB, free: 16.64 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.384e-05/0.02364, allocations: 31.36 kB / 386 MB, free: 16.6 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.137e-05/0.02365, allocations: 0 / 386 MB, free: 16.6 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001157/0.02377, allocations: 108.3 kB / 386.1 MB, free: 16.47 MB / 314.7 MB Notification: Performance of pre-optimization done (n=10): time 1.032e-06/0.02377, allocations: 0 / 386.1 MB, free: 16.47 MB / 314.7 MB Notification: Performance of matching and sorting (n=10): time 0.0002297/0.024, allocations: 137.5 kB / 386.2 MB, free: 16.33 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.699e-05/0.02403, allocations: 132.5 kB / 386.4 MB, free: 16.17 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000164/0.02419, allocations: 283 kB / 386.6 MB, free: 15.87 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.14e-05/0.0242, allocations: 29.7 kB / 386.7 MB, free: 15.84 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.668e-05/0.02425, allocations: 166.8 kB / 386.8 MB, free: 15.67 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.388e-05/0.02428, allocations: 27.78 kB / 386.8 MB, free: 15.64 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.155e-05/0.02432, allocations: 35.34 kB / 386.9 MB, free: 15.6 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 6.39e-05/0.02439, allocations: 0.5079 MB / 387.4 MB, free: 15.08 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.538e-05/0.02441, allocations: 19.92 kB / 387.4 MB, free: 15.06 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.634e-05/0.02447, allocations: 117.5 kB / 387.5 MB, free: 14.91 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.003e-05/0.02454, allocations: 82.69 kB / 387.6 MB, free: 14.81 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.02454, allocations: 0 / 387.6 MB, free: 14.81 MB / 314.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000129/0.02467, allocations: 113.5 kB / 387.7 MB, free: 14.69 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.126e-05/0.02468, allocations: 8 kB / 387.7 MB, free: 14.68 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.328e-06/0.02469, allocations: 0 / 387.7 MB, free: 14.68 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.025e-06/0.02469, allocations: 0 / 387.7 MB, free: 14.68 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.561e-05/0.02477, allocations: 27.92 kB / 387.8 MB, free: 14.66 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.597e-06/0.02477, allocations: 8 kB / 387.8 MB, free: 14.65 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.892e-05/0.02483, allocations: 11.94 kB / 387.8 MB, free: 14.64 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.254e-06/0.02484, allocations: 4 kB / 387.8 MB, free: 14.63 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new_2.nextTimeEvent,$whenCondition2,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent,$PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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 5.858e-05/0.0249, allocations: 168.6 kB / 387.9 MB, free: 14.46 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.305e-05/0.02493, allocations: 27.84 kB / 388 MB, free: 14.43 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001555/0.02509, allocations: 126.7 kB / 388.1 MB, free: 14.3 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.826e-06/0.02509, allocations: 4 kB / 388.1 MB, free: 14.3 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.583e-06/0.02509, allocations: 256 / 388.1 MB, free: 14.3 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.858e-06/0.0251, allocations: 3.938 kB / 388.1 MB, free: 14.29 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.973e-05/0.0252, allocations: 145.2 kB / 388.2 MB, free: 14.12 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.0252, allocations: 4 kB / 388.2 MB, free: 14.12 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.014e-05/0.02523, allocations: 11.98 kB / 388.3 MB, free: 14.11 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.02523, allocations: 3.938 kB / 388.3 MB, free: 14.11 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.875e-06/0.02524, allocations: 4 kB / 388.3 MB, free: 14.1 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.303e-06/0.02524, allocations: 0 / 388.3 MB, free: 14.1 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.02524, allocations: 0 / 388.3 MB, free: 14.1 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003172/0.02841, allocations: 179.7 kB / 388.4 MB, free: 13.9 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.49e-05/0.02844, allocations: 23.83 kB / 388.5 MB, free: 13.88 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.58e-05/0.02846, allocations: 4 kB / 388.5 MB, free: 13.88 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.504e-05/0.02851, allocations: 8 kB / 388.5 MB, free: 13.87 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.426e-05/0.02854, allocations: 11.98 kB / 388.5 MB, free: 13.86 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.483e-05/0.02856, allocations: 7.984 kB / 388.5 MB, free: 13.85 MB / 314.7 MB Notification: Performance of sorting global known variables: time 8.992e-05/0.02865, allocations: 193.7 kB / 388.7 MB, free: 13.66 MB / 314.7 MB Notification: Performance of sort global known variables: time 7e-08/0.02865, allocations: 0 / 388.7 MB, free: 13.66 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002773/0.02892, allocations: 59.81 kB / 388.7 MB, free: 13.6 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001322/0.03024, allocations: 0.4897 MB / 389.2 MB, free: 13.29 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001279/0.03037, allocations: 63.58 kB / 389.3 MB, free: 13.22 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.03037, allocations: 0 / 389.3 MB, free: 13.22 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 4.685e-05/0.03042, allocations: 39.59 kB / 389.3 MB, free: 13.18 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003014/0.03072, allocations: 71.56 kB / 389.4 MB, free: 13.11 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003633/0.03109, allocations: 272.2 kB / 389.7 MB, free: 12.8 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.86e-05/0.03111, allocations: 83.97 kB / 389.7 MB, free: 12.7 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 6.592e-05/0.03118, allocations: 25.97 kB / 389.8 MB, free: 12.68 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003136/0.03432, allocations: 122.2 kB / 389.9 MB, free: 12.56 MB / 314.7 MB Notification: Performance of SimCode: time 6.51e-07/0.03432, allocations: 0 / 389.9 MB, free: 12.56 MB / 314.7 MB Notification: Performance of Templates: time 0.0066/0.04092, allocations: 3.826 MB / 393.7 MB, free: 8.797 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test80/Test80.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.6309484490193427]