Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37.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.001884/0.001884, allocations: 84.3 kB / 20.68 MB, free: 1.035 MB / 14.72 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.002284/0.002284, allocations: 168.8 kB / 23.95 MB, free: 4.172 MB / 14.72 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 1.385/1.385, allocations: 177.1 MB / 204.3 MB, free: 9.168 MB / 190.1 MB " [Timeout remaining time 179] 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.1982/0.1982, allocations: 32.8 MB / 293.5 MB, free: 32 kB / 270.1 MB " [Timeout remaining time 180] 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.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.Test37,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37") translateModel(ModelicaTest.Tables.CombiTimeTable.Test37,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.392e-06/1.392e-06, allocations: 0 / 440.2 MB, free: 8.086 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.924e-05/2.063e-05, allocations: 6.844 kB / 440.2 MB, free: 8.078 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test37): time 0.002681/0.002701, allocations: 1.67 MB / 441.8 MB, free: 6.395 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001666/0.004368, allocations: 0.9548 MB / 442.8 MB, free: 5.434 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.378e-05/0.004421, allocations: 0 / 442.8 MB, free: 5.434 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002701/0.004692, allocations: 67.66 kB / 442.9 MB, free: 5.367 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003126/0.005004, allocations: 107.5 kB / 443 MB, free: 5.262 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001722/0.005176, allocations: 79.55 kB / 443 MB, free: 5.184 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001846/0.005361, allocations: 103.7 kB / 443.1 MB, free: 5.082 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.842e-05/0.005399, allocations: 4.234 kB / 443.1 MB, free: 5.078 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000116/0.005515, allocations: 67.75 kB / 443.2 MB, free: 5.012 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.227e-05/0.005608, allocations: 43.89 kB / 443.3 MB, free: 4.969 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.843e-05/0.005626, allocations: 4 kB / 443.3 MB, free: 4.965 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.835e-05/0.005704, allocations: 31.97 kB / 443.3 MB, free: 4.934 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 5.391e-05/0.005758, allocations: 19.92 kB / 443.3 MB, free: 4.914 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 4.113e-05/0.005799, allocations: 15.94 kB / 443.3 MB, free: 4.898 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001988/0.005998, allocations: 107.6 kB / 443.4 MB, free: 4.793 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.144e-06/0.006, allocations: 0 / 443.4 MB, free: 4.793 MB / 366.1 MB Notification: Performance of FrontEnd: time 6.31e-07/0.006001, allocations: 0 / 443.4 MB, free: 4.793 MB / 366.1 MB Notification: Performance of Transformations before backend: time 3.907e-06/0.006005, allocations: 0 / 443.4 MB, free: 4.793 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005172/0.006522, allocations: 333.6 kB / 443.8 MB, free: 4.438 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.557e-05/0.006558, allocations: 20.02 kB / 443.8 MB, free: 4.418 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.844e-05/0.006606, allocations: 12.84 kB / 443.8 MB, free: 4.406 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002192/0.006825, allocations: 162.2 kB / 443.9 MB, free: 4.223 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.614e-06/0.006833, allocations: 384 / 443.9 MB, free: 4.223 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.31e-05/0.006846, allocations: 384 / 444 MB, free: 4.223 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000141/0.006987, allocations: 50.23 kB / 444 MB, free: 4.168 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.068e-05/0.006998, allocations: 3.938 kB / 444 MB, free: 4.164 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.276e-06/0.007006, allocations: 0 / 444 MB, free: 4.164 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.306e-06/0.007009, allocations: 0 / 444 MB, free: 4.164 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.431e-05/0.007084, allocations: 19.98 kB / 444 MB, free: 4.145 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001744/0.007258, allocations: 129.3 kB / 444.1 MB, free: 3.988 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001692/0.007427, allocations: 54.55 kB / 444.2 MB, free: 3.926 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.596e-05/0.007483, allocations: 16.86 kB / 444.2 MB, free: 3.906 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.225e-05/0.007495, allocations: 4 kB / 444.2 MB, free: 3.902 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001356/0.007631, allocations: 67.39 kB / 444.3 MB, free: 3.824 MB / 366.1 MB Notification: Performance of pre-optimization done (n=5): time 1.252e-06/0.007632, allocations: 0 / 444.3 MB, free: 3.824 MB / 366.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002983/0.007931, allocations: 109.4 kB / 444.4 MB, free: 3.711 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.739e-05/0.007968, allocations: 51.41 kB / 444.4 MB, free: 3.648 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002079/0.008176, allocations: 210.2 kB / 444.7 MB, free: 3.434 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.833e-05/0.008194, allocations: 25.7 kB / 444.7 MB, free: 3.402 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.314e-05/0.008257, allocations: 108.1 kB / 444.8 MB, free: 3.293 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.287e-05/0.00829, allocations: 11.91 kB / 444.8 MB, free: 3.281 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.867e-05/0.008329, allocations: 21.7 kB / 444.8 MB, free: 3.254 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000155/0.008484, allocations: 326.8 kB / 445.1 MB, free: 2.926 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.097e-05/0.008535, allocations: 12 kB / 445.1 MB, free: 2.914 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.169e-05/0.008597, allocations: 33.69 kB / 445.2 MB, free: 2.875 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000114/0.008711, allocations: 49.64 kB / 445.2 MB, free: 2.82 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.008712, allocations: 4 kB / 445.2 MB, free: 2.816 MB / 366.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001658/0.008878, allocations: 73.64 kB / 445.3 MB, free: 2.738 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.523e-05/0.008893, allocations: 8 kB / 445.3 MB, free: 2.73 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.334e-06/0.008901, allocations: 7.922 kB / 445.3 MB, free: 2.723 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.403e-05/0.008915, allocations: 0 / 445.3 MB, free: 2.723 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.323e-05/0.008988, allocations: 15.94 kB / 445.3 MB, free: 2.707 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.272e-06/0.008994, allocations: 4 kB / 445.3 MB, free: 2.703 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.467e-05/0.009039, allocations: 3.953 kB / 445.3 MB, free: 2.699 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.075e-06/0.009047, allocations: 4 kB / 445.3 MB, free: 2.695 MB / 366.1 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 (7): * Single equations (assignments): 7 * 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.0001021/0.009149, allocations: 126.5 kB / 445.5 MB, free: 2.562 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.008e-05/0.009169, allocations: 7.953 kB / 445.5 MB, free: 2.555 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002196/0.009389, allocations: 102.8 kB / 445.6 MB, free: 2.449 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.894e-06/0.009391, allocations: 0 / 445.6 MB, free: 2.449 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.009395, allocations: 4 kB / 445.6 MB, free: 2.445 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.009398, allocations: 0 / 445.6 MB, free: 2.445 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000136/0.009534, allocations: 137.6 kB / 445.7 MB, free: 2.281 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.009535, allocations: 0 / 445.7 MB, free: 2.281 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.039e-05/0.009566, allocations: 11.94 kB / 445.7 MB, free: 2.27 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.793e-06/0.009567, allocations: 0 / 445.7 MB, free: 2.27 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.768e-06/0.009577, allocations: 3.984 kB / 445.7 MB, free: 2.266 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.03e-06/0.009582, allocations: 11.94 kB / 445.7 MB, free: 2.254 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.009583, allocations: 0 / 445.7 MB, free: 2.254 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002006/0.009783, allocations: 113 kB / 445.9 MB, free: 2.125 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.513e-05/0.009809, allocations: 15.94 kB / 445.9 MB, free: 2.109 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.065e-05/0.009829, allocations: 0 / 445.9 MB, free: 2.109 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.219e-05/0.009871, allocations: 7.938 kB / 445.9 MB, free: 2.102 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.07e-05/0.009902, allocations: 3.984 kB / 445.9 MB, free: 2.098 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.52e-05/0.009917, allocations: 8 kB / 445.9 MB, free: 2.09 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001423/0.01006, allocations: 148.2 kB / 446 MB, free: 1.945 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.01006, allocations: 7.938 kB / 446 MB, free: 1.938 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002094/0.01027, allocations: 16 kB / 446.1 MB, free: 1.922 MB / 366.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: 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 (6): * Single equations (assignments): 4 * 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.001643/0.01191, allocations: 441.5 kB / 446.5 MB, free: 1.664 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001639/0.01208, allocations: 39.97 kB / 446.5 MB, free: 1.625 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.01208, allocations: 0 / 446.5 MB, free: 1.625 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 6.893e-05/0.01215, allocations: 23.92 kB / 446.5 MB, free: 1.602 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002546/0.0124, allocations: 29.8 kB / 446.6 MB, free: 1.578 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004106/0.01281, allocations: 209.1 kB / 446.8 MB, free: 1.348 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.629e-05/0.0129, allocations: 97.38 kB / 446.9 MB, free: 1.23 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 4.416e-05/0.01294, allocations: 16.47 kB / 446.9 MB, free: 1.215 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.498e-05/0.01298, allocations: 20.44 kB / 446.9 MB, free: 1.195 MB / 366.1 MB Notification: Performance of SimCode: time 3.2e-07/0.01298, allocations: 0 / 446.9 MB, free: 1.195 MB / 366.1 MB Notification: Performance of Templates: time 0.175/0.188, allocations: 1.63 MB / 448.5 MB, free: 21.12 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test37/Test37.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37.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: 4.5268141105771065]