Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test34.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.00121/0.00121, allocations: 81.86 kB / 21.42 MB, free: 3.078 MB / 18.57 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.00136/0.00136, allocations: 170.7 kB / 24.81 MB, free: 8.305 MB / 18.57 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.058/1.058, allocations: 177.1 MB / 205.3 MB, free: 5.52 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2929/0.2929, allocations: 34.26 MB / 296.1 MB, free: 0.7188 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) 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(ModelicaTest.Tables.CombiTable1Dv.Test34,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|d2_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test34") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test34,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|d2_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test34") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.813e-06/1.813e-06, allocations: 0 / 378.5 MB, free: 2.367 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.235e-05/2.416e-05, allocations: 2.312 kB / 378.5 MB, free: 2.363 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test34): time 0.005913/0.005937, allocations: 1.642 MB / 380.2 MB, free: 0.707 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009207/0.006858, allocations: 0.5375 MB / 380.7 MB, free: 168 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.039e-05/0.006928, allocations: 4 kB / 380.7 MB, free: 164 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002833/0.007212, allocations: 79.64 kB / 380.8 MB, free: 84 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003905/0.01112, allocations: 99.61 kB / 380.9 MB, free: 15.98 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003521/0.01147, allocations: 115.6 kB / 381 MB, free: 15.87 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001751/0.01164, allocations: 91.69 kB / 381.1 MB, free: 15.78 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001091/0.01175, allocations: 11.98 kB / 381.1 MB, free: 15.77 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.841e-05/0.01184, allocations: 43.89 kB / 381.1 MB, free: 15.73 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001134/0.01195, allocations: 55.88 kB / 381.2 MB, free: 15.67 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.608e-05/0.01197, allocations: 4 kB / 381.2 MB, free: 15.67 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001042/0.01207, allocations: 51.91 kB / 381.3 MB, free: 15.62 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 4.909e-05/0.01212, allocations: 19.92 kB / 381.3 MB, free: 15.6 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 2.738e-05/0.01215, allocations: 11.94 kB / 381.3 MB, free: 15.59 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001962/0.01235, allocations: 95.59 kB / 381.4 MB, free: 15.49 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.457e-06/0.01235, allocations: 0 / 381.4 MB, free: 15.49 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.032e-06/0.01235, allocations: 0 / 381.4 MB, free: 15.49 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.188e-06/0.01236, allocations: 3.938 kB / 381.4 MB, free: 15.49 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004529/0.01281, allocations: 439.9 kB / 381.8 MB, free: 15.02 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.281e-05/0.01285, allocations: 8.031 kB / 381.8 MB, free: 15.02 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.039e-05/0.01289, allocations: 20.84 kB / 381.8 MB, free: 15 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000142/0.01303, allocations: 149.1 kB / 382 MB, free: 14.82 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.135e-05/0.01305, allocations: 4.375 kB / 382 MB, free: 14.82 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.898e-05/0.01306, allocations: 4.375 kB / 382 MB, free: 14.81 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001099/0.01317, allocations: 62.88 kB / 382.1 MB, free: 14.74 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.145e-05/0.01319, allocations: 192 / 382.1 MB, free: 14.74 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.518e-06/0.0132, allocations: 8.125 kB / 382.1 MB, free: 14.73 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.111e-06/0.0132, allocations: 0 / 382.1 MB, free: 14.73 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.755e-05/0.01323, allocations: 8 kB / 382.1 MB, free: 14.73 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002908/0.01352, allocations: 264.4 kB / 382.3 MB, free: 14.44 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.41e-05/0.01358, allocations: 47 kB / 382.4 MB, free: 14.38 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.341e-05/0.01361, allocations: 15.77 kB / 382.4 MB, free: 14.36 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.414e-05/0.01363, allocations: 0 / 382.4 MB, free: 14.36 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.595e-05/0.01366, allocations: 41.33 kB / 382.4 MB, free: 14.31 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 8.11e-07/0.01366, allocations: 0 / 382.4 MB, free: 14.31 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.003532/0.01719, allocations: 157.4 kB / 382.6 MB, free: 14.15 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.047e-05/0.01722, allocations: 55.41 kB / 382.6 MB, free: 14.09 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001482/0.01737, allocations: 230.3 kB / 382.9 MB, free: 13.84 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.417e-05/0.01738, allocations: 41.64 kB / 382.9 MB, free: 13.8 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.965e-05/0.01745, allocations: 158.8 kB / 383.1 MB, free: 13.64 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.822e-05/0.01748, allocations: 27.75 kB / 383.1 MB, free: 13.61 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.002e-05/0.01752, allocations: 31.3 kB / 383.1 MB, free: 13.57 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001464/0.01767, allocations: 0.5001 MB / 383.6 MB, free: 13.06 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.763e-05/0.01769, allocations: 4 kB / 383.6 MB, free: 13.05 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.739e-05/0.0177, allocations: 8 kB / 383.6 MB, free: 13.05 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.239e-05/0.01775, allocations: 35.66 kB / 383.7 MB, free: 13.01 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.01776, allocations: 3.938 kB / 383.7 MB, free: 13 MB / 362.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 9.383e-05/0.01785, allocations: 65.64 kB / 383.7 MB, free: 12.93 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.467e-05/0.01787, allocations: 4 kB / 383.7 MB, free: 12.93 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.18e-06/0.01787, allocations: 4 kB / 383.7 MB, free: 12.93 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.261e-05/0.01788, allocations: 0 / 383.7 MB, free: 12.93 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.695e-05/0.01796, allocations: 27.92 kB / 383.8 MB, free: 12.9 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.717e-06/0.01796, allocations: 0 / 383.8 MB, free: 12.9 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.29e-05/0.01799, allocations: 0 / 383.8 MB, free: 12.9 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.504e-06/0.01799, allocations: 4 kB / 383.8 MB, free: 12.89 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * 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.628e-05/0.01808, allocations: 160.5 kB / 383.9 MB, free: 12.73 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.107e-05/0.01811, allocations: 16.33 kB / 383.9 MB, free: 12.71 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001468/0.01826, allocations: 83.44 kB / 384 MB, free: 12.62 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.01826, allocations: 4 kB / 384 MB, free: 12.62 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.926e-06/0.01826, allocations: 3.984 kB / 384 MB, free: 12.62 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.01827, allocations: 3.938 kB / 384 MB, free: 12.61 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003368/0.0186, allocations: 361.6 kB / 384.4 MB, free: 12.22 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.01861, allocations: 0 / 384.4 MB, free: 12.22 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.169e-05/0.01865, allocations: 12 kB / 384.4 MB, free: 12.21 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.033e-06/0.01865, allocations: 0 / 384.4 MB, free: 12.21 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.524e-06/0.01866, allocations: 7.984 kB / 384.4 MB, free: 12.2 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.01866, allocations: 0 / 384.4 MB, free: 12.2 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.01866, allocations: 0 / 384.4 MB, free: 12.2 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001463/0.01881, allocations: 235.5 kB / 384.6 MB, free: 11.95 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.376e-05/0.01882, allocations: 15.91 kB / 384.7 MB, free: 11.93 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.253e-05/0.01883, allocations: 0 / 384.7 MB, free: 11.93 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.371e-05/0.01889, allocations: 11.98 kB / 384.7 MB, free: 11.92 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.953e-05/0.01891, allocations: 4 kB / 384.7 MB, free: 11.92 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.99e-06/0.01892, allocations: 3.938 kB / 384.7 MB, free: 11.91 MB / 362.7 MB Notification: Performance of sorting global known variables: time 8.159e-05/0.019, allocations: 167.1 kB / 384.8 MB, free: 11.75 MB / 362.7 MB Notification: Performance of sort global known variables: time 9e-08/0.019, allocations: 0 / 384.8 MB, free: 11.75 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002335/0.01924, allocations: 23.94 kB / 384.9 MB, free: 11.73 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (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 Backend phase and start with SimCode phase: time 0.004112/0.02335, allocations: 440.7 kB / 385.3 MB, free: 11.45 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001058/0.02345, allocations: 39.59 kB / 385.3 MB, free: 11.41 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.02345, allocations: 0 / 385.3 MB, free: 11.41 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.372e-05/0.02349, allocations: 27.67 kB / 385.4 MB, free: 11.38 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002758/0.02376, allocations: 22.98 kB / 385.4 MB, free: 11.36 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003849/0.02415, allocations: 230.1 kB / 385.6 MB, free: 11.1 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.261e-05/0.0242, allocations: 71.33 kB / 385.7 MB, free: 11.01 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.604e-05/0.02425, allocations: 20.77 kB / 385.7 MB, free: 10.99 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.333e-05/0.02432, allocations: 82.2 kB / 385.8 MB, free: 10.91 MB / 362.7 MB Notification: Performance of SimCode: time 6.81e-07/0.02432, allocations: 0 / 385.8 MB, free: 10.91 MB / 362.7 MB Notification: Performance of Templates: time 0.007412/0.03173, allocations: 1.541 MB / 387.3 MB, free: 9.379 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test34.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test34.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test34.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test34.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test34.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test34 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test34.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test34_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test34/Test34.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.450642345007509]