Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_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.001057/0.001057, allocations: 78.66 kB / 21.42 MB, free: 3.074 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.001576/0.001576, allocations: 164.4 kB / 24.82 MB, free: 9.266 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 1.15/1.15, allocations: 177.1 MB / 205.3 MB, free: 5.473 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.2938/0.2938, allocations: 34.26 MB / 296.1 MB, free: 0.7266 MB / 266.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.Test65,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_4.1.0_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_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test65") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.814e-06/1.814e-06, allocations: 0 / 378.6 MB, free: 2.316 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.725e-05/3.906e-05, allocations: 6.25 kB / 378.6 MB, free: 2.309 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test65): time 0.002979/0.003018, allocations: 1.704 MB / 380.3 MB, free: 0.5898 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001393/0.004411, allocations: 0.9742 MB / 381.3 MB, free: 15.61 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001031/0.004514, allocations: 3.938 kB / 381.3 MB, free: 15.61 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003499/0.004864, allocations: 95.62 kB / 381.4 MB, free: 15.51 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003906/0.005255, allocations: 115.5 kB / 381.5 MB, free: 15.4 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002472/0.005502, allocations: 75.61 kB / 381.5 MB, free: 15.32 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002158/0.005718, allocations: 119.6 kB / 381.7 MB, free: 15.21 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.936e-05/0.005767, allocations: 4.234 kB / 381.7 MB, free: 15.2 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001136/0.005881, allocations: 59.83 kB / 381.7 MB, free: 15.14 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000117/0.005998, allocations: 51.88 kB / 381.8 MB, free: 15.09 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.663e-05/0.006014, allocations: 4 kB / 381.8 MB, free: 15.09 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.065e-05/0.006105, allocations: 35.92 kB / 381.8 MB, free: 15.05 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 5.478e-05/0.00616, allocations: 31.84 kB / 381.8 MB, free: 15.02 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 4.625e-05/0.006206, allocations: 19.94 kB / 381.9 MB, free: 15 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001904/0.006396, allocations: 95.59 kB / 382 MB, free: 14.91 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.006401, allocations: 0 / 382 MB, free: 14.91 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.292e-06/0.006403, allocations: 0 / 382 MB, free: 14.91 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.579e-06/0.006407, allocations: 0 / 382 MB, free: 14.91 MB / 362.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.0004923/0.006899, allocations: 455.8 kB / 382.4 MB, free: 14.43 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.393e-05/0.006943, allocations: 8.031 kB / 382.4 MB, free: 14.42 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.458e-05/0.006988, allocations: 16.89 kB / 382.4 MB, free: 14.41 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001811/0.007169, allocations: 152.4 kB / 382.6 MB, free: 14.23 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.045e-05/0.00719, allocations: 384 / 382.6 MB, free: 14.23 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.07e-05/0.0072, allocations: 4.375 kB / 382.6 MB, free: 14.23 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001376/0.007338, allocations: 62.92 kB / 382.6 MB, free: 14.16 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.876e-06/0.007347, allocations: 3.938 kB / 382.6 MB, free: 14.15 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.213e-06/0.007354, allocations: 0 / 382.6 MB, free: 14.15 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.438e-06/0.007358, allocations: 3.938 kB / 382.6 MB, free: 14.15 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.193e-05/0.00738, allocations: 7.984 kB / 382.7 MB, free: 14.14 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001314/0.007512, allocations: 117.3 kB / 382.8 MB, free: 14 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.411e-05/0.007596, allocations: 43.11 kB / 382.8 MB, free: 13.95 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.204e-05/0.007618, allocations: 19.67 kB / 382.8 MB, free: 13.92 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.468e-05/0.007633, allocations: 0 / 382.8 MB, free: 13.92 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001247/0.007757, allocations: 72.94 kB / 382.9 MB, free: 13.84 MB / 362.7 MB Notification: Performance of pre-optimization done (n=5): time 1.603e-06/0.007759, allocations: 0 / 382.9 MB, free: 13.84 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002093/0.007968, allocations: 81.56 kB / 383 MB, free: 13.75 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.997e-05/0.008008, allocations: 51.41 kB / 383 MB, free: 13.69 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000163/0.008171, allocations: 234.7 kB / 383.3 MB, free: 13.44 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.912e-05/0.00819, allocations: 33.7 kB / 383.3 MB, free: 13.4 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.436e-05/0.008265, allocations: 154.8 kB / 383.4 MB, free: 13.24 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.234e-05/0.008307, allocations: 23.84 kB / 383.5 MB, free: 13.22 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.518e-05/0.008352, allocations: 27.36 kB / 383.5 MB, free: 13.18 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001643/0.008517, allocations: 0.4923 MB / 384 MB, free: 12.68 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.202e-05/0.008549, allocations: 11.98 kB / 384 MB, free: 12.67 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.074e-05/0.008579, allocations: 31.23 kB / 384 MB, free: 12.63 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.087e-05/0.00863, allocations: 35.36 kB / 384.1 MB, free: 12.59 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.885e-06/0.008633, allocations: 0 / 384.1 MB, free: 12.59 MB / 362.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001172/0.00875, allocations: 77.53 kB / 384.1 MB, free: 12.5 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.559e-05/0.008766, allocations: 4 kB / 384.1 MB, free: 12.5 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.763e-06/0.008773, allocations: 4.031 kB / 384.1 MB, free: 12.5 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.721e-05/0.00879, allocations: 3.938 kB / 384.2 MB, free: 12.49 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.814e-05/0.008868, allocations: 12.31 kB / 384.2 MB, free: 12.48 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.549e-06/0.008873, allocations: 0 / 384.2 MB, free: 12.48 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.175e-05/0.008914, allocations: 3.984 kB / 384.2 MB, free: 12.48 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.44e-06/0.00892, allocations: 8 kB / 384.2 MB, free: 12.47 MB / 362.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 9.268e-05/0.009012, allocations: 168 kB / 384.3 MB, free: 12.3 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.893e-05/0.009031, allocations: 11.91 kB / 384.4 MB, free: 12.29 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001453/0.009177, allocations: 78.98 kB / 384.4 MB, free: 12.2 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.91e-06/0.009181, allocations: 7.938 kB / 384.4 MB, free: 12.2 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.084e-06/0.009184, allocations: 0 / 384.4 MB, free: 12.2 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.821e-06/0.009189, allocations: 0 / 384.4 MB, free: 12.2 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001336/0.009323, allocations: 125.2 kB / 384.6 MB, free: 12.05 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.086e-06/0.009326, allocations: 0 / 384.6 MB, free: 12.05 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.172e-05/0.009358, allocations: 4 kB / 384.6 MB, free: 12.04 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.464e-06/0.00936, allocations: 0 / 384.6 MB, free: 12.04 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.785e-06/0.009368, allocations: 4 kB / 384.6 MB, free: 12.04 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.405e-06/0.00937, allocations: 3.984 kB / 384.6 MB, free: 12.04 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.009372, allocations: 4 kB / 384.6 MB, free: 12.03 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001151/0.009487, allocations: 120.2 kB / 384.7 MB, free: 11.89 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.708e-05/0.009504, allocations: 11.95 kB / 384.7 MB, free: 11.88 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.587e-05/0.00952, allocations: 0 / 384.7 MB, free: 11.88 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.349e-05/0.009554, allocations: 7.984 kB / 384.7 MB, free: 11.87 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.692e-05/0.009591, allocations: 0 / 384.7 MB, free: 11.87 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.109e-05/0.009612, allocations: 7.938 kB / 384.7 MB, free: 11.86 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001058/0.009718, allocations: 177 kB / 384.9 MB, free: 11.69 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.009718, allocations: 0 / 384.9 MB, free: 11.69 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000168/0.009886, allocations: 23.94 kB / 384.9 MB, free: 11.67 MB / 362.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.0009945/0.01088, allocations: 382.7 kB / 385.3 MB, free: 11.43 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001278/0.01101, allocations: 35.61 kB / 385.3 MB, free: 11.39 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.315e-06/0.01101, allocations: 0 / 385.3 MB, free: 11.39 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.868e-05/0.01105, allocations: 27.78 kB / 385.4 MB, free: 11.36 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002255/0.01127, allocations: 42.56 kB / 385.4 MB, free: 11.32 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003834/0.01166, allocations: 208.8 kB / 385.6 MB, free: 11.09 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.066e-05/0.0117, allocations: 67.28 kB / 385.7 MB, free: 11 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.901e-05/0.01174, allocations: 12.48 kB / 385.7 MB, free: 10.99 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.073e-05/0.01182, allocations: 86.19 kB / 385.8 MB, free: 10.9 MB / 362.7 MB Notification: Performance of SimCode: time 7.51e-07/0.01182, allocations: 0 / 385.8 MB, free: 10.9 MB / 362.7 MB Notification: Performance of Templates: time 0.003941/0.01576, allocations: 1.788 MB / 387.5 MB, free: 9.141 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test65.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test65.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test65.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test65.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test65.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test65 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test65.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test65_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/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.4276620321907103]