Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18.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.001352/0.001352, allocations: 109.8 kB / 21.1 MB, free: 0.7617 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.001488/0.001488, allocations: 187.9 kB / 24.36 MB, free: 4.207 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.433/1.433, allocations: 225.6 MB / 253 MB, free: 13.06 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.2232/0.2232, allocations: 44.92 MB / 353.2 MB, free: 11.86 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.CombiTable1Dv.Test18,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test18,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002266/0.002266, allocations: 63.89 kB / 497.3 MB, free: 1.117 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.342/0.3442, allocations: 64.28 MB / 0.5484 GB, free: 13.12 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test18): time 0.003102/0.3473, allocations: 1.619 MB / 0.55 GB, free: 11.86 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001657/0.349, allocations: 1.129 MB / 0.5511 GB, free: 10.98 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.512e-05/0.349, allocations: 1.375 kB / 0.5511 GB, free: 10.98 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001951/0.3492, allocations: 19.98 kB / 0.5511 GB, free: 10.96 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001904/0.3494, allocations: 44.16 kB / 0.5512 GB, free: 10.93 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002857/0.3497, allocations: 122.7 kB / 0.5513 GB, free: 10.85 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001434/0.3498, allocations: 78.94 kB / 0.5514 GB, free: 10.8 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.2e-05/0.3499, allocations: 18.94 kB / 0.5514 GB, free: 10.79 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.882e-05/0.35, allocations: 25.95 kB / 0.5514 GB, free: 10.77 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001006/0.3501, allocations: 32.02 kB / 0.5514 GB, free: 10.75 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.514e-05/0.3501, allocations: 4.25 kB / 0.5515 GB, free: 10.75 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.62e-05/0.3502, allocations: 50.48 kB / 0.5515 GB, free: 10.73 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.6e-05/0.3502, allocations: 16.61 kB / 0.5515 GB, free: 10.72 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.268e-05/0.3503, allocations: 29.86 kB / 0.5515 GB, free: 10.7 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002193/0.3505, allocations: 100.4 kB / 0.5516 GB, free: 10.63 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.117e-06/0.3505, allocations: 0 / 0.5516 GB, free: 10.63 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.3505, allocations: 4 kB / 0.5516 GB, free: 10.63 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.063e-05/0.3505, allocations: 0 / 0.5516 GB, free: 10.63 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005435/0.3511, allocations: 318.2 kB / 0.5519 GB, free: 10.31 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.746e-05/0.3511, allocations: 10.58 kB / 0.552 GB, free: 10.31 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.222e-05/0.3511, allocations: 9.234 kB / 0.552 GB, free: 10.31 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002108/0.3514, allocations: 132.2 kB / 0.5521 GB, free: 10.16 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.36e-05/0.3514, allocations: 5.875 kB / 0.5521 GB, free: 10.16 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.013e-05/0.3514, allocations: 6.469 kB / 0.5521 GB, free: 10.16 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001996/0.3516, allocations: 83.86 kB / 0.5522 GB, free: 10.08 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.377e-05/0.3516, allocations: 0 / 0.5522 GB, free: 10.08 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.09e-05/0.3516, allocations: 1.094 kB / 0.5522 GB, free: 10.08 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.969e-06/0.3516, allocations: 1.062 kB / 0.5522 GB, free: 10.08 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001164/0.3517, allocations: 35.66 kB / 0.5522 GB, free: 10.07 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004497/0.3522, allocations: 276.1 kB / 0.5525 GB, free: 9.785 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001354/0.3523, allocations: 55.53 kB / 0.5525 GB, free: 9.742 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.977e-05/0.3524, allocations: 26.41 kB / 0.5526 GB, free: 9.723 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.384e-05/0.3524, allocations: 1.25 kB / 0.5526 GB, free: 9.723 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.926e-05/0.3524, allocations: 31.81 kB / 0.5526 GB, free: 9.684 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 9.72e-07/0.3524, allocations: 0 / 0.5526 GB, free: 9.684 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006896/0.3531, allocations: 203.6 kB / 0.5528 GB, free: 9.562 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.584e-05/0.3532, allocations: 78.55 kB / 0.5529 GB, free: 9.469 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001449/0.3533, allocations: 138.6 kB / 0.553 GB, free: 9.348 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.9e-05/0.3534, allocations: 26.8 kB / 0.553 GB, free: 9.316 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.2e-05/0.3534, allocations: 99.45 kB / 0.5531 GB, free: 9.219 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.118e-05/0.3535, allocations: 27.12 kB / 0.5531 GB, free: 9.195 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.391e-05/0.3535, allocations: 24.45 kB / 0.5532 GB, free: 9.172 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001477/0.3537, allocations: 325.2 kB / 0.5535 GB, free: 8.848 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001002/0.3538, allocations: 31.88 kB / 0.5535 GB, free: 8.832 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.144e-05/0.3538, allocations: 40.12 kB / 0.5535 GB, free: 8.805 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000168/0.354, allocations: 69.69 kB / 0.5536 GB, free: 8.77 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.52e-07/0.354, allocations: 0 / 0.5536 GB, free: 8.77 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002495/0.3543, allocations: 118.3 kB / 0.5537 GB, free: 8.691 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.366e-05/0.3543, allocations: 5.719 kB / 0.5537 GB, free: 8.691 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.057e-06/0.3543, allocations: 3.938 kB / 0.5537 GB, free: 8.688 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.062e-05/0.3543, allocations: 5.141 kB / 0.5537 GB, free: 8.684 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001047/0.3544, allocations: 17.73 kB / 0.5538 GB, free: 8.68 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.596e-06/0.3544, allocations: 5.188 kB / 0.5538 GB, free: 8.676 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.825e-05/0.3545, allocations: 11.39 kB / 0.5538 GB, free: 8.668 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.782e-06/0.3545, allocations: 1.25 kB / 0.5538 GB, free: 8.668 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * 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.0001125/0.3546, allocations: 123.3 kB / 0.5539 GB, free: 8.543 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.599e-05/0.3546, allocations: 8.703 kB / 0.5539 GB, free: 8.539 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002964/0.3549, allocations: 126.5 kB / 0.554 GB, free: 8.453 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.795e-06/0.3549, allocations: 1.156 kB / 0.554 GB, free: 8.453 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.012e-06/0.3549, allocations: 3.938 kB / 0.554 GB, free: 8.449 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.407e-06/0.3549, allocations: 0 / 0.554 GB, free: 8.449 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005414/0.3555, allocations: 369.7 kB / 0.5544 GB, free: 8.105 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.442e-06/0.3555, allocations: 1.125 kB / 0.5544 GB, free: 8.105 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.86e-05/0.3555, allocations: 17.39 kB / 0.5544 GB, free: 8.102 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.178e-06/0.3555, allocations: 3.938 kB / 0.5544 GB, free: 8.098 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.006e-05/0.3556, allocations: 6.125 kB / 0.5544 GB, free: 8.094 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.3556, allocations: 0 / 0.5544 GB, free: 8.094 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.3556, allocations: 1.062 kB / 0.5544 GB, free: 8.094 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002734/0.3558, allocations: 201.8 kB / 0.5546 GB, free: 7.926 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.056e-05/0.3559, allocations: 19.19 kB / 0.5546 GB, free: 7.91 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.751e-05/0.3559, allocations: 1.031 kB / 0.5546 GB, free: 7.91 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.822e-05/0.3559, allocations: 3.812 kB / 0.5546 GB, free: 7.91 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.73e-05/0.356, allocations: 6.328 kB / 0.5546 GB, free: 7.906 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.607e-05/0.356, allocations: 9.656 kB / 0.5546 GB, free: 7.898 MB / 398.1 MB Notification: Performance of sorting global known variables: time 9.442e-05/0.3561, allocations: 104.9 kB / 0.5547 GB, free: 7.812 MB / 398.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.3561, allocations: 0 / 0.5547 GB, free: 7.812 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000257/0.3563, allocations: 29.42 kB / 0.5548 GB, free: 7.801 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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 Backend phase and start with SimCode phase: time 0.001516/0.3579, allocations: 454.4 kB / 0.5552 GB, free: 7.582 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002597/0.3581, allocations: 68.36 kB / 0.5553 GB, free: 7.555 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.3581, allocations: 9.062 kB / 0.5553 GB, free: 7.547 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 9.557e-05/0.3582, allocations: 34.38 kB / 0.5553 GB, free: 7.535 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000326/0.3585, allocations: 22.09 kB / 0.5553 GB, free: 7.527 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004406/0.359, allocations: 200.1 kB / 0.5555 GB, free: 7.359 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003416/0.3593, allocations: 0.6962 MB / 0.5562 GB, free: 6.652 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.547e-05/0.3594, allocations: 28.33 kB / 0.5562 GB, free: 6.633 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.461e-05/0.3594, allocations: 22.33 kB / 0.5562 GB, free: 6.617 MB / 398.1 MB Notification: Performance of SimCode: time 3.2e-07/0.3594, allocations: 3.938 kB / 0.5562 GB, free: 6.613 MB / 398.1 MB Notification: Performance of Templates: time 0.004414/0.3639, allocations: 1.496 MB / 0.5577 GB, free: 5.812 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test18/Test18.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18.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.180090732872486]