Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test80.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.001012/0.001012, allocations: 79.59 kB / 21.18 MB, free: 3.387 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.0009907/0.0009907, allocations: 165 kB / 24.56 MB, free: 16 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 1.048/1.048, allocations: 177.1 MB / 205 MB, free: 5.289 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.2717/0.2717, allocations: 34.26 MB / 295.7 MB, free: 0.7227 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.CombiTimeTable.Test80,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|t_new_2.y.[0-9,]+.",fileNamePrefix="ModelicaTest_4.1.0_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_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test80") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.883e-06/1.883e-06, allocations: 0 / 378.1 MB, free: 2.602 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.359e-05/2.548e-05, allocations: 2.312 kB / 378.1 MB, free: 2.598 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test80): time 0.002741/0.002766, allocations: 1.847 MB / 380 MB, free: 0.7383 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001966/0.004733, allocations: 1.8 MB / 381.8 MB, free: 14.93 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.469e-05/0.004827, allocations: 3.938 kB / 381.8 MB, free: 14.93 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003042/0.005132, allocations: 55.62 kB / 381.8 MB, free: 14.87 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004145/0.005546, allocations: 147.2 kB / 382 MB, free: 14.73 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002217/0.005768, allocations: 107.6 kB / 382.1 MB, free: 14.62 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002489/0.006017, allocations: 211.2 kB / 382.3 MB, free: 14.41 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.252e-05/0.006069, allocations: 9.797 kB / 382.3 MB, free: 14.4 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000139/0.006208, allocations: 111.7 kB / 382.4 MB, free: 14.29 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001459/0.006354, allocations: 63.8 kB / 382.5 MB, free: 14.23 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.41e-05/0.006378, allocations: 12 kB / 382.5 MB, free: 14.22 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001702/0.006548, allocations: 103.8 kB / 382.6 MB, free: 14.12 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 6.439e-05/0.006613, allocations: 35.84 kB / 382.6 MB, free: 14.08 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 5.413e-05/0.006667, allocations: 39.84 kB / 382.6 MB, free: 14.04 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000279/0.006946, allocations: 207.2 kB / 382.8 MB, free: 13.84 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.036e-06/0.006949, allocations: 0 / 382.8 MB, free: 13.84 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.575e-06/0.006952, allocations: 0 / 382.8 MB, free: 13.84 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.96e-06/0.006957, allocations: 0 / 382.8 MB, free: 13.84 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.0005499/0.007506, allocations: 0.5148 MB / 383.4 MB, free: 13.29 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.699e-05/0.007543, allocations: 12.03 kB / 383.4 MB, free: 13.28 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.815e-05/0.007621, allocations: 32.78 kB / 383.4 MB, free: 13.25 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002318/0.007853, allocations: 184.3 kB / 383.6 MB, free: 13.04 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.78e-05/0.007871, allocations: 384 / 383.6 MB, free: 13.04 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.522e-05/0.007886, allocations: 8.359 kB / 383.6 MB, free: 13.03 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000189/0.008075, allocations: 173 kB / 383.8 MB, free: 12.82 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.33e-05/0.008089, allocations: 3.938 kB / 383.8 MB, free: 12.82 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.085e-05/0.0081, allocations: 0 / 383.8 MB, free: 12.82 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.134e-06/0.008107, allocations: 0 / 383.8 MB, free: 12.82 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.182e-05/0.008158, allocations: 19.98 kB / 383.8 MB, free: 12.8 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001795/0.008338, allocations: 172.3 kB / 384 MB, free: 12.59 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001455/0.008483, allocations: 98.16 kB / 384 MB, free: 12.47 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.385e-05/0.008527, allocations: 31.36 kB / 384.1 MB, free: 12.43 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.474e-05/0.008542, allocations: 0 / 384.1 MB, free: 12.43 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001437/0.008686, allocations: 120.3 kB / 384.2 MB, free: 12.29 MB / 362.7 MB Notification: Performance of pre-optimization done (n=10): time 7.52e-07/0.008687, allocations: 0 / 384.2 MB, free: 12.29 MB / 362.7 MB Notification: Performance of matching and sorting (n=10): time 0.0002666/0.008953, allocations: 149.8 kB / 384.3 MB, free: 12.14 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.573e-05/0.009009, allocations: 132.5 kB / 384.5 MB, free: 11.98 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002169/0.009226, allocations: 282.7 kB / 384.7 MB, free: 11.68 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.912e-05/0.009245, allocations: 29.7 kB / 384.8 MB, free: 11.65 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.246e-05/0.009307, allocations: 162.9 kB / 384.9 MB, free: 11.48 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.656e-05/0.009344, allocations: 27.78 kB / 385 MB, free: 11.46 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.271e-05/0.009387, allocations: 35.38 kB / 385 MB, free: 11.41 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001186/0.009505, allocations: 0.5001 MB / 385.5 MB, free: 10.9 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.858e-05/0.009544, allocations: 19.98 kB / 385.5 MB, free: 10.88 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.384e-05/0.009618, allocations: 129.4 kB / 385.6 MB, free: 10.72 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.26e-05/0.0097, allocations: 74.77 kB / 385.7 MB, free: 10.63 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.346e-06/0.009704, allocations: 4 kB / 385.7 MB, free: 10.62 MB / 362.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001409/0.009845, allocations: 117.4 kB / 385.8 MB, free: 10.5 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.356e-05/0.009858, allocations: 8 kB / 385.8 MB, free: 10.5 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.791e-06/0.009864, allocations: 3.938 kB / 385.8 MB, free: 10.49 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.583e-05/0.00988, allocations: 3.984 kB / 385.9 MB, free: 10.49 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.684e-05/0.009967, allocations: 20 kB / 385.9 MB, free: 10.47 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.354e-06/0.009974, allocations: 11.98 kB / 385.9 MB, free: 10.46 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.936e-05/0.01002, allocations: 11.98 kB / 385.9 MB, free: 10.45 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.185e-06/0.01003, allocations: 4 kB / 385.9 MB, free: 10.44 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 8.847e-05/0.01012, allocations: 164.6 kB / 386.1 MB, free: 10.27 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.842e-05/0.01015, allocations: 23.86 kB / 386.1 MB, free: 10.25 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001911/0.01034, allocations: 142.9 kB / 386.2 MB, free: 10.11 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.336e-06/0.01034, allocations: 4 kB / 386.2 MB, free: 10.1 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/0.01035, allocations: 0 / 386.2 MB, free: 10.1 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.32e-06/0.01035, allocations: 3.984 kB / 386.2 MB, free: 10.1 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002639/0.01062, allocations: 176.5 kB / 386.4 MB, free: 9.891 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.853e-06/0.01062, allocations: 0 / 386.4 MB, free: 9.891 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.192e-05/0.01065, allocations: 11.98 kB / 386.4 MB, free: 9.879 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.405e-06/0.01065, allocations: 0 / 386.4 MB, free: 9.879 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.053e-05/0.01066, allocations: 7.984 kB / 386.4 MB, free: 9.871 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.434e-06/0.01066, allocations: 3.938 kB / 386.4 MB, free: 9.867 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.825e-06/0.01067, allocations: 3.938 kB / 386.4 MB, free: 9.863 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001664/0.01083, allocations: 183.9 kB / 386.6 MB, free: 9.656 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.679e-05/0.01086, allocations: 19.89 kB / 386.6 MB, free: 9.637 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.74e-05/0.01089, allocations: 8 kB / 386.6 MB, free: 9.629 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.154e-05/0.01093, allocations: 3.938 kB / 386.6 MB, free: 9.625 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.162e-05/0.01098, allocations: 19.98 kB / 386.7 MB, free: 9.605 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.205e-05/0.011, allocations: 7.984 kB / 386.7 MB, free: 9.598 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001453/0.01115, allocations: 201.8 kB / 386.9 MB, free: 9.402 MB / 362.7 MB Notification: Performance of sort global known variables: time 1e-07/0.01115, allocations: 0 / 386.9 MB, free: 9.402 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002147/0.01136, allocations: 51.88 kB / 386.9 MB, free: 9.352 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.001123/0.01249, allocations: 0.4943 MB / 387.4 MB, free: 9.035 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001593/0.01265, allocations: 75.52 kB / 387.5 MB, free: 8.957 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.01265, allocations: 0 / 387.5 MB, free: 8.957 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 5.228e-05/0.0127, allocations: 47.55 kB / 387.5 MB, free: 8.906 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000244/0.01294, allocations: 60.39 kB / 387.6 MB, free: 8.852 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004399/0.01338, allocations: 286.4 kB / 387.9 MB, free: 8.535 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.011e-05/0.01342, allocations: 79.98 kB / 387.9 MB, free: 8.438 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 6.253e-05/0.01349, allocations: 33.95 kB / 388 MB, free: 8.406 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.902e-05/0.01354, allocations: 28.48 kB / 388 MB, free: 8.379 MB / 362.7 MB Notification: Performance of SimCode: time 6.62e-07/0.01354, allocations: 0 / 388 MB, free: 8.379 MB / 362.7 MB Notification: Performance of Templates: time 0.005464/0.019, allocations: 3.422 MB / 391.4 MB, free: 5.004 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test80.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test80.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test80.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test80.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test80.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test80 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test80.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_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.458077092189342]