Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test39.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.001549/0.001549, allocations: 71.77 kB / 21.69 MB, free: 2.855 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.001069/0.001069, allocations: 167.3 kB / 24.99 MB, free: 8.746 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 0.9999/0.9999, allocations: 177.1 MB / 205.3 MB, free: 5.648 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.2586/0.2586, allocations: 32.8 MB / 294.6 MB, free: 1.293 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.CombiTimeTable.Test39,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5065,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test39") translateModel(ModelicaTest.Tables.CombiTimeTable.Test39,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5065,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test39") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.633e-06/1.633e-06, allocations: 0 / 376.1 MB, free: 4.938 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.074e-05/2.237e-05, allocations: 6.25 kB / 376.1 MB, free: 4.93 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test39): time 0.005585/0.005608, allocations: 1.73 MB / 377.8 MB, free: 3.188 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001408/0.007016, allocations: 0.9781 MB / 378.8 MB, free: 2.203 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.764e-05/0.007093, allocations: 3.938 kB / 378.8 MB, free: 2.199 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003334/0.01043, allocations: 67.72 kB / 378.9 MB, free: 2.133 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003132/0.01074, allocations: 115.5 kB / 379 MB, free: 2.02 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001689/0.01091, allocations: 71.61 kB / 379 MB, free: 1.949 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001766/0.01109, allocations: 107.7 kB / 379.1 MB, free: 1.844 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.078e-05/0.01113, allocations: 4.234 kB / 379.2 MB, free: 1.84 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.487e-05/0.01122, allocations: 63.77 kB / 379.2 MB, free: 1.777 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.989e-05/0.01131, allocations: 39.89 kB / 379.3 MB, free: 1.738 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.126e-05/0.01133, allocations: 4 kB / 379.3 MB, free: 1.734 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.566e-05/0.01141, allocations: 31.92 kB / 379.3 MB, free: 1.703 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 5.439e-05/0.01146, allocations: 27.91 kB / 379.3 MB, free: 1.676 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 4.003e-05/0.0115, allocations: 19.94 kB / 379.3 MB, free: 1.656 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001718/0.01167, allocations: 91.59 kB / 379.4 MB, free: 1.566 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.284e-06/0.01168, allocations: 0 / 379.4 MB, free: 1.566 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.342e-06/0.01168, allocations: 0 / 379.4 MB, free: 1.566 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.398e-06/0.01168, allocations: 0 / 379.4 MB, free: 1.566 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004727/0.01215, allocations: 443.9 kB / 379.9 MB, free: 1.098 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.444e-05/0.01219, allocations: 8.031 kB / 379.9 MB, free: 1.09 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.932e-05/0.01224, allocations: 12.84 kB / 379.9 MB, free: 1.078 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001794/0.01242, allocations: 149.1 kB / 380 MB, free: 0.9062 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.792e-05/0.01244, allocations: 4.375 kB / 380 MB, free: 0.9023 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.978e-06/0.01245, allocations: 4.375 kB / 380 MB, free: 0.8984 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001157/0.01256, allocations: 58.94 kB / 380.1 MB, free: 0.832 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.296e-06/0.01257, allocations: 3.938 kB / 380.1 MB, free: 0.8281 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.586e-06/0.01258, allocations: 3.938 kB / 380.1 MB, free: 0.8242 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.973e-06/0.01259, allocations: 4 kB / 380.1 MB, free: 0.8203 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.328e-05/0.01262, allocations: 7.984 kB / 380.1 MB, free: 0.8125 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001528/0.01277, allocations: 144.6 kB / 380.3 MB, free: 0.6367 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001022/0.01287, allocations: 43.11 kB / 380.3 MB, free: 0.582 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.342e-05/0.01291, allocations: 23.67 kB / 380.3 MB, free: 0.5547 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.104e-05/0.01292, allocations: 4 kB / 380.3 MB, free: 0.5508 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001335/0.01305, allocations: 68.98 kB / 380.4 MB, free: 480 kB / 346.7 MB Notification: Performance of pre-optimization done (n=5): time 1.182e-06/0.01305, allocations: 0 / 380.4 MB, free: 480 kB / 346.7 MB Notification: Performance of matching and sorting (n=5): time 0.003216/0.01627, allocations: 89.52 kB / 380.5 MB, free: 384 kB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.67e-05/0.01631, allocations: 51.41 kB / 380.5 MB, free: 320 kB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001668/0.01647, allocations: 234.4 kB / 380.8 MB, free: 68 kB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.419e-05/0.01649, allocations: 25.7 kB / 380.8 MB, free: 36 kB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.095e-05/0.01658, allocations: 158.8 kB / 380.9 MB, free: 15.88 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.072e-05/0.01661, allocations: 11.84 kB / 380.9 MB, free: 15.86 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.994e-05/0.01665, allocations: 27.38 kB / 381 MB, free: 15.83 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001263/0.01677, allocations: 0.5001 MB / 381.5 MB, free: 15.32 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.701e-05/0.0168, allocations: 11.92 kB / 381.5 MB, free: 15.3 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.301e-05/0.01683, allocations: 23.38 kB / 381.5 MB, free: 15.27 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.606e-05/0.01689, allocations: 39.36 kB / 381.5 MB, free: 15.23 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.01689, allocations: 256 / 381.5 MB, free: 15.23 MB / 362.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001045/0.017, allocations: 77.58 kB / 381.6 MB, free: 15.14 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.332e-05/0.01701, allocations: 4 kB / 381.6 MB, free: 15.14 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.893e-06/0.01702, allocations: 7.938 kB / 381.6 MB, free: 15.13 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.517e-05/0.01703, allocations: 4.031 kB / 381.6 MB, free: 15.13 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.863e-05/0.0171, allocations: 8 kB / 381.6 MB, free: 15.12 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.03e-06/0.01711, allocations: 0 / 381.6 MB, free: 15.12 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.747e-05/0.01714, allocations: 7.953 kB / 381.7 MB, free: 15.11 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.721e-06/0.01715, allocations: 0 / 381.7 MB, free: 15.11 MB / 362.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: 5 ($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 (7): * Single equations (assignments): 7 * 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.553e-05/0.01724, allocations: 168.5 kB / 381.8 MB, free: 14.94 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.867e-05/0.01725, allocations: 11.95 kB / 381.8 MB, free: 14.93 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001385/0.01739, allocations: 82.77 kB / 381.9 MB, free: 14.84 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.595e-06/0.01739, allocations: 0 / 381.9 MB, free: 14.84 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.07e-06/0.0174, allocations: 4 kB / 381.9 MB, free: 14.84 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.322e-06/0.01741, allocations: 0 / 381.9 MB, free: 14.84 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000188/0.01759, allocations: 144.6 kB / 382.1 MB, free: 14.66 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.0176, allocations: 0 / 382.1 MB, free: 14.66 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.263e-05/0.01762, allocations: 7.984 kB / 382.1 MB, free: 14.65 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/0.01762, allocations: 0 / 382.1 MB, free: 14.65 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.047e-06/0.01763, allocations: 4 kB / 382.1 MB, free: 14.65 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.858e-06/0.01763, allocations: 3.938 kB / 382.1 MB, free: 14.64 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.01763, allocations: 4 kB / 382.1 MB, free: 14.64 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001186/0.01775, allocations: 116.3 kB / 382.2 MB, free: 14.5 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.46e-05/0.01777, allocations: 7.953 kB / 382.2 MB, free: 14.5 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.998e-05/0.01779, allocations: 4 kB / 382.2 MB, free: 14.49 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.682e-05/0.01781, allocations: 12.12 kB / 382.2 MB, free: 14.48 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.363e-05/0.01785, allocations: 3.984 kB / 382.2 MB, free: 14.48 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.394e-05/0.01786, allocations: 8 kB / 382.2 MB, free: 14.47 MB / 362.7 MB Notification: Performance of sorting global known variables: time 8.668e-05/0.01795, allocations: 164.2 kB / 382.4 MB, free: 14.31 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01795, allocations: 3.938 kB / 382.4 MB, free: 14.3 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002157/0.01816, allocations: 23.94 kB / 382.4 MB, free: 14.28 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 4 * 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.003947/0.02211, allocations: 384 kB / 382.8 MB, free: 14.04 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001225/0.02223, allocations: 43.59 kB / 382.8 MB, free: 14 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.02224, allocations: 0 / 382.8 MB, free: 14 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.817e-05/0.02227, allocations: 19.69 kB / 382.8 MB, free: 13.97 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002406/0.02251, allocations: 35.95 kB / 382.9 MB, free: 13.94 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003687/0.02288, allocations: 202.1 kB / 383.1 MB, free: 13.71 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.875e-05/0.02292, allocations: 63.34 kB / 383.1 MB, free: 13.63 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.594e-05/0.02296, allocations: 12.48 kB / 383.2 MB, free: 13.62 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.99e-05/0.02299, allocations: 16.5 kB / 383.2 MB, free: 13.6 MB / 362.7 MB Notification: Performance of SimCode: time 5.82e-07/0.02299, allocations: 0 / 383.2 MB, free: 13.6 MB / 362.7 MB Notification: Performance of Templates: time 0.006941/0.02993, allocations: 1.645 MB / 384.8 MB, free: 11.98 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test39.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test39.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test39.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test39.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test39.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test39 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test39.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test39_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test39/Test39.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.228088276926428]