Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10.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.001287/0.001287, allocations: 88.2 kB / 20.94 MB, free: 3.602 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.001546/0.001546, allocations: 169 kB / 24.24 MB, free: 312 kB / 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 1.299/1.299, allocations: 158.6 MB / 186.1 MB, free: 2.922 MB / 170.7 MB " [Timeout remaining time 178] 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.1716/0.1716, allocations: 32.37 MB / 270.7 MB, free: 14.77 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.Test10,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10") translateModel(ModelicaTest.Tables.CombiTimeTable.Test10,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.715e-06/2.715e-06, allocations: 0 / 347.7 MB, free: 9.703 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.183e-05/3.455e-05, allocations: 4.281 kB / 347.7 MB, free: 9.699 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test10): time 0.003667/0.003702, allocations: 1.942 MB / 349.7 MB, free: 7.746 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001411/0.005113, allocations: 0.8271 MB / 350.5 MB, free: 6.91 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001351/0.005248, allocations: 7.938 kB / 350.5 MB, free: 6.902 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003965/0.005644, allocations: 47.64 kB / 350.6 MB, free: 6.855 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000271/0.005915, allocations: 55.69 kB / 350.6 MB, free: 6.801 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003021/0.006217, allocations: 107.6 kB / 350.7 MB, free: 6.695 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002486/0.006466, allocations: 139.5 kB / 350.9 MB, free: 6.559 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001532/0.006619, allocations: 25.61 kB / 350.9 MB, free: 6.531 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001483/0.006767, allocations: 75.75 kB / 351 MB, free: 6.457 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001209/0.006888, allocations: 35.89 kB / 351 MB, free: 6.422 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.31e-05/0.006922, allocations: 8 kB / 351 MB, free: 6.414 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001181/0.00704, allocations: 43.98 kB / 351 MB, free: 6.371 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 7.846e-05/0.007118, allocations: 27.84 kB / 351.1 MB, free: 6.344 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 6.217e-05/0.00718, allocations: 31.91 kB / 351.1 MB, free: 6.312 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003016/0.007482, allocations: 131.4 kB / 351.2 MB, free: 6.184 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.007487, allocations: 0 / 351.2 MB, free: 6.184 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.503e-06/0.007488, allocations: 3.938 kB / 351.2 MB, free: 6.18 MB / 282.7 MB Notification: Performance of Transformations before backend: time 7.805e-06/0.007496, allocations: 0 / 351.2 MB, free: 6.18 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.000659/0.008155, allocations: 0.4897 MB / 351.7 MB, free: 5.648 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.02e-05/0.008195, allocations: 12.03 kB / 351.7 MB, free: 5.637 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.676e-05/0.008272, allocations: 24.84 kB / 351.8 MB, free: 5.613 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002325/0.008504, allocations: 164.3 kB / 351.9 MB, free: 5.426 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.614e-05/0.00853, allocations: 12.31 kB / 351.9 MB, free: 5.414 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.756e-05/0.008558, allocations: 4.375 kB / 351.9 MB, free: 5.41 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002378/0.008796, allocations: 145.9 kB / 352.1 MB, free: 5.242 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.017e-05/0.008806, allocations: 3.938 kB / 352.1 MB, free: 5.238 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.405e-05/0.00882, allocations: 4 kB / 352.1 MB, free: 5.234 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.708e-06/0.00883, allocations: 4 kB / 352.1 MB, free: 5.23 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.689e-05/0.008907, allocations: 27.92 kB / 352.1 MB, free: 5.203 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000552/0.009459, allocations: 0.5795 MB / 352.7 MB, free: 4.578 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002706/0.009729, allocations: 71.16 kB / 352.8 MB, free: 4.496 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.013e-05/0.009779, allocations: 27.67 kB / 352.8 MB, free: 4.465 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.651e-05/0.009796, allocations: 3.984 kB / 352.8 MB, free: 4.461 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001485/0.009944, allocations: 102.7 kB / 352.9 MB, free: 4.34 MB / 282.7 MB Notification: Performance of pre-optimization done (n=9): time 1.954e-06/0.009946, allocations: 4 kB / 352.9 MB, free: 4.336 MB / 282.7 MB Notification: Performance of matching and sorting (n=9): time 0.0002859/0.01023, allocations: 109.5 kB / 353 MB, free: 4.223 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.234e-05/0.01026, allocations: 55.41 kB / 353.1 MB, free: 4.156 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001753/0.01044, allocations: 234.7 kB / 353.3 MB, free: 3.91 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.536e-05/0.01046, allocations: 29.7 kB / 353.3 MB, free: 3.875 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.147e-05/0.01053, allocations: 166.8 kB / 353.5 MB, free: 3.707 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.465e-05/0.01055, allocations: 31.69 kB / 353.5 MB, free: 3.676 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.157e-05/0.0106, allocations: 35.36 kB / 353.6 MB, free: 3.633 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 8.365e-05/0.01069, allocations: 0.5 MB / 354.1 MB, free: 3.121 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.17e-05/0.01073, allocations: 11.98 kB / 354.1 MB, free: 3.109 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.29e-05/0.01079, allocations: 70.42 kB / 354.1 MB, free: 3.02 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000102/0.01089, allocations: 74.75 kB / 354.2 MB, free: 2.926 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.976e-06/0.0109, allocations: 7.938 kB / 354.2 MB, free: 2.918 MB / 282.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001922/0.01109, allocations: 117.4 kB / 354.3 MB, free: 2.797 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.867e-05/0.01111, allocations: 8 kB / 354.3 MB, free: 2.789 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.981e-06/0.01111, allocations: 128 / 354.3 MB, free: 2.789 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.869e-05/0.01113, allocations: 8 kB / 354.3 MB, free: 2.781 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000101/0.01123, allocations: 19.98 kB / 354.4 MB, free: 2.762 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.995e-06/0.01124, allocations: 0 / 354.4 MB, free: 2.762 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.451e-05/0.01131, allocations: 11.94 kB / 354.4 MB, free: 2.75 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.129e-05/0.01132, allocations: 8 kB / 354.4 MB, free: 2.742 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 8.839e-05/0.0114, allocations: 176.4 kB / 354.6 MB, free: 2.559 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.973e-05/0.01143, allocations: 15.91 kB / 354.6 MB, free: 2.543 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002164/0.01165, allocations: 103.1 kB / 354.7 MB, free: 2.43 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.988e-06/0.01165, allocations: 4 kB / 354.7 MB, free: 2.426 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.15e-06/0.01166, allocations: 8 kB / 354.7 MB, free: 2.418 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.95e-06/0.01167, allocations: 0 / 354.7 MB, free: 2.418 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001246/0.01179, allocations: 164.5 kB / 354.8 MB, free: 2.223 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.01179, allocations: 0 / 354.8 MB, free: 2.223 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.012e-05/0.01187, allocations: 12 kB / 354.9 MB, free: 2.211 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.567e-06/0.01188, allocations: 0 / 354.9 MB, free: 2.211 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.557e-05/0.01189, allocations: 4 kB / 354.9 MB, free: 2.207 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.878e-06/0.01189, allocations: 4 kB / 354.9 MB, free: 2.203 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.0119, allocations: 0 / 354.9 MB, free: 2.203 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002375/0.01213, allocations: 156.2 kB / 355 MB, free: 2.027 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.952e-05/0.01215, allocations: 11.95 kB / 355 MB, free: 2.016 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.088e-05/0.01218, allocations: 8.016 kB / 355 MB, free: 2.008 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.108e-05/0.01224, allocations: 8 kB / 355 MB, free: 2 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.663e-05/0.01228, allocations: 11.92 kB / 355.1 MB, free: 1.988 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.661e-05/0.0123, allocations: 0 / 355.1 MB, free: 1.988 MB / 282.7 MB Notification: Performance of sorting global known variables: time 8.631e-05/0.01239, allocations: 177 kB / 355.2 MB, free: 1.816 MB / 282.7 MB Notification: Performance of sort global known variables: time 1e-07/0.01239, allocations: 0 / 355.2 MB, free: 1.816 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002602/0.01265, allocations: 39.89 kB / 355.3 MB, free: 1.777 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.001227/0.01387, allocations: 377.8 kB / 355.6 MB, free: 1.496 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001747/0.01405, allocations: 63.59 kB / 355.7 MB, free: 1.43 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.01405, allocations: 0 / 355.7 MB, free: 1.43 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 6.634e-05/0.01412, allocations: 39.72 kB / 355.7 MB, free: 1.387 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003146/0.01443, allocations: 52.14 kB / 355.8 MB, free: 1.336 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005662/0.015, allocations: 256.1 kB / 356 MB, free: 1.059 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.047e-05/0.01504, allocations: 71.77 kB / 356.1 MB, free: 0.9688 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 6.647e-05/0.0151, allocations: 17.14 kB / 356.1 MB, free: 0.9531 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.596e-05/0.01515, allocations: 16.5 kB / 356.1 MB, free: 0.9375 MB / 282.7 MB Notification: Performance of SimCode: time 1.332e-06/0.01515, allocations: 0 / 356.1 MB, free: 0.9375 MB / 282.7 MB Notification: Performance of Templates: time 0.005677/0.02083, allocations: 2.055 MB / 358.2 MB, free: 14.91 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test10/Test10.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.77634385204874]