Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test85.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.0009776/0.0009776, allocations: 82.64 kB / 21.44 MB, free: 3.059 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.002008/0.002008, allocations: 168.6 kB / 24.84 MB, free: 9.297 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.006/1.006, allocations: 158.6 MB / 186.7 MB, free: 2.762 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1571/0.1571, allocations: 32.38 MB / 271.5 MB, free: 14.52 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Test85,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test85") translateModel(ModelicaTest.Tables.CombiTimeTable.Test85,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test85") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.134e-06/2.134e-06, allocations: 0 / 349 MB, free: 9.09 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.182e-05/3.395e-05, allocations: 6.25 kB / 349 MB, free: 9.082 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test85): time 0.003579/0.003613, allocations: 1.69 MB / 350.7 MB, free: 7.383 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001167/0.00478, allocations: 0.7687 MB / 351.4 MB, free: 6.605 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.713e-05/0.004867, allocations: 4 kB / 351.5 MB, free: 6.602 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003605/0.005227, allocations: 51.73 kB / 351.5 MB, free: 6.551 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002786/0.005506, allocations: 55.75 kB / 351.6 MB, free: 6.496 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002005/0.005706, allocations: 87.7 kB / 351.6 MB, free: 6.41 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001732/0.00588, allocations: 107.6 kB / 351.7 MB, free: 6.305 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.731e-05/0.005927, allocations: 0 / 351.7 MB, free: 6.305 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001059/0.006033, allocations: 51.88 kB / 351.8 MB, free: 6.254 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000123/0.006156, allocations: 35.91 kB / 351.8 MB, free: 6.219 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.39e-05/0.00618, allocations: 11.92 kB / 351.8 MB, free: 6.207 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.674e-05/0.006276, allocations: 31.94 kB / 351.9 MB, free: 6.176 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 7.266e-05/0.006349, allocations: 15.92 kB / 351.9 MB, free: 6.16 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 5.243e-05/0.006402, allocations: 19.92 kB / 351.9 MB, free: 6.141 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002387/0.00664, allocations: 79.67 kB / 352 MB, free: 6.062 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.896e-06/0.006643, allocations: 4 kB / 352 MB, free: 6.059 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.613e-06/0.006645, allocations: 4 kB / 352 MB, free: 6.055 MB / 282.7 MB Notification: Performance of Transformations before backend: time 6.652e-06/0.006651, allocations: 0 / 352 MB, free: 6.055 MB / 282.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.0005592/0.007211, allocations: 424 kB / 352.4 MB, free: 5.605 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.998e-05/0.007261, allocations: 12.03 kB / 352.4 MB, free: 5.594 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.1e-05/0.007312, allocations: 12.84 kB / 352.4 MB, free: 5.582 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001841/0.007496, allocations: 148.2 kB / 352.6 MB, free: 5.41 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.436e-05/0.00752, allocations: 8.359 kB / 352.6 MB, free: 5.402 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.198e-05/0.007532, allocations: 4.375 kB / 352.6 MB, free: 5.398 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001459/0.007678, allocations: 50.95 kB / 352.6 MB, free: 5.34 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.358e-05/0.007692, allocations: 3.938 kB / 352.6 MB, free: 5.336 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.998e-06/0.007702, allocations: 7.984 kB / 352.7 MB, free: 5.328 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.133e-06/0.007709, allocations: 0 / 352.7 MB, free: 5.328 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.51e-05/0.007744, allocations: 8 kB / 352.7 MB, free: 5.32 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001482/0.007892, allocations: 109.2 kB / 352.8 MB, free: 5.188 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001291/0.008021, allocations: 47.08 kB / 352.8 MB, free: 5.129 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.91e-05/0.00807, allocations: 15.69 kB / 352.8 MB, free: 5.109 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.149e-05/0.008092, allocations: 8 kB / 352.8 MB, free: 5.102 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001239/0.008216, allocations: 61.03 kB / 352.9 MB, free: 5.027 MB / 282.7 MB Notification: Performance of pre-optimization done (n=5): time 1.342e-06/0.008217, allocations: 4 kB / 352.9 MB, free: 5.023 MB / 282.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002165/0.008433, allocations: 85.5 kB / 353 MB, free: 4.934 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.552e-05/0.008469, allocations: 55.41 kB / 353 MB, free: 4.867 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001055/0.008574, allocations: 214.9 kB / 353.3 MB, free: 4.641 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.174e-05/0.008586, allocations: 25.7 kB / 353.3 MB, free: 4.609 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.85e-05/0.008625, allocations: 150.8 kB / 353.4 MB, free: 4.457 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.645e-05/0.008661, allocations: 15.84 kB / 353.4 MB, free: 4.441 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.157e-05/0.008693, allocations: 23.38 kB / 353.5 MB, free: 4.41 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001196/0.008812, allocations: 0.4962 MB / 354 MB, free: 3.902 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.667e-05/0.008829, allocations: 4 kB / 354 MB, free: 3.898 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.531e-05/0.008864, allocations: 31.36 kB / 354 MB, free: 3.859 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.928e-05/0.008924, allocations: 39.25 kB / 354 MB, free: 3.812 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/0.008927, allocations: 0 / 354 MB, free: 3.812 MB / 282.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001388/0.009066, allocations: 61.64 kB / 354.1 MB, free: 3.746 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.761e-05/0.009083, allocations: 4 kB / 354.1 MB, free: 3.742 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.254e-06/0.00909, allocations: 4 kB / 354.1 MB, free: 3.738 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.634e-05/0.009107, allocations: 7.922 kB / 354.1 MB, free: 3.73 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.88e-05/0.009176, allocations: 15.94 kB / 354.1 MB, free: 3.715 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.819e-06/0.00918, allocations: 0 / 354.1 MB, free: 3.715 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.262e-05/0.009213, allocations: 15.97 kB / 354.1 MB, free: 3.699 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.74e-06/0.009219, allocations: 0 / 354.1 MB, free: 3.699 MB / 282.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 6.166e-05/0.00928, allocations: 164.5 kB / 354.3 MB, free: 3.527 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.419e-05/0.009295, allocations: 15.95 kB / 354.3 MB, free: 3.512 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001099/0.009404, allocations: 74.61 kB / 354.4 MB, free: 3.434 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.999e-06/0.009409, allocations: 7.938 kB / 354.4 MB, free: 3.426 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.765e-06/0.009412, allocations: 0 / 354.4 MB, free: 3.426 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.789e-06/0.009417, allocations: 0 / 354.4 MB, free: 3.426 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.07e-05/0.009508, allocations: 117.2 kB / 354.5 MB, free: 3.285 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.009509, allocations: 0 / 354.5 MB, free: 3.285 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.518e-05/0.009524, allocations: 8 kB / 354.5 MB, free: 3.277 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.303e-06/0.009525, allocations: 0 / 354.5 MB, free: 3.277 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.032e-06/0.009531, allocations: 3.984 kB / 354.5 MB, free: 3.273 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.009533, allocations: 4 kB / 354.5 MB, free: 3.27 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.009535, allocations: 3.984 kB / 354.5 MB, free: 3.266 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.576e-05/0.00961, allocations: 112.3 kB / 354.6 MB, free: 3.133 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.361e-05/0.009624, allocations: 11.94 kB / 354.6 MB, free: 3.121 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.522e-05/0.009639, allocations: 0 / 354.6 MB, free: 3.121 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.938e-05/0.009659, allocations: 4 kB / 354.7 MB, free: 3.117 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.816e-05/0.009687, allocations: 7.938 kB / 354.7 MB, free: 3.109 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.131e-05/0.009698, allocations: 7.922 kB / 354.7 MB, free: 3.102 MB / 282.7 MB Notification: Performance of sorting global known variables: time 4.234e-05/0.00974, allocations: 159.1 kB / 354.8 MB, free: 2.945 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.00974, allocations: 4 kB / 354.8 MB, free: 2.941 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001519/0.009892, allocations: 15.94 kB / 354.8 MB, free: 2.926 MB / 282.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.0008489/0.01074, allocations: 388.1 kB / 355.2 MB, free: 2.633 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 9.763e-05/0.01084, allocations: 31.67 kB / 355.3 MB, free: 2.598 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.472e-06/0.01084, allocations: 0 / 355.3 MB, free: 2.598 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.91e-05/0.01088, allocations: 23.61 kB / 355.3 MB, free: 2.57 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001957/0.01108, allocations: 37.22 kB / 355.3 MB, free: 2.535 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002836/0.01136, allocations: 177.5 kB / 355.5 MB, free: 2.336 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.106e-05/0.01139, allocations: 71.28 kB / 355.6 MB, free: 2.246 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.147e-05/0.01142, allocations: 20.78 kB / 355.6 MB, free: 2.227 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.863e-05/0.01148, allocations: 82.19 kB / 355.7 MB, free: 2.145 MB / 282.7 MB Notification: Performance of SimCode: time 8.12e-07/0.01148, allocations: 0 / 355.7 MB, free: 2.145 MB / 282.7 MB Notification: Performance of Templates: time 0.003422/0.0149, allocations: 1.769 MB / 357.4 MB, free: 396 kB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test85.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test85.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test85.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test85.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test85.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test85 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test85.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test85_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test85/Test85.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.4826336009427905]