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.00104/0.00104, allocations: 87.67 kB / 21.2 MB, free: 3.367 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.001051/0.001051, allocations: 156.5 kB / 24.55 MB, free: 12 kB / 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.9607/0.9607, allocations: 177 MB / 204.8 MB, free: 5.559 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.259/0.259, allocations: 34.86 MB / 296.3 MB, free: 0.5234 MB / 266.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 1.643e-06/1.643e-06, allocations: 0 / 378.8 MB, free: 2 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.736e-05/1.901e-05, allocations: 2.312 kB / 378.8 MB, free: 1.996 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test80): time 0.002177/0.002196, allocations: 1.836 MB / 380.7 MB, free: 152 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001849/0.004045, allocations: 1.811 MB / 382.5 MB, free: 14.33 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001017/0.004147, allocations: 4 kB / 382.5 MB, free: 14.32 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003253/0.004472, allocations: 47.62 kB / 382.5 MB, free: 14.28 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004346/0.004907, allocations: 147.2 kB / 382.7 MB, free: 14.13 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002229/0.005129, allocations: 111.6 kB / 382.8 MB, free: 14.02 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002197/0.005349, allocations: 211.2 kB / 383 MB, free: 13.82 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.424e-05/0.005393, allocations: 9.797 kB / 383 MB, free: 13.8 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001224/0.005516, allocations: 107.7 kB / 383.1 MB, free: 13.7 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001487/0.005664, allocations: 71.72 kB / 383.2 MB, free: 13.63 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.274e-05/0.005687, allocations: 8 kB / 383.2 MB, free: 13.62 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001656/0.005853, allocations: 107.9 kB / 383.3 MB, free: 13.52 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 6.348e-05/0.005916, allocations: 31.84 kB / 383.3 MB, free: 13.48 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 5.501e-05/0.005971, allocations: 43.84 kB / 383.4 MB, free: 13.44 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002665/0.006238, allocations: 203.2 kB / 383.6 MB, free: 13.24 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.575e-06/0.00624, allocations: 0 / 383.6 MB, free: 13.24 MB / 362.7 MB Notification: Performance of FrontEnd: time 8.52e-07/0.006241, allocations: 4 kB / 383.6 MB, free: 13.24 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.019e-06/0.006246, allocations: 0 / 383.6 MB, free: 13.24 MB / 362.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.0005377/0.006784, allocations: 0.5187 MB / 384.1 MB, free: 12.68 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.739e-05/0.006821, allocations: 8.031 kB / 384.1 MB, free: 12.68 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.606e-05/0.006887, allocations: 28.78 kB / 384.1 MB, free: 12.65 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003411/0.007228, allocations: 184.3 kB / 384.3 MB, free: 12.44 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.865e-05/0.007247, allocations: 4.359 kB / 384.3 MB, free: 12.44 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.391e-05/0.007261, allocations: 8.375 kB / 384.3 MB, free: 12.43 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001837/0.007445, allocations: 165 kB / 384.5 MB, free: 12.23 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.883e-06/0.007452, allocations: 4.188 kB / 384.5 MB, free: 12.23 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.368e-05/0.007465, allocations: 8.375 kB / 384.5 MB, free: 12.22 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.077e-06/0.007474, allocations: 7.938 kB / 384.5 MB, free: 12.21 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.011e-05/0.007524, allocations: 15.98 kB / 384.5 MB, free: 12.2 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001728/0.007697, allocations: 168.3 kB / 384.7 MB, free: 11.99 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001406/0.007838, allocations: 98.16 kB / 384.8 MB, free: 11.87 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.639e-05/0.007884, allocations: 31.36 kB / 384.8 MB, free: 11.83 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.165e-05/0.007896, allocations: 8 kB / 384.8 MB, free: 11.82 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001311/0.008027, allocations: 108.3 kB / 384.9 MB, free: 11.7 MB / 362.7 MB Notification: Performance of pre-optimization done (n=10): time 1.012e-06/0.008028, allocations: 0 / 384.9 MB, free: 11.7 MB / 362.7 MB Notification: Performance of matching and sorting (n=10): time 0.0002556/0.008284, allocations: 145.5 kB / 385.1 MB, free: 11.55 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.314e-05/0.008337, allocations: 132.5 kB / 385.2 MB, free: 11.39 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001935/0.00853, allocations: 286.6 kB / 385.5 MB, free: 11.09 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.573e-05/0.008546, allocations: 29.7 kB / 385.5 MB, free: 11.05 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.089e-05/0.008607, allocations: 166.9 kB / 385.7 MB, free: 10.88 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.993e-05/0.008647, allocations: 31.77 kB / 385.7 MB, free: 10.85 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.058e-05/0.008687, allocations: 39.38 kB / 385.7 MB, free: 10.8 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001181/0.008805, allocations: 0.5001 MB / 386.2 MB, free: 10.29 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.083e-05/0.008836, allocations: 11.98 kB / 386.2 MB, free: 10.28 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.101e-05/0.008907, allocations: 133.5 kB / 386.4 MB, free: 10.11 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.03e-05/0.008988, allocations: 78.67 kB / 386.5 MB, free: 10.02 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.00899, allocations: 0 / 386.5 MB, free: 10.02 MB / 362.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000135/0.009125, allocations: 122 kB / 386.6 MB, free: 9.895 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.223e-05/0.009137, allocations: 4.094 kB / 386.6 MB, free: 9.891 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/0.009142, allocations: 8 kB / 386.6 MB, free: 9.883 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.185e-05/0.009154, allocations: 0 / 386.6 MB, free: 9.883 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.352e-05/0.009238, allocations: 27.86 kB / 386.6 MB, free: 9.855 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.687e-06/0.009247, allocations: 4 kB / 386.6 MB, free: 9.852 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.664e-05/0.009293, allocations: 7.984 kB / 386.6 MB, free: 9.844 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.017e-06/0.009302, allocations: 8 kB / 386.6 MB, free: 9.836 MB / 362.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 0.0001098/0.009412, allocations: 164.6 kB / 386.8 MB, free: 9.664 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.121e-05/0.009443, allocations: 19.86 kB / 386.8 MB, free: 9.645 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001877/0.009631, allocations: 138.7 kB / 386.9 MB, free: 9.508 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.996e-06/0.009634, allocations: 4 kB / 387 MB, free: 9.504 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.352e-06/0.00964, allocations: 7.938 kB / 387 MB, free: 9.496 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.849e-06/0.009645, allocations: 3.984 kB / 387 MB, free: 9.492 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001213/0.009767, allocations: 164.5 kB / 387.1 MB, free: 9.297 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.009768, allocations: 0 / 387.1 MB, free: 9.297 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.894e-05/0.009796, allocations: 15.98 kB / 387.1 MB, free: 9.281 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.905e-06/0.009799, allocations: 3.984 kB / 387.1 MB, free: 9.277 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.787e-06/0.009808, allocations: 3.938 kB / 387.1 MB, free: 9.273 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.924e-06/0.00981, allocations: 4 kB / 387.2 MB, free: 9.27 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.009812, allocations: 0 / 387.2 MB, free: 9.27 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001606/0.009972, allocations: 187.8 kB / 387.3 MB, free: 9.059 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.145e-05/0.009994, allocations: 15.91 kB / 387.4 MB, free: 9.043 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.084e-05/0.01001, allocations: 3.984 kB / 387.4 MB, free: 9.039 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.506e-05/0.01005, allocations: 8.188 kB / 387.4 MB, free: 9.031 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.058e-05/0.01009, allocations: 11.92 kB / 387.4 MB, free: 9.02 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.731e-05/0.01011, allocations: 12 kB / 387.4 MB, free: 9.008 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001107/0.01022, allocations: 205.7 kB / 387.6 MB, free: 8.809 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01022, allocations: 0 / 387.6 MB, free: 8.809 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002828/0.0105, allocations: 55.88 kB / 387.6 MB, free: 8.754 MB / 362.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.001181/0.01168, allocations: 0.4891 MB / 388.1 MB, free: 8.402 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001612/0.01184, allocations: 71.58 kB / 388.2 MB, free: 8.328 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.01184, allocations: 0 / 388.2 MB, free: 8.328 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 5.088e-05/0.0119, allocations: 39.61 kB / 388.2 MB, free: 8.285 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002316/0.01213, allocations: 70.62 kB / 388.3 MB, free: 8.219 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000417/0.01254, allocations: 278.3 kB / 388.6 MB, free: 7.91 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.04e-05/0.01258, allocations: 71.98 kB / 388.7 MB, free: 7.82 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 6.268e-05/0.01265, allocations: 37.45 kB / 388.7 MB, free: 7.785 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.996e-05/0.0127, allocations: 28.48 kB / 388.7 MB, free: 7.758 MB / 362.7 MB Notification: Performance of SimCode: time 8.11e-07/0.0127, allocations: 0 / 388.7 MB, free: 7.758 MB / 362.7 MB Notification: Performance of Templates: time 0.005775/0.01847, allocations: 3.755 MB / 392.5 MB, free: 4.059 MB / 362.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.1557643953710794]