Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13.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.001067/0.001067, allocations: 95.31 kB / 20.43 MB, free: 4.145 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.001015/0.001015, allocations: 165.3 kB / 23.8 MB, free: 0.7773 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.8473/0.8473, allocations: 158.6 MB / 185.7 MB, free: 2.934 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.1643/0.1643, allocations: 32.38 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.Test13,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13") translateModel(ModelicaTest.Tables.CombiTimeTable.Test13,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.904e-06/1.904e-06, allocations: 0 / 347.7 MB, free: 9.375 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.553e-05/2.743e-05, allocations: 6.25 kB / 347.8 MB, free: 9.367 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test13): time 0.00215/0.002177, allocations: 1.941 MB / 349.7 MB, free: 7.418 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009348/0.003112, allocations: 0.831 MB / 350.5 MB, free: 6.578 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.902e-05/0.003201, allocations: 3.938 kB / 350.5 MB, free: 6.574 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003254/0.003526, allocations: 51.62 kB / 350.6 MB, free: 6.523 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002145/0.003741, allocations: 55.7 kB / 350.6 MB, free: 6.469 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001865/0.003927, allocations: 107.6 kB / 350.7 MB, free: 6.363 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001619/0.004089, allocations: 147.5 kB / 350.9 MB, free: 6.219 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.885e-05/0.004188, allocations: 25.59 kB / 350.9 MB, free: 6.191 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.734e-05/0.004275, allocations: 71.77 kB / 351 MB, free: 6.121 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.516e-05/0.004361, allocations: 39.88 kB / 351 MB, free: 6.082 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.096e-05/0.004382, allocations: 8 kB / 351 MB, free: 6.074 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.908e-05/0.004451, allocations: 43.98 kB / 351.1 MB, free: 6.031 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.141e-05/0.004502, allocations: 27.84 kB / 351.1 MB, free: 6.004 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.737e-05/0.004549, allocations: 23.92 kB / 351.1 MB, free: 5.98 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002365/0.004786, allocations: 127.5 kB / 351.2 MB, free: 5.855 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.00479, allocations: 3.938 kB / 351.2 MB, free: 5.852 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.031e-06/0.004791, allocations: 0 / 351.2 MB, free: 5.852 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.58e-06/0.004796, allocations: 7.938 kB / 351.3 MB, free: 5.844 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0005215/0.005318, allocations: 0.4897 MB / 351.7 MB, free: 5.312 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.734e-05/0.005355, allocations: 8.031 kB / 351.7 MB, free: 5.305 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.163e-05/0.005407, allocations: 24.84 kB / 351.8 MB, free: 5.281 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001652/0.005572, allocations: 168.3 kB / 351.9 MB, free: 5.09 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.908e-05/0.005591, allocations: 4.375 kB / 351.9 MB, free: 5.086 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.317e-05/0.005614, allocations: 12.31 kB / 352 MB, free: 5.074 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001817/0.005796, allocations: 139.7 kB / 352.1 MB, free: 4.91 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.948e-06/0.005806, allocations: 7.938 kB / 352.1 MB, free: 4.902 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.604e-05/0.005822, allocations: 4 kB / 352.1 MB, free: 4.898 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.104e-05/0.005833, allocations: 4 kB / 352.1 MB, free: 4.895 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.638e-05/0.005889, allocations: 23.91 kB / 352.1 MB, free: 4.871 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003813/0.006271, allocations: 0.5795 MB / 352.7 MB, free: 4.246 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001905/0.006461, allocations: 71.11 kB / 352.8 MB, free: 4.164 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.371e-05/0.006495, allocations: 27.67 kB / 352.8 MB, free: 4.133 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.235e-05/0.006507, allocations: 4 kB / 352.8 MB, free: 4.129 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001066/0.006614, allocations: 106.7 kB / 352.9 MB, free: 4.004 MB / 282.7 MB Notification: Performance of pre-optimization done (n=9): time 2.304e-06/0.006616, allocations: 0 / 352.9 MB, free: 4.004 MB / 282.7 MB Notification: Performance of matching and sorting (n=9): time 0.000196/0.006812, allocations: 105.5 kB / 353 MB, free: 3.895 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.054e-05/0.006833, allocations: 59.41 kB / 353.1 MB, free: 3.824 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.938e-05/0.006932, allocations: 234.6 kB / 353.3 MB, free: 3.578 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.008e-05/0.006942, allocations: 29.7 kB / 353.3 MB, free: 3.543 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.928e-05/0.006991, allocations: 162.8 kB / 353.5 MB, free: 3.379 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.854e-05/0.00701, allocations: 31.75 kB / 353.5 MB, free: 3.348 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.102e-05/0.007041, allocations: 39.3 kB / 353.6 MB, free: 3.301 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 4.994e-05/0.007091, allocations: 0.5 MB / 354.1 MB, free: 2.789 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.931e-05/0.00712, allocations: 15.98 kB / 354.1 MB, free: 2.773 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.559e-05/0.007166, allocations: 62.42 kB / 354.1 MB, free: 2.691 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.034e-05/0.007236, allocations: 82.73 kB / 354.2 MB, free: 2.59 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.007238, allocations: 0 / 354.2 MB, free: 2.59 MB / 282.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001311/0.007369, allocations: 121.4 kB / 354.3 MB, free: 2.465 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.616e-05/0.007385, allocations: 8 kB / 354.3 MB, free: 2.457 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.092e-06/0.007392, allocations: 0 / 354.3 MB, free: 2.457 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.628e-05/0.007408, allocations: 0 / 354.3 MB, free: 2.457 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.3e-05/0.007481, allocations: 23.98 kB / 354.4 MB, free: 2.434 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.282e-06/0.007487, allocations: 0 / 354.4 MB, free: 2.434 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.635e-05/0.007523, allocations: 19.92 kB / 354.4 MB, free: 2.414 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.063e-06/0.007531, allocations: 4 kB / 354.4 MB, free: 2.41 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,err1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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 6.096e-05/0.007592, allocations: 168.5 kB / 354.6 MB, free: 2.234 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.616e-05/0.007608, allocations: 15.91 kB / 354.6 MB, free: 2.219 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001449/0.007753, allocations: 107.1 kB / 354.7 MB, free: 2.102 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.825e-06/0.007755, allocations: 3.984 kB / 354.7 MB, free: 2.098 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.007759, allocations: 8 kB / 354.7 MB, free: 2.09 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.436e-06/0.007763, allocations: 0 / 354.7 MB, free: 2.09 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.179e-05/0.007844, allocations: 164.5 kB / 354.8 MB, free: 1.895 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.512e-06/0.007846, allocations: 0 / 354.8 MB, free: 1.895 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.257e-05/0.007898, allocations: 12 kB / 354.9 MB, free: 1.883 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.424e-06/0.007901, allocations: 3.984 kB / 354.9 MB, free: 1.879 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.06e-05/0.007911, allocations: 4 kB / 354.9 MB, free: 1.875 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.007913, allocations: 0 / 354.9 MB, free: 1.875 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/0.007915, allocations: 8 kB / 354.9 MB, free: 1.867 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001734/0.008088, allocations: 160.2 kB / 355 MB, free: 1.688 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.541e-05/0.008104, allocations: 7.953 kB / 355 MB, free: 1.68 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.786e-05/0.008121, allocations: 4 kB / 355 MB, free: 1.676 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.007e-05/0.008152, allocations: 8 kB / 355.1 MB, free: 1.668 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.256e-05/0.008194, allocations: 7.922 kB / 355.1 MB, free: 1.66 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.505e-05/0.008209, allocations: 4 kB / 355.1 MB, free: 1.656 MB / 282.7 MB Notification: Performance of sorting global known variables: time 5.544e-05/0.008265, allocations: 177 kB / 355.2 MB, free: 1.484 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008265, allocations: 3.938 kB / 355.2 MB, free: 1.48 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001552/0.00842, allocations: 31.89 kB / 355.3 MB, free: 1.449 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * 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 (10): * Single equations (assignments): 8 * 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.000788/0.009208, allocations: 373.8 kB / 355.6 MB, free: 1.172 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001298/0.009338, allocations: 63.78 kB / 355.7 MB, free: 1.105 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.00934, allocations: 8.062 kB / 355.7 MB, free: 1.098 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.95e-05/0.00938, allocations: 43.72 kB / 355.7 MB, free: 1.051 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002071/0.009587, allocations: 43.89 kB / 355.8 MB, free: 1.008 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003636/0.00995, allocations: 256.1 kB / 356 MB, free: 0.7305 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.964e-05/0.00998, allocations: 71.77 kB / 356.1 MB, free: 0.6406 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 4.302e-05/0.01002, allocations: 25.12 kB / 356.1 MB, free: 0.6172 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.51e-05/0.01006, allocations: 16.5 kB / 356.2 MB, free: 0.6016 MB / 282.7 MB Notification: Performance of SimCode: time 7.11e-07/0.01006, allocations: 0 / 356.2 MB, free: 0.6016 MB / 282.7 MB Notification: Performance of Templates: time 0.003981/0.01404, allocations: 2.188 MB / 358.3 MB, free: 14.43 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test13/Test13.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.4891268047504127]