Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test16.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.0009281/0.0009281, allocations: 80.41 kB / 22.21 MB, free: 2.289 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.000992/0.000992, allocations: 166 kB / 25.61 MB, free: 8.582 MB / 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.9155/0.9155, allocations: 177.1 MB / 206 MB, free: 4.527 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.1719/0.1719, allocations: 34.25 MB / 296.8 MB, free: 13.93 MB / 282.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.Test16,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test16") translateModel(ModelicaTest.Tables.CombiTimeTable.Test16,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test16") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.042e-06/1.042e-06, allocations: 0 / 379.4 MB, free: 23.33 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.067e-06/1.011e-05, allocations: 2.312 kB / 379.4 MB, free: 23.33 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test16): time 0.001788/0.001798, allocations: 1.752 MB / 381.1 MB, free: 21.56 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.004285/0.006082, allocations: 0.9936 MB / 382.1 MB, free: 20.56 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.546e-05/0.006148, allocations: 7.938 kB / 382.1 MB, free: 20.55 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002273/0.006375, allocations: 31.78 kB / 382.2 MB, free: 20.52 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002311/0.006606, allocations: 99.41 kB / 382.3 MB, free: 20.43 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000145/0.006751, allocations: 83.66 kB / 382.3 MB, free: 20.34 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001324/0.006884, allocations: 111.6 kB / 382.4 MB, free: 20.23 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.884e-05/0.006952, allocations: 7.984 kB / 382.5 MB, free: 20.23 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.933e-05/0.007022, allocations: 47.91 kB / 382.5 MB, free: 20.18 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.925e-05/0.007091, allocations: 39.83 kB / 382.5 MB, free: 20.14 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.443e-05/0.007105, allocations: 4 kB / 382.5 MB, free: 20.14 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.601e-05/0.007181, allocations: 43.92 kB / 382.6 MB, free: 20.09 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 4.255e-05/0.007224, allocations: 11.94 kB / 382.6 MB, free: 20.08 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 3.317e-05/0.007257, allocations: 27.84 kB / 382.6 MB, free: 20.05 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001499/0.007407, allocations: 99.66 kB / 382.7 MB, free: 19.96 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.703e-06/0.007409, allocations: 0 / 382.7 MB, free: 19.96 MB / 314.7 MB Notification: Performance of FrontEnd: time 5.51e-07/0.007409, allocations: 0 / 382.7 MB, free: 19.96 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.366e-06/0.007413, allocations: 0 / 382.7 MB, free: 19.96 MB / 314.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.0003121/0.007725, allocations: 443.8 kB / 383.2 MB, free: 19.49 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.735e-05/0.007752, allocations: 8.031 kB / 383.2 MB, free: 19.48 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.362e-05/0.007786, allocations: 16.89 kB / 383.2 MB, free: 19.46 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001187/0.007904, allocations: 152.4 kB / 383.3 MB, free: 19.29 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.5e-05/0.007919, allocations: 384 / 383.3 MB, free: 19.29 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.639e-05/0.007936, allocations: 12.33 kB / 383.3 MB, free: 19.28 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003099/0.01103, allocations: 54.94 kB / 383.4 MB, free: 19.21 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.417e-06/0.01104, allocations: 3.938 kB / 383.4 MB, free: 19.21 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.512e-06/0.01105, allocations: 0 / 383.4 MB, free: 19.21 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.01e-06/0.01106, allocations: 4 kB / 383.4 MB, free: 19.21 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.532e-05/0.01108, allocations: 11.98 kB / 383.4 MB, free: 19.2 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001892/0.01127, allocations: 256.4 kB / 383.7 MB, free: 18.92 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.577e-05/0.01135, allocations: 55.11 kB / 383.7 MB, free: 18.85 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.041e-05/0.01137, allocations: 15.67 kB / 383.7 MB, free: 18.83 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.013e-05/0.01138, allocations: 0 / 383.7 MB, free: 18.83 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.039e-05/0.01145, allocations: 72.97 kB / 383.8 MB, free: 18.75 MB / 314.7 MB Notification: Performance of pre-optimization done (n=6): time 9.01e-07/0.01145, allocations: 0 / 383.8 MB, free: 18.75 MB / 314.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002781/0.01173, allocations: 133.8 kB / 383.9 MB, free: 18.61 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.679e-05/0.01174, allocations: 55.41 kB / 384 MB, free: 18.54 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.415e-05/0.01183, allocations: 223.2 kB / 384.2 MB, free: 18.31 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 7.754e-06/0.01183, allocations: 29.7 kB / 384.2 MB, free: 18.27 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.161e-05/0.01187, allocations: 154.8 kB / 384.4 MB, free: 18.12 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.151e-05/0.01189, allocations: 19.84 kB / 384.4 MB, free: 18.1 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.147e-05/0.01192, allocations: 31.36 kB / 384.4 MB, free: 18.06 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 5.018e-05/0.01197, allocations: 0.5001 MB / 384.9 MB, free: 17.55 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.662e-05/0.01199, allocations: 8 kB / 384.9 MB, free: 17.54 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.405e-05/0.01201, allocations: 27.36 kB / 385 MB, free: 17.5 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.265e-05/0.01205, allocations: 51.48 kB / 385 MB, free: 17.45 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.01e-07/0.01205, allocations: 3.938 kB / 385 MB, free: 17.44 MB / 314.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 9.108e-05/0.01214, allocations: 97.45 kB / 385.1 MB, free: 17.34 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.778e-06/0.01215, allocations: 8 kB / 385.1 MB, free: 17.33 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.707e-06/0.01216, allocations: 0 / 385.1 MB, free: 17.33 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.466e-06/0.01217, allocations: 0 / 385.1 MB, free: 17.33 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.965e-05/0.01223, allocations: 15.94 kB / 385.1 MB, free: 17.32 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.956e-06/0.01223, allocations: 4 kB / 385.1 MB, free: 17.31 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.119e-05/0.01226, allocations: 3.984 kB / 385.2 MB, free: 17.31 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.121e-06/0.01227, allocations: 4 kB / 385.2 MB, free: 17.3 MB / 314.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 4.525e-05/0.01231, allocations: 164.6 kB / 385.3 MB, free: 17.13 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.753e-05/0.01233, allocations: 15.84 kB / 385.3 MB, free: 17.12 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001186/0.01245, allocations: 103.1 kB / 385.4 MB, free: 17.01 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.01245, allocations: 4 kB / 385.4 MB, free: 17 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.543e-06/0.01245, allocations: 0 / 385.4 MB, free: 17 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.01246, allocations: 0 / 385.4 MB, free: 17 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002034/0.01266, allocations: 357.5 kB / 385.8 MB, free: 16.62 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.01266, allocations: 0 / 385.8 MB, free: 16.62 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.656e-05/0.01269, allocations: 19.98 kB / 385.8 MB, free: 16.6 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.342e-06/0.01269, allocations: 0 / 385.8 MB, free: 16.6 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.061e-06/0.01269, allocations: 3.984 kB / 385.8 MB, free: 16.59 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.01269, allocations: 4 kB / 385.8 MB, free: 16.59 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.0127, allocations: 4.031 kB / 385.8 MB, free: 16.59 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.972e-05/0.0128, allocations: 255.7 kB / 386.1 MB, free: 16.31 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.06e-05/0.01281, allocations: 7.953 kB / 386.1 MB, free: 16.3 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.684e-05/0.01282, allocations: 7.984 kB / 386.1 MB, free: 16.3 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.012e-05/0.01288, allocations: 4 kB / 386.1 MB, free: 16.29 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.344e-05/0.01291, allocations: 11.92 kB / 386.1 MB, free: 16.28 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.035e-05/0.01292, allocations: 4 kB / 386.1 MB, free: 16.28 MB / 314.7 MB Notification: Performance of sorting global known variables: time 4.26e-05/0.01296, allocations: 160.1 kB / 386.3 MB, free: 16.12 MB / 314.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01296, allocations: 4 kB / 386.3 MB, free: 16.12 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002289/0.01319, allocations: 20 kB / 386.3 MB, free: 16.1 MB / 314.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.00392/0.01711, allocations: 454.4 kB / 386.7 MB, free: 15.82 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 8.859e-05/0.0172, allocations: 47.55 kB / 386.8 MB, free: 15.77 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.082e-06/0.0172, allocations: 0 / 386.8 MB, free: 15.77 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 3.242e-05/0.01723, allocations: 31.66 kB / 386.8 MB, free: 15.73 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002656/0.0175, allocations: 34.95 kB / 386.8 MB, free: 15.7 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000244/0.01774, allocations: 216.1 kB / 387 MB, free: 15.45 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.883e-05/0.01777, allocations: 75.33 kB / 387.1 MB, free: 15.36 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 3.871e-05/0.01781, allocations: 13.28 kB / 387.1 MB, free: 15.35 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.646e-05/0.01786, allocations: 86.19 kB / 387.2 MB, free: 15.26 MB / 314.7 MB Notification: Performance of SimCode: time 4.11e-07/0.01787, allocations: 0 / 387.2 MB, free: 15.26 MB / 314.7 MB Notification: Performance of Templates: time 0.006461/0.02433, allocations: 2.058 MB / 389.3 MB, free: 13.23 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test16.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test16.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test16.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test16.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test16.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test16 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test16.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test16_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test16/Test16.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: 2.982250965666026]