Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test20.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001542/0.001542, allocations: 107.9 kB / 19.8 MB, free: 2.5 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001809/0.001809, allocations: 190.3 kB / 22.97 MB, free: 5.586 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.475/1.475, allocations: 225.6 MB / 251.6 MB, free: 13.32 MB / 206.1 MB " [Timeout remaining time 178] 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.2332/0.2332, allocations: 44.92 MB / 351.6 MB, free: 12.21 MB / 286.1 MB " [Timeout remaining time 179] 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test20") translateModel(ModelicaTest.Tables.CombiTimeTable.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test20") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001937/0.001937, allocations: 71.88 kB / 495.3 MB, free: 1.758 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3587/0.3607, allocations: 64.26 MB / 0.5465 GB, free: 13.18 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test20): time 0.00338/0.3641, allocations: 1.724 MB / 0.5482 GB, free: 11.83 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001601/0.3657, allocations: 0.8962 MB / 0.549 GB, free: 11.14 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.762e-05/0.3657, allocations: 0 / 0.549 GB, free: 11.14 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003044/0.366, allocations: 40.33 kB / 0.5491 GB, free: 11.11 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002373/0.3663, allocations: 61.78 kB / 0.5491 GB, free: 11.07 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003177/0.3666, allocations: 103.4 kB / 0.5492 GB, free: 11 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001782/0.3668, allocations: 102.1 kB / 0.5493 GB, free: 10.93 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001102/0.3669, allocations: 11.98 kB / 0.5493 GB, free: 10.92 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001095/0.367, allocations: 43.81 kB / 0.5494 GB, free: 10.89 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.61e-05/0.3671, allocations: 30.5 kB / 0.5494 GB, free: 10.88 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.019e-05/0.3671, allocations: 3 kB / 0.5494 GB, free: 10.88 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001121/0.3672, allocations: 42.73 kB / 0.5495 GB, free: 10.86 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.511e-05/0.3673, allocations: 18.86 kB / 0.5495 GB, free: 10.85 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.858e-05/0.3673, allocations: 35.27 kB / 0.5495 GB, free: 10.82 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002467/0.3676, allocations: 114.5 kB / 0.5496 GB, free: 10.75 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.3676, allocations: 0 / 0.5496 GB, free: 10.75 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.114e-06/0.3676, allocations: 1.219 kB / 0.5496 GB, free: 10.75 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.851e-06/0.3676, allocations: 0 / 0.5496 GB, free: 10.75 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0006079/0.3682, allocations: 418.6 kB / 0.55 GB, free: 10.32 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.267e-05/0.3682, allocations: 9.531 kB / 0.55 GB, free: 10.32 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.433e-05/0.3683, allocations: 14.48 kB / 0.55 GB, free: 10.32 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003479/0.3686, allocations: 211.9 kB / 0.5502 GB, free: 10.09 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.405e-05/0.3687, allocations: 1.438 kB / 0.5502 GB, free: 10.09 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.385e-05/0.3687, allocations: 6.719 kB / 0.5503 GB, free: 10.08 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001666/0.3688, allocations: 57.98 kB / 0.5503 GB, free: 10.03 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.279e-05/0.3689, allocations: 0 / 0.5503 GB, free: 10.03 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.27e-05/0.3689, allocations: 5.344 kB / 0.5503 GB, free: 10.03 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.389e-06/0.3689, allocations: 0 / 0.5503 GB, free: 10.03 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.887e-05/0.369, allocations: 19.2 kB / 0.5503 GB, free: 10.02 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004121/0.3694, allocations: 289 kB / 0.5506 GB, free: 9.707 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001783/0.3695, allocations: 60.67 kB / 0.5507 GB, free: 9.66 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.545e-05/0.3696, allocations: 24.97 kB / 0.5507 GB, free: 9.641 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.982e-05/0.3696, allocations: 1.438 kB / 0.5507 GB, free: 9.641 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001579/0.3698, allocations: 64.73 kB / 0.5507 GB, free: 9.578 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.283e-06/0.3698, allocations: 0 / 0.5507 GB, free: 9.578 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005763/0.3704, allocations: 173.4 kB / 0.5509 GB, free: 9.477 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.399e-05/0.3704, allocations: 52.97 kB / 0.551 GB, free: 9.414 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002114/0.3706, allocations: 188.2 kB / 0.5511 GB, free: 9.273 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.153e-05/0.3707, allocations: 27.08 kB / 0.5512 GB, free: 9.242 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.059e-05/0.3707, allocations: 100.5 kB / 0.5513 GB, free: 9.145 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.68e-05/0.3708, allocations: 26.91 kB / 0.5513 GB, free: 9.121 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.369e-05/0.3708, allocations: 25.56 kB / 0.5513 GB, free: 9.098 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001645/0.371, allocations: 325.6 kB / 0.5516 GB, free: 8.773 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.206e-05/0.371, allocations: 22.95 kB / 0.5516 GB, free: 8.762 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.568e-05/0.3711, allocations: 47.67 kB / 0.5517 GB, free: 8.723 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001169/0.3712, allocations: 50.09 kB / 0.5517 GB, free: 8.691 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.22e-07/0.3712, allocations: 1.094 kB / 0.5517 GB, free: 8.691 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000208/0.3714, allocations: 107.3 kB / 0.5518 GB, free: 8.621 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.008e-05/0.3715, allocations: 5.094 kB / 0.5519 GB, free: 8.621 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.963e-06/0.3715, allocations: 1.062 kB / 0.5519 GB, free: 8.621 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.933e-05/0.3715, allocations: 1.125 kB / 0.5519 GB, free: 8.621 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001003/0.3716, allocations: 16.8 kB / 0.5519 GB, free: 8.617 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.271e-06/0.3716, allocations: 5.219 kB / 0.5519 GB, free: 8.613 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.762e-05/0.3716, allocations: 6.656 kB / 0.5519 GB, free: 8.609 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.219e-05/0.3717, allocations: 6.359 kB / 0.5519 GB, free: 8.605 MB / 398.1 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 (10): * Single equations (assignments): 10 * 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.0001214/0.3718, allocations: 130.3 kB / 0.552 GB, free: 8.477 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.596e-05/0.3718, allocations: 17.44 kB / 0.552 GB, free: 8.465 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002623/0.3721, allocations: 115.8 kB / 0.5521 GB, free: 8.391 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.687e-06/0.3721, allocations: 1.219 kB / 0.5521 GB, free: 8.391 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.222e-06/0.3721, allocations: 4 kB / 0.5521 GB, free: 8.387 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.941e-06/0.3721, allocations: 7.938 kB / 0.5521 GB, free: 8.379 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004921/0.3726, allocations: 389.2 kB / 0.5525 GB, free: 8 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.3726, allocations: 1.469 kB / 0.5525 GB, free: 8 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.077e-05/0.3726, allocations: 7.25 kB / 0.5525 GB, free: 8 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.006e-06/0.3726, allocations: 1.438 kB / 0.5525 GB, free: 8 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.528e-05/0.3726, allocations: 9.406 kB / 0.5525 GB, free: 7.992 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.408e-06/0.3726, allocations: 5.453 kB / 0.5525 GB, free: 7.988 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.3726, allocations: 3.938 kB / 0.5525 GB, free: 7.984 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000237/0.3729, allocations: 196.8 kB / 0.5527 GB, free: 7.816 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.674e-05/0.3729, allocations: 87.92 kB / 0.5528 GB, free: 7.715 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.819e-05/0.373, allocations: 9.031 kB / 0.5528 GB, free: 7.707 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.844e-05/0.373, allocations: 2.656 kB / 0.5528 GB, free: 7.707 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.762e-05/0.3731, allocations: 7.297 kB / 0.5528 GB, free: 7.703 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.85e-05/0.3731, allocations: 3.281 kB / 0.5528 GB, free: 7.703 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001362/0.3732, allocations: 153.9 kB / 0.553 GB, free: 7.59 MB / 398.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3732, allocations: 0 / 0.553 GB, free: 7.59 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002679/0.3735, allocations: 19.97 kB / 0.553 GB, free: 7.586 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 6 * 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.001784/0.3753, allocations: 479.5 kB / 0.5535 GB, free: 7.355 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001982/0.3755, allocations: 51.47 kB / 0.5535 GB, free: 7.336 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.3755, allocations: 1.219 kB / 0.5535 GB, free: 7.336 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.929e-05/0.3756, allocations: 30.92 kB / 0.5535 GB, free: 7.32 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003471/0.3759, allocations: 27.72 kB / 0.5536 GB, free: 7.312 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005246/0.3764, allocations: 246.9 kB / 0.5538 GB, free: 7.113 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003696/0.3768, allocations: 0.7087 MB / 0.5545 GB, free: 6.398 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.669e-05/0.3769, allocations: 14.59 kB / 0.5545 GB, free: 6.395 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.658e-05/0.3769, allocations: 18.89 kB / 0.5545 GB, free: 6.383 MB / 398.1 MB Notification: Performance of SimCode: time 7.02e-07/0.3769, allocations: 0 / 0.5545 GB, free: 6.383 MB / 398.1 MB Notification: Performance of Templates: time 0.005449/0.3824, allocations: 1.72 MB / 0.5562 GB, free: 5.508 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test20.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test20.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test20.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test20.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test20.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test20 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test20.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test20_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test20/Test20.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.295925748534501]