Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test2.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.0009777/0.0009777, allocations: 95.2 kB / 20.43 MB, free: 4.141 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.001049/0.001049, allocations: 165 kB / 23.8 MB, free: 0.7695 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 0.8948/0.8948, allocations: 158.6 MB / 185.7 MB, free: 2.922 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.1286/0.1286, allocations: 32.37 MB / 270.4 MB, free: 14.71 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.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test2") translateModel(ModelicaTest.Tables.CombiTimeTable.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.224e-06/2.224e-06, allocations: 3.938 kB / 347.8 MB, free: 9.352 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.014e-05/3.236e-05, allocations: 2.312 kB / 347.8 MB, free: 9.348 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test2): time 0.002469/0.002501, allocations: 1.726 MB / 349.5 MB, free: 7.609 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009184/0.003419, allocations: 0.796 MB / 350.3 MB, free: 6.805 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.825e-05/0.003498, allocations: 7.938 kB / 350.3 MB, free: 6.797 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003291/0.003827, allocations: 35.77 kB / 350.3 MB, free: 6.762 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002159/0.004043, allocations: 47.77 kB / 350.4 MB, free: 6.715 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001994/0.004242, allocations: 91.69 kB / 350.5 MB, free: 6.625 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001496/0.004392, allocations: 95.64 kB / 350.5 MB, free: 6.531 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001054/0.004497, allocations: 12.2 kB / 350.6 MB, free: 6.52 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.289e-05/0.00458, allocations: 55.84 kB / 350.6 MB, free: 6.465 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.283e-05/0.004653, allocations: 27.84 kB / 350.6 MB, free: 6.438 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.95e-05/0.004672, allocations: 4 kB / 350.6 MB, free: 6.434 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.425e-05/0.004746, allocations: 39.92 kB / 350.7 MB, free: 6.395 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.931e-05/0.004796, allocations: 23.92 kB / 350.7 MB, free: 6.371 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.792e-05/0.004834, allocations: 15.94 kB / 350.7 MB, free: 6.355 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001705/0.005004, allocations: 87.66 kB / 350.8 MB, free: 6.27 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.005008, allocations: 0 / 350.8 MB, free: 6.27 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.713e-06/0.00501, allocations: 0 / 350.8 MB, free: 6.27 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.18e-06/0.005015, allocations: 0 / 350.8 MB, free: 6.27 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0003806/0.005396, allocations: 440 kB / 351.2 MB, free: 5.805 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.757e-05/0.005433, allocations: 8.031 kB / 351.2 MB, free: 5.797 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.604e-05/0.005479, allocations: 16.83 kB / 351.3 MB, free: 5.781 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001479/0.005627, allocations: 145 kB / 351.4 MB, free: 5.613 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.11e-05/0.005648, allocations: 12.36 kB / 351.4 MB, free: 5.602 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.462e-05/0.005673, allocations: 384 / 351.4 MB, free: 5.602 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001134/0.005786, allocations: 66.31 kB / 351.5 MB, free: 5.527 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.398e-06/0.005796, allocations: 0 / 351.5 MB, free: 5.527 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.488e-06/0.005805, allocations: 0 / 351.5 MB, free: 5.527 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.953e-06/0.005812, allocations: 0 / 351.5 MB, free: 5.527 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.418e-05/0.005846, allocations: 11.98 kB / 351.5 MB, free: 5.516 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003164/0.006163, allocations: 291.7 kB / 351.8 MB, free: 5.195 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001009/0.006264, allocations: 51.17 kB / 351.8 MB, free: 5.133 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.714e-05/0.006291, allocations: 15.69 kB / 351.8 MB, free: 5.113 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.468e-05/0.006305, allocations: 0 / 351.8 MB, free: 5.113 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.284e-05/0.006398, allocations: 76.98 kB / 351.9 MB, free: 5.023 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 1.302e-06/0.006399, allocations: 0 / 351.9 MB, free: 5.023 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003777/0.006777, allocations: 157.3 kB / 352.1 MB, free: 4.863 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.452e-05/0.006802, allocations: 55.39 kB / 352.1 MB, free: 4.797 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.817e-05/0.00689, allocations: 213.8 kB / 352.3 MB, free: 4.57 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 9.398e-06/0.006899, allocations: 29.7 kB / 352.4 MB, free: 4.535 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.6e-05/0.006935, allocations: 142.9 kB / 352.5 MB, free: 4.391 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.498e-05/0.00696, allocations: 31.78 kB / 352.5 MB, free: 4.359 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.971e-05/0.00699, allocations: 23.38 kB / 352.6 MB, free: 4.328 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 4.898e-05/0.007039, allocations: 0.5 MB / 353.1 MB, free: 3.816 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.434e-05/0.007063, allocations: 11.98 kB / 353.1 MB, free: 3.805 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.398e-05/0.007097, allocations: 35.36 kB / 353.1 MB, free: 3.762 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.081e-05/0.007148, allocations: 47.31 kB / 353.2 MB, free: 3.707 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.342e-06/0.007149, allocations: 4 kB / 353.2 MB, free: 3.703 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 9.894e-05/0.007248, allocations: 85.58 kB / 353.2 MB, free: 3.613 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.332e-05/0.007262, allocations: 4 kB / 353.2 MB, free: 3.609 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.65e-06/0.007267, allocations: 4 kB / 353.2 MB, free: 3.605 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.556e-05/0.007283, allocations: 0 / 353.2 MB, free: 3.605 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.211e-05/0.007355, allocations: 23.92 kB / 353.3 MB, free: 3.582 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.572e-06/0.007361, allocations: 0 / 353.3 MB, free: 3.582 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.775e-05/0.007389, allocations: 7.938 kB / 353.3 MB, free: 3.574 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.293e-05/0.007402, allocations: 4 kB / 353.3 MB, free: 3.57 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 (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 5.716e-05/0.007459, allocations: 160.6 kB / 353.4 MB, free: 3.402 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.421e-05/0.007474, allocations: 19.94 kB / 353.5 MB, free: 3.383 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001645/0.007638, allocations: 106.5 kB / 353.6 MB, free: 3.273 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.348e-06/0.007642, allocations: 3.984 kB / 353.6 MB, free: 3.27 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.007647, allocations: 0 / 353.6 MB, free: 3.27 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/0.007651, allocations: 0 / 353.6 MB, free: 3.27 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002898/0.007941, allocations: 385 kB / 353.9 MB, free: 2.848 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.627e-06/0.007944, allocations: 4 kB / 353.9 MB, free: 2.844 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.488e-05/0.007969, allocations: 8 kB / 354 MB, free: 2.836 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.106e-06/0.007972, allocations: 0 / 354 MB, free: 2.836 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.745e-06/0.00798, allocations: 4.031 kB / 354 MB, free: 2.832 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.067e-06/0.007984, allocations: 12.25 kB / 354 MB, free: 2.82 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.007985, allocations: 0 / 354 MB, free: 2.82 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001059/0.008091, allocations: 255.5 kB / 354.2 MB, free: 2.547 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.054e-05/0.008102, allocations: 7.953 kB / 354.2 MB, free: 2.539 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.905e-05/0.008121, allocations: 11.98 kB / 354.2 MB, free: 2.527 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.596e-05/0.008157, allocations: 3.938 kB / 354.2 MB, free: 2.523 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.471e-05/0.008192, allocations: 7.984 kB / 354.2 MB, free: 2.516 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.543e-05/0.008207, allocations: 4 kB / 354.3 MB, free: 2.512 MB / 282.7 MB Notification: Performance of sorting global known variables: time 4.545e-05/0.008252, allocations: 155.2 kB / 354.4 MB, free: 2.359 MB / 282.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.008253, allocations: 0 / 354.4 MB, free: 2.359 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002144/0.008467, allocations: 31.94 kB / 354.4 MB, free: 2.328 MB / 282.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: 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 (9): * Single equations (assignments): 7 * 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.0009567/0.009424, allocations: 439.6 kB / 354.9 MB, free: 1.996 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001389/0.009562, allocations: 59.52 kB / 354.9 MB, free: 1.934 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.009565, allocations: 0 / 354.9 MB, free: 1.934 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.941e-05/0.009604, allocations: 35.61 kB / 355 MB, free: 1.895 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002471/0.009851, allocations: 27.84 kB / 355 MB, free: 1.867 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003605/0.01021, allocations: 213.4 kB / 355.2 MB, free: 1.629 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.054e-05/0.01024, allocations: 63.34 kB / 355.3 MB, free: 1.547 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.281e-05/0.01028, allocations: 16.47 kB / 355.3 MB, free: 1.531 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.796e-05/0.01031, allocations: 16.5 kB / 355.3 MB, free: 1.512 MB / 282.7 MB Notification: Performance of SimCode: time 5.61e-07/0.01031, allocations: 0 / 355.3 MB, free: 1.512 MB / 282.7 MB Notification: Performance of Templates: time 0.003621/0.01394, allocations: 1.839 MB / 357.1 MB, free: 15.7 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test2.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test2.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test2 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test2.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test2/Test2.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.2900307048112154]