Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3.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.001444/0.001444, allocations: 79.75 kB / 21.18 MB, free: 3.379 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.001597/0.001597, allocations: 161 kB / 24.56 MB, free: 12 kB / 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 0.9907/0.9907, allocations: 177.1 MB / 205 MB, free: 5.234 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2675/0.2675, allocations: 32.81 MB / 294.3 MB, free: 1.227 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.CombiTable2Ds.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.054e-06/2.054e-06, allocations: 0 / 376 MB, free: 4.66 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.248e-05/3.454e-05, allocations: 10.25 kB / 376 MB, free: 4.648 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test3): time 0.003859/0.003893, allocations: 1.728 MB / 377.8 MB, free: 2.91 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001193/0.005086, allocations: 0.5569 MB / 378.3 MB, free: 2.348 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.587e-05/0.005152, allocations: 0 / 378.3 MB, free: 2.348 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006327/0.005785, allocations: 455.1 kB / 378.8 MB, free: 1.902 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005464/0.006331, allocations: 287.2 kB / 379 MB, free: 1.621 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003672/0.006698, allocations: 139.5 kB / 379.2 MB, free: 1.484 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003042/0.007002, allocations: 183.6 kB / 379.4 MB, free: 1.305 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001172/0.00712, allocations: 16.22 kB / 379.4 MB, free: 1.285 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001903/0.00731, allocations: 123.8 kB / 379.5 MB, free: 1.164 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002969/0.007607, allocations: 247.6 kB / 379.7 MB, free: 0.9219 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.653e-05/0.007633, allocations: 8 kB / 379.7 MB, free: 0.9141 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001281/0.007761, allocations: 47.92 kB / 379.8 MB, free: 0.8672 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001273/0.007889, allocations: 87.7 kB / 379.9 MB, free: 0.7812 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 5.643e-05/0.007945, allocations: 43.67 kB / 379.9 MB, free: 0.7383 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003468/0.008292, allocations: 211.1 kB / 380.1 MB, free: 0.5312 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.745e-06/0.008295, allocations: 0 / 380.1 MB, free: 0.5312 MB / 346.7 MB Notification: Performance of FrontEnd: time 9.72e-07/0.008296, allocations: 0 / 380.1 MB, free: 0.5312 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.962e-06/0.008302, allocations: 0 / 380.1 MB, free: 0.5312 MB / 346.7 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.0008078/0.009109, allocations: 0.7009 MB / 380.8 MB, free: 15.79 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.199e-05/0.009151, allocations: 8.031 kB / 380.8 MB, free: 15.79 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.198e-05/0.009233, allocations: 52.66 kB / 380.9 MB, free: 15.73 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002658/0.009499, allocations: 260.8 kB / 381.1 MB, free: 15.45 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.161e-05/0.009511, allocations: 384 / 381.1 MB, free: 15.45 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.314e-05/0.009544, allocations: 8.312 kB / 381.2 MB, free: 15.45 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001669/0.009711, allocations: 62.94 kB / 381.2 MB, free: 15.38 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.298e-05/0.009724, allocations: 192 / 381.2 MB, free: 15.38 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.716e-05/0.009741, allocations: 8.125 kB / 381.2 MB, free: 15.37 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.056e-05/0.009752, allocations: 4 kB / 381.2 MB, free: 15.36 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.339e-05/0.009805, allocations: 15.92 kB / 381.2 MB, free: 15.35 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005811/0.01039, allocations: 435.6 kB / 381.7 MB, free: 14.89 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002431/0.01063, allocations: 59.02 kB / 381.7 MB, free: 14.82 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.719e-05/0.01067, allocations: 15.67 kB / 381.7 MB, free: 14.8 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.757e-05/0.01069, allocations: 0 / 381.7 MB, free: 14.8 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.118e-05/0.01073, allocations: 37.39 kB / 381.8 MB, free: 14.75 MB / 362.7 MB Notification: Performance of pre-optimization done (n=5): time 1.573e-06/0.01073, allocations: 0 / 381.8 MB, free: 14.75 MB / 362.7 MB Notification: Performance of matching and sorting (n=11): time 0.0009426/0.01167, allocations: 321 kB / 382.1 MB, free: 14.43 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.678e-05/0.01171, allocations: 63.34 kB / 382.2 MB, free: 14.36 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006526/0.01236, allocations: 0.6277 MB / 382.8 MB, free: 13.71 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.834e-05/0.01238, allocations: 29.7 kB / 382.8 MB, free: 13.68 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002088/0.01259, allocations: 282.8 kB / 383.1 MB, free: 13.39 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.267e-05/0.01263, allocations: 43.64 kB / 383.1 MB, free: 13.35 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.535e-05/0.01268, allocations: 31.36 kB / 383.2 MB, free: 13.31 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002173/0.0129, allocations: 0.5547 MB / 383.7 MB, free: 12.75 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.566e-05/0.01295, allocations: 15.92 kB / 383.7 MB, free: 12.73 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.771e-05/0.01298, allocations: 19.98 kB / 383.7 MB, free: 12.71 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.927e-05/0.01307, allocations: 39.69 kB / 383.8 MB, free: 12.67 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.292e-06/0.01308, allocations: 4 kB / 383.8 MB, free: 12.66 MB / 362.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001912/0.01327, allocations: 125.4 kB / 383.9 MB, free: 12.54 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.613e-05/0.01328, allocations: 11.88 kB / 383.9 MB, free: 12.52 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.691e-06/0.01329, allocations: 4 kB / 383.9 MB, free: 12.52 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.884e-05/0.01331, allocations: 0 / 383.9 MB, free: 12.52 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.411e-05/0.0134, allocations: 19.98 kB / 383.9 MB, free: 12.5 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.043e-06/0.01341, allocations: 4 kB / 384 MB, free: 12.5 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.326e-05/0.01346, allocations: 4 kB / 384 MB, free: 12.49 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.117e-05/0.01347, allocations: 4 kB / 384 MB, free: 12.49 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 (11): * Single equations (assignments): 11 * 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.0001115/0.01358, allocations: 172.5 kB / 384.1 MB, free: 12.31 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.374e-05/0.01365, allocations: 47.67 kB / 384.2 MB, free: 12.26 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002674/0.01392, allocations: 133.9 kB / 384.3 MB, free: 12.12 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.526e-06/0.01392, allocations: 0 / 384.3 MB, free: 12.12 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/0.01392, allocations: 4 kB / 384.3 MB, free: 12.12 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.037e-06/0.01393, allocations: 0 / 384.3 MB, free: 12.12 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006632/0.01459, allocations: 0.5434 MB / 384.9 MB, free: 11.52 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.066e-06/0.01459, allocations: 0 / 384.9 MB, free: 11.52 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.87e-05/0.01469, allocations: 27.92 kB / 384.9 MB, free: 11.5 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.019e-06/0.0147, allocations: 4.062 kB / 384.9 MB, free: 11.49 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.396e-05/0.01471, allocations: 8 kB / 384.9 MB, free: 11.48 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.937e-06/0.01471, allocations: 3.938 kB / 384.9 MB, free: 11.48 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.355e-06/0.01472, allocations: 192 / 384.9 MB, free: 11.48 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000253/0.01497, allocations: 299 kB / 385.2 MB, free: 11.16 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.397e-05/0.01501, allocations: 39.72 kB / 385.2 MB, free: 11.12 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.571e-05/0.01504, allocations: 3.984 kB / 385.2 MB, free: 11.12 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.613e-05/0.01514, allocations: 11.94 kB / 385.2 MB, free: 11.11 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.61e-05/0.01518, allocations: 7.984 kB / 385.3 MB, free: 11.1 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.367e-06/0.01519, allocations: 4 kB / 385.3 MB, free: 11.09 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.000415/0.01561, allocations: 430.8 kB / 385.7 MB, free: 10.68 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.01561, allocations: 4 kB / 385.7 MB, free: 10.67 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003137/0.01592, allocations: 32 kB / 385.7 MB, free: 10.64 MB / 362.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 11 * 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.001288/0.01721, allocations: 432.7 kB / 386.1 MB, free: 10.38 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001747/0.01738, allocations: 59.66 kB / 386.2 MB, free: 10.31 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.01739, allocations: 3.938 kB / 386.2 MB, free: 10.31 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 6.086e-05/0.01745, allocations: 39.61 kB / 386.2 MB, free: 10.27 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003783/0.01782, allocations: 30.08 kB / 386.3 MB, free: 10.24 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009673/0.01879, allocations: 0.6348 MB / 386.9 MB, free: 9.566 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001129/0.0189, allocations: 123.2 kB / 387 MB, free: 9.426 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 6.31e-05/0.01897, allocations: 12.48 kB / 387 MB, free: 9.414 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.304e-05/0.01902, allocations: 20.48 kB / 387.1 MB, free: 9.395 MB / 362.7 MB Notification: Performance of SimCode: time 9.52e-07/0.01902, allocations: 4 kB / 387.1 MB, free: 9.391 MB / 362.7 MB Notification: Performance of Templates: time 0.004873/0.02389, allocations: 1.774 MB / 388.8 MB, free: 7.633 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test3/Test3.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.216066762804985]