Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test65.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.001135/0.001135, allocations: 91.33 kB / 20.43 MB, free: 4.137 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.001319/0.001319, allocations: 165 kB / 23.8 MB, free: 0.7656 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 1.116/1.116, allocations: 158.6 MB / 185.7 MB, free: 2.902 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.1576/0.1576, allocations: 32.38 MB / 270.4 MB, free: 14.69 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.Test65,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test65") translateModel(ModelicaTest.Tables.CombiTimeTable.Test65,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test65") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.293e-06/1.293e-06, allocations: 0 / 347.7 MB, free: 9.352 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.405e-05/2.534e-05, allocations: 2.312 kB / 347.8 MB, free: 9.348 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test65): time 0.002272/0.002297, allocations: 1.698 MB / 349.4 MB, free: 7.641 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001106/0.003403, allocations: 0.7765 MB / 350.2 MB, free: 6.855 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.989e-05/0.003503, allocations: 0 / 350.2 MB, free: 6.855 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004288/0.003932, allocations: 87.64 kB / 350.3 MB, free: 6.77 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002986/0.004231, allocations: 75.66 kB / 350.4 MB, free: 6.695 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002626/0.004493, allocations: 87.7 kB / 350.5 MB, free: 6.609 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002053/0.004699, allocations: 103.6 kB / 350.6 MB, free: 6.508 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.472e-05/0.004743, allocations: 11.97 kB / 350.6 MB, free: 6.496 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.312e-05/0.004836, allocations: 55.83 kB / 350.6 MB, free: 6.441 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001034/0.00494, allocations: 51.88 kB / 350.7 MB, free: 6.391 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.236e-05/0.004962, allocations: 4 kB / 350.7 MB, free: 6.387 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.213e-05/0.005044, allocations: 27.94 kB / 350.7 MB, free: 6.359 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.785e-05/0.005102, allocations: 27.91 kB / 350.7 MB, free: 6.332 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.436e-05/0.005146, allocations: 15.92 kB / 350.8 MB, free: 6.316 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001742/0.005321, allocations: 83.69 kB / 350.8 MB, free: 6.234 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.535e-06/0.005323, allocations: 4 kB / 350.8 MB, free: 6.23 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.032e-06/0.005324, allocations: 0 / 350.8 MB, free: 6.23 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.719e-06/0.005329, allocations: 3.938 kB / 350.9 MB, free: 6.227 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004604/0.005789, allocations: 447.9 kB / 351.3 MB, free: 5.754 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.251e-05/0.005832, allocations: 8.031 kB / 351.3 MB, free: 5.746 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.047e-05/0.005892, allocations: 16.84 kB / 351.3 MB, free: 5.73 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001682/0.00606, allocations: 152.3 kB / 351.5 MB, free: 5.555 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.269e-05/0.006083, allocations: 384 / 351.5 MB, free: 5.555 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.179e-05/0.006095, allocations: 384 / 351.5 MB, free: 5.555 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000142/0.006237, allocations: 58.94 kB / 351.5 MB, free: 5.488 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.104e-05/0.006248, allocations: 11.94 kB / 351.5 MB, free: 5.477 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.117e-05/0.006259, allocations: 0 / 351.5 MB, free: 5.477 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.193e-06/0.006266, allocations: 0 / 351.5 MB, free: 5.477 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.314e-05/0.0063, allocations: 7.984 kB / 351.5 MB, free: 5.469 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001409/0.00644, allocations: 140.7 kB / 351.7 MB, free: 5.297 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001136/0.006554, allocations: 51.05 kB / 351.7 MB, free: 5.234 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.994e-05/0.006584, allocations: 15.69 kB / 351.7 MB, free: 5.215 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.523e-05/0.006599, allocations: 4 kB / 351.7 MB, free: 5.211 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001065/0.006706, allocations: 65.05 kB / 351.8 MB, free: 5.133 MB / 282.7 MB Notification: Performance of pre-optimization done (n=5): time 1.643e-06/0.006707, allocations: 4 kB / 351.8 MB, free: 5.129 MB / 282.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002079/0.006915, allocations: 85.5 kB / 351.9 MB, free: 5.039 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.862e-05/0.006944, allocations: 55.41 kB / 352 MB, free: 4.973 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001141/0.007058, allocations: 238.6 kB / 352.2 MB, free: 4.723 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.1e-05/0.007069, allocations: 25.7 kB / 352.2 MB, free: 4.691 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.838e-05/0.007107, allocations: 154.9 kB / 352.4 MB, free: 4.535 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.758e-05/0.007145, allocations: 15.89 kB / 352.4 MB, free: 4.52 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.413e-05/0.007179, allocations: 27.36 kB / 352.4 MB, free: 4.484 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 6.744e-05/0.007247, allocations: 0.5001 MB / 352.9 MB, free: 3.973 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.751e-05/0.007274, allocations: 7.938 kB / 352.9 MB, free: 3.965 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.045e-05/0.007304, allocations: 35.36 kB / 352.9 MB, free: 3.922 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.162e-05/0.007356, allocations: 35.56 kB / 353 MB, free: 3.879 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.504e-06/0.007359, allocations: 0 / 353 MB, free: 3.879 MB / 282.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 9.595e-05/0.007455, allocations: 77.59 kB / 353.1 MB, free: 3.797 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.447e-05/0.007469, allocations: 4 kB / 353.1 MB, free: 3.793 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.001e-06/0.007475, allocations: 3.938 kB / 353.1 MB, free: 3.789 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.4e-05/0.007489, allocations: 4 kB / 353.1 MB, free: 3.785 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.048e-05/0.00757, allocations: 11.94 kB / 353.1 MB, free: 3.773 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.283e-06/0.007577, allocations: 8.016 kB / 353.1 MB, free: 3.766 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.653e-05/0.007613, allocations: 11.94 kB / 353.1 MB, free: 3.754 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.192e-06/0.00762, allocations: 0 / 353.1 MB, free: 3.754 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 (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 5.743e-05/0.007677, allocations: 156.6 kB / 353.3 MB, free: 3.59 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.468e-05/0.007692, allocations: 19.89 kB / 353.3 MB, free: 3.57 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001275/0.007819, allocations: 86.77 kB / 353.4 MB, free: 3.477 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.823e-06/0.007821, allocations: 0 / 353.4 MB, free: 3.477 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.588e-06/0.007825, allocations: 4 kB / 353.4 MB, free: 3.473 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.678e-06/0.00783, allocations: 3.984 kB / 353.4 MB, free: 3.469 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.393e-05/0.007914, allocations: 140.6 kB / 353.5 MB, free: 3.297 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.963e-06/0.007916, allocations: 7.938 kB / 353.5 MB, free: 3.289 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.269e-05/0.007939, allocations: 4 kB / 353.5 MB, free: 3.285 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.976e-06/0.007942, allocations: 0 / 353.5 MB, free: 3.285 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.985e-06/0.00795, allocations: 4 kB / 353.5 MB, free: 3.281 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/0.007952, allocations: 3.938 kB / 353.5 MB, free: 3.277 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.007953, allocations: 0 / 353.5 MB, free: 3.277 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.917e-05/0.008042, allocations: 116.4 kB / 353.6 MB, free: 3.141 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.479e-05/0.008057, allocations: 11.91 kB / 353.6 MB, free: 3.129 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.734e-05/0.008074, allocations: 0 / 353.6 MB, free: 3.129 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.423e-05/0.008099, allocations: 4.125 kB / 353.7 MB, free: 3.125 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.761e-05/0.008136, allocations: 11.98 kB / 353.7 MB, free: 3.113 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.177e-05/0.008148, allocations: 8 kB / 353.7 MB, free: 3.105 MB / 282.7 MB Notification: Performance of sorting global known variables: time 5.98e-05/0.008208, allocations: 171.2 kB / 353.8 MB, free: 2.938 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.008208, allocations: 0 / 353.8 MB, free: 2.938 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001504/0.008358, allocations: 31.86 kB / 353.9 MB, free: 2.906 MB / 282.7 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.0007989/0.009157, allocations: 392.8 kB / 354.3 MB, free: 2.613 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001277/0.009285, allocations: 35.67 kB / 354.3 MB, free: 2.574 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.009287, allocations: 0 / 354.3 MB, free: 2.574 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.49e-05/0.009322, allocations: 31.61 kB / 354.3 MB, free: 2.539 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002131/0.009535, allocations: 21.23 kB / 354.3 MB, free: 2.52 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003276/0.009863, allocations: 209.2 kB / 354.5 MB, free: 2.289 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.872e-05/0.009891, allocations: 67.33 kB / 354.6 MB, free: 2.203 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.148e-05/0.009923, allocations: 20.53 kB / 354.6 MB, free: 2.184 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.593e-05/0.009949, allocations: 16.48 kB / 354.6 MB, free: 2.164 MB / 282.7 MB Notification: Performance of SimCode: time 5.81e-07/0.009949, allocations: 0 / 354.6 MB, free: 2.164 MB / 282.7 MB Notification: Performance of Templates: time 0.003602/0.01355, allocations: 1.737 MB / 356.4 MB, free: 456 kB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test65.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test65.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test65.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test65.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test65.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test65 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test65.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test65_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test65/Test65.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.4229872785508633]