Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test67.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.001319/0.001319, allocations: 83.69 kB / 21.18 MB, free: 3.395 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.001356/0.001356, allocations: 165 kB / 24.56 MB, free: 24 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.9801/0.9801, allocations: 177.1 MB / 205 MB, free: 5.266 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.2717/0.2717, allocations: 32.8 MB / 294.3 MB, free: 1.16 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.Test67,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_s.y.[0-9,]+.|d_t_s.y|t_min.y.[0-9,]+.|d_t_min.y|t_h.y.[0-9,]+.|d_t_h.y|t_d.y.[0-9,]+.|d_t_d.y|t_ms.y.[0-9,]+.|d_t_ms.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test67") translateModel(ModelicaTest.Tables.CombiTimeTable.Test67,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_s.y.[0-9,]+.|d_t_s.y|t_min.y.[0-9,]+.|d_t_min.y|t_h.y.[0-9,]+.|d_t_h.y|t_d.y.[0-9,]+.|d_t_d.y|t_ms.y.[0-9,]+.|d_t_ms.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test67") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.963e-06/1.963e-06, allocations: 0 / 376.1 MB, free: 4.598 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.056e-05/3.252e-05, allocations: 6.25 kB / 376.1 MB, free: 4.59 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test67): time 0.003832/0.003865, allocations: 2.339 MB / 378.4 MB, free: 2.234 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002305/0.00617, allocations: 1.387 MB / 379.8 MB, free: 0.8438 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001621/0.006332, allocations: 7.938 kB / 379.8 MB, free: 0.8359 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005571/0.006889, allocations: 286.8 kB / 380.1 MB, free: 0.5547 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006356/0.007524, allocations: 350.4 kB / 380.5 MB, free: 216 kB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004388/0.007963, allocations: 223.5 kB / 380.7 MB, free: 15.99 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005875/0.008551, allocations: 0.5761 MB / 381.2 MB, free: 15.41 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001337/0.008684, allocations: 33.27 kB / 381.3 MB, free: 15.38 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000342/0.009026, allocations: 303.2 kB / 381.6 MB, free: 15.08 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002901/0.009317, allocations: 255.4 kB / 381.8 MB, free: 14.83 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 4.525e-05/0.009362, allocations: 24 kB / 381.8 MB, free: 14.81 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001252/0.009487, allocations: 59.92 kB / 381.9 MB, free: 14.75 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001309/0.009618, allocations: 127.5 kB / 382 MB, free: 14.62 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001126/0.00973, allocations: 95.58 kB / 382.1 MB, free: 14.53 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003962/0.01013, allocations: 334.5 kB / 382.5 MB, free: 14.2 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.194e-06/0.01013, allocations: 0 / 382.5 MB, free: 14.2 MB / 362.7 MB Notification: Performance of FrontEnd: time 6.61e-07/0.01013, allocations: 0 / 382.5 MB, free: 14.2 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.721e-06/0.01014, allocations: 0 / 382.5 MB, free: 14.2 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: 30 * Number of variables: 30 Notification: Performance of Generate backend data structure: time 0.0009744/0.01111, allocations: 0.8379 MB / 383.3 MB, free: 13.32 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.58e-05/0.01115, allocations: 11.98 kB / 383.3 MB, free: 13.31 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001164/0.01126, allocations: 68.56 kB / 383.4 MB, free: 13.25 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004514/0.01171, allocations: 351.2 kB / 383.7 MB, free: 12.88 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.761e-05/0.01174, allocations: 12.36 kB / 383.7 MB, free: 12.86 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.514e-05/0.01178, allocations: 16.38 kB / 383.7 MB, free: 12.85 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003358/0.01211, allocations: 209.7 kB / 383.9 MB, free: 12.61 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.828e-05/0.01213, allocations: 7.938 kB / 384 MB, free: 12.61 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.854e-05/0.01215, allocations: 4 kB / 384 MB, free: 12.6 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.081e-05/0.01216, allocations: 4 kB / 384 MB, free: 12.6 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001455/0.0123, allocations: 63.88 kB / 384 MB, free: 12.54 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008252/0.01313, allocations: 1.019 MB / 385 MB, free: 11.46 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003617/0.01349, allocations: 271.7 kB / 385.3 MB, free: 11.13 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000115/0.01361, allocations: 82.41 kB / 385.4 MB, free: 11.03 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.824e-05/0.01362, allocations: 8 kB / 385.4 MB, free: 11.02 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002827/0.01391, allocations: 215.2 kB / 385.6 MB, free: 10.78 MB / 362.7 MB Notification: Performance of pre-optimization done (n=30): time 1.593e-06/0.01391, allocations: 0 / 385.6 MB, free: 10.78 MB / 362.7 MB Notification: Performance of matching and sorting (n=40): time 0.001505/0.01541, allocations: 0.9505 MB / 386.6 MB, free: 9.816 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.679e-05/0.01549, allocations: 166.2 kB / 386.7 MB, free: 9.617 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005767/0.01607, allocations: 0.5807 MB / 387.3 MB, free: 9.02 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.885e-05/0.0161, allocations: 41.64 kB / 387.3 MB, free: 8.973 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001847/0.01628, allocations: 299.8 kB / 387.6 MB, free: 8.676 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001011/0.01638, allocations: 119 kB / 387.7 MB, free: 8.559 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003111/0.01949, allocations: 79.84 kB / 387.8 MB, free: 8.473 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001873/0.01968, allocations: 0.5508 MB / 388.4 MB, free: 7.91 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000128/0.01981, allocations: 64.95 kB / 388.4 MB, free: 7.848 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000184/0.01999, allocations: 169.8 kB / 388.6 MB, free: 7.641 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003139/0.02031, allocations: 249.1 kB / 388.8 MB, free: 7.355 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.02031, allocations: 1.875 kB / 388.9 MB, free: 7.355 MB / 362.7 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.000506/0.02082, allocations: 352.9 kB / 389.2 MB, free: 7.004 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.688e-05/0.02083, allocations: 5.406 kB / 389.2 MB, free: 7 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.484e-06/0.02084, allocations: 4 kB / 389.2 MB, free: 6.996 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.932e-05/0.02086, allocations: 12.09 kB / 389.2 MB, free: 6.984 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00025/0.02111, allocations: 87.83 kB / 389.3 MB, free: 6.898 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.636e-06/0.02112, allocations: 4 kB / 389.3 MB, free: 6.895 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001487/0.02127, allocations: 19.95 kB / 389.3 MB, free: 6.875 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.543e-05/0.02129, allocations: 15.98 kB / 389.3 MB, free: 6.859 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 25 ($PRE.t_s.nextTimeEvent,$whenCondition5,t_s.nextTimeEventScaled,$PRE.t_s.nextTimeEventScaled,t_s.nextTimeEvent,$PRE.t_min.nextTimeEvent,$whenCondition4,t_min.nextTimeEventScaled,$PRE.t_min.nextTimeEventScaled,t_min.nextTimeEvent,$PRE.t_h.nextTimeEvent,$whenCondition3,t_h.nextTimeEventScaled,$PRE.t_h.nextTimeEventScaled,t_h.nextTimeEvent,$PRE.t_d.nextTimeEvent,$whenCondition2,t_d.nextTimeEventScaled,$PRE.t_d.nextTimeEventScaled,t_d.nextTimeEvent,$PRE.t_ms.nextTimeEvent,$whenCondition1,t_ms.nextTimeEventScaled,$PRE.t_ms.nextTimeEventScaled,t_ms.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (50): * Single equations (assignments): 50 * 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.0001486/0.02144, allocations: 195.1 kB / 389.5 MB, free: 6.656 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001011/0.02154, allocations: 79.55 kB / 389.6 MB, free: 6.578 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006353/0.02218, allocations: 402.1 kB / 390 MB, free: 6.176 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.197e-06/0.02219, allocations: 11.94 kB / 390 MB, free: 6.164 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.409e-06/0.02219, allocations: 4 kB / 390 MB, free: 6.16 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.829e-06/0.0222, allocations: 11.97 kB / 390 MB, free: 6.148 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004344/0.02654, allocations: 1.394 MB / 391.4 MB, free: 4.688 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.079e-06/0.02655, allocations: 4 kB / 391.4 MB, free: 4.684 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001435/0.02669, allocations: 63.84 kB / 391.5 MB, free: 4.621 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.232e-06/0.0267, allocations: 4 kB / 391.5 MB, free: 4.617 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.839e-05/0.02673, allocations: 24.14 kB / 391.5 MB, free: 4.594 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.501e-06/0.02673, allocations: 4.391 kB / 391.5 MB, free: 4.59 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.844e-06/0.02673, allocations: 0 / 391.5 MB, free: 4.59 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007459/0.02748, allocations: 1.034 MB / 392.6 MB, free: 3.508 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.105e-05/0.02754, allocations: 55.56 kB / 392.6 MB, free: 3.453 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.329e-05/0.0276, allocations: 16 kB / 392.6 MB, free: 3.438 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003033/0.02791, allocations: 15.98 kB / 392.6 MB, free: 3.422 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.951e-05/0.02798, allocations: 47.81 kB / 392.7 MB, free: 3.375 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.559e-05/0.02801, allocations: 23.98 kB / 392.7 MB, free: 3.352 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.003395/0.03141, allocations: 402.7 kB / 393.1 MB, free: 2.961 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.01e-07/0.03141, allocations: 0 / 393.1 MB, free: 2.961 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0005798/0.03199, allocations: 87.94 kB / 393.2 MB, free: 2.875 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition1,t_ms.nextTimeEvent,t_ms.nextTimeEventScaled,$whenCondition2,t_d.nextTimeEvent,t_d.nextTimeEventScaled,$whenCondition3,t_h.nextTimeEvent,t_h.nextTimeEventScaled,$whenCondition4,t_min.nextTimeEvent,t_min.nextTimeEventScaled,$whenCondition5,t_s.nextTimeEvent,t_s.nextTimeEventScaled) * Number of discrete states: 10 (t_s.nextTimeEvent,t_s.nextTimeEventScaled,t_min.nextTimeEvent,t_min.nextTimeEventScaled,t_h.nextTimeEvent,t_h.nextTimeEventScaled,t_d.nextTimeEvent,t_d.nextTimeEventScaled,t_ms.nextTimeEvent,t_ms.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (45): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * 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.001191/0.03318, allocations: 465 kB / 393.6 MB, free: 2.578 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003987/0.03358, allocations: 228.1 kB / 393.9 MB, free: 2.352 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.637e-06/0.03358, allocations: 4.312 kB / 393.9 MB, free: 2.348 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001989/0.03378, allocations: 140.4 kB / 394 MB, free: 2.207 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003962/0.03774, allocations: 158.2 kB / 394.2 MB, free: 2.066 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0016/0.03934, allocations: 0.8748 MB / 395 MB, free: 1.121 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001302/0.03947, allocations: 137.9 kB / 395.2 MB, free: 0.9648 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001858/0.03966, allocations: 79.39 kB / 395.3 MB, free: 0.8867 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001198/0.03978, allocations: 56.47 kB / 395.3 MB, free: 0.832 MB / 362.7 MB Notification: Performance of SimCode: time 7.11e-07/0.03978, allocations: 0 / 395.3 MB, free: 0.832 MB / 362.7 MB Notification: Performance of Templates: time 0.02253/0.0623, allocations: 6.744 MB / 402 MB, free: 10.21 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test67.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test67.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test67.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test67.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test67.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test67 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test67.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test67_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test67/Test67.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.1420736582949758]