Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test62.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.001033/0.001033, 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.001054/0.001054, allocations: 165 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.9571/0.9571, allocations: 158.6 MB / 185.7 MB, free: 2.926 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.1356/0.1356, allocations: 32.37 MB / 270.4 MB, free: 14.7 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.Test62,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test62") translateModel(ModelicaTest.Tables.CombiTimeTable.Test62,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test62") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.503e-06/1.503e-06, allocations: 3.938 kB / 347.7 MB, free: 9.379 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.619e-05/1.769e-05, allocations: 9.344 kB / 347.8 MB, free: 9.371 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test62): time 0.001782/0.0018, allocations: 1.691 MB / 349.4 MB, free: 7.668 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008157/0.002616, allocations: 0.7843 MB / 350.2 MB, free: 6.875 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.761e-05/0.002683, allocations: 0 / 350.2 MB, free: 6.875 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003126/0.002996, allocations: 55.75 kB / 350.3 MB, free: 6.82 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001894/0.003185, allocations: 63.69 kB / 350.3 MB, free: 6.758 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001469/0.003332, allocations: 83.7 kB / 350.4 MB, free: 6.676 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001156/0.003448, allocations: 87.64 kB / 350.5 MB, free: 6.59 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.467e-05/0.003483, allocations: 7.984 kB / 350.5 MB, free: 6.582 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.014e-05/0.003553, allocations: 55.83 kB / 350.6 MB, free: 6.527 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.976e-05/0.003612, allocations: 15.92 kB / 350.6 MB, free: 6.512 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.77e-05/0.00363, allocations: 4 kB / 350.6 MB, free: 6.508 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.907e-05/0.003689, allocations: 39.86 kB / 350.6 MB, free: 6.469 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.788e-05/0.003737, allocations: 31.91 kB / 350.7 MB, free: 6.438 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.593e-05/0.003773, allocations: 19.88 kB / 350.7 MB, free: 6.418 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000139/0.003912, allocations: 95.66 kB / 350.8 MB, free: 6.324 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.314e-06/0.003914, allocations: 0 / 350.8 MB, free: 6.324 MB / 282.7 MB Notification: Performance of FrontEnd: time 4.51e-07/0.003915, allocations: 0 / 350.8 MB, free: 6.324 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.799e-06/0.00392, allocations: 0 / 350.8 MB, free: 6.324 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.0003655/0.004285, allocations: 459.8 kB / 351.2 MB, free: 5.84 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.414e-05/0.004319, allocations: 8.031 kB / 351.2 MB, free: 5.832 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.207e-05/0.004361, allocations: 16.84 kB / 351.3 MB, free: 5.816 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001357/0.004497, allocations: 164.3 kB / 351.4 MB, free: 5.629 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.549e-05/0.004512, allocations: 4.375 kB / 351.4 MB, free: 5.625 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.094e-05/0.004523, allocations: 384 / 351.4 MB, free: 5.625 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001023/0.004626, allocations: 54.94 kB / 351.5 MB, free: 5.562 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.137e-06/0.004635, allocations: 11.88 kB / 351.5 MB, free: 5.551 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.869e-06/0.004645, allocations: 4 kB / 351.5 MB, free: 5.547 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.613e-06/0.004651, allocations: 0 / 351.5 MB, free: 5.547 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.863e-05/0.00468, allocations: 7.984 kB / 351.5 MB, free: 5.539 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001152/0.004795, allocations: 148.7 kB / 351.6 MB, free: 5.359 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.651e-05/0.004882, allocations: 55.03 kB / 351.7 MB, free: 5.293 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.826e-05/0.00491, allocations: 15.69 kB / 351.7 MB, free: 5.273 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.382e-05/0.004924, allocations: 4 kB / 351.7 MB, free: 5.27 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.016e-05/0.005004, allocations: 65.05 kB / 351.8 MB, free: 5.191 MB / 282.7 MB Notification: Performance of pre-optimization done (n=5): time 6.11e-07/0.005005, allocations: 0 / 351.8 MB, free: 5.191 MB / 282.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001621/0.005167, allocations: 97.45 kB / 351.9 MB, free: 5.09 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.857e-05/0.005185, allocations: 51.41 kB / 351.9 MB, free: 5.027 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001109/0.005296, allocations: 273.4 kB / 352.2 MB, free: 4.742 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 8.285e-06/0.005305, allocations: 25.7 kB / 352.2 MB, free: 4.711 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.546e-05/0.00534, allocations: 158.9 kB / 352.4 MB, free: 4.551 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.594e-05/0.005366, allocations: 15.84 kB / 352.4 MB, free: 4.535 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.494e-05/0.005391, allocations: 31.38 kB / 352.4 MB, free: 4.496 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 5.496e-05/0.005446, allocations: 0.4962 MB / 352.9 MB, free: 3.988 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.062e-05/0.005466, allocations: 11.98 kB / 352.9 MB, free: 3.977 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.892e-05/0.005495, allocations: 27.38 kB / 353 MB, free: 3.941 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.091e-05/0.005546, allocations: 43.55 kB / 353 MB, free: 3.891 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.005549, allocations: 0 / 353 MB, free: 3.891 MB / 282.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 7.595e-05/0.005625, allocations: 73.59 kB / 353.1 MB, free: 3.812 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.155e-05/0.005636, allocations: 4 kB / 353.1 MB, free: 3.809 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.7e-06/0.005642, allocations: 3.938 kB / 353.1 MB, free: 3.805 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.524e-05/0.005657, allocations: 8.031 kB / 353.1 MB, free: 3.797 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.395e-05/0.005721, allocations: 11.94 kB / 353.1 MB, free: 3.785 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.781e-06/0.005727, allocations: 0 / 353.1 MB, free: 3.785 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.956e-05/0.005757, allocations: 11.98 kB / 353.1 MB, free: 3.773 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.139e-06/0.005762, allocations: 0 / 353.1 MB, free: 3.773 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 4.894e-05/0.005811, allocations: 156.6 kB / 353.3 MB, free: 3.609 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.413e-05/0.005825, allocations: 23.89 kB / 353.3 MB, free: 3.586 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001238/0.005949, allocations: 90.7 kB / 353.4 MB, free: 3.488 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.924e-06/0.005951, allocations: 0 / 353.4 MB, free: 3.488 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/0.005955, allocations: 0 / 353.4 MB, free: 3.488 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.289e-06/0.005959, allocations: 7.984 kB / 353.4 MB, free: 3.48 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.929e-05/0.006038, allocations: 160.5 kB / 353.5 MB, free: 3.289 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.006039, allocations: 0 / 353.5 MB, free: 3.289 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.643e-05/0.006056, allocations: 4 kB / 353.5 MB, free: 3.285 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.843e-06/0.006058, allocations: 0 / 353.5 MB, free: 3.285 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.204e-06/0.006065, allocations: 3.984 kB / 353.5 MB, free: 3.281 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.006067, allocations: 3.938 kB / 353.5 MB, free: 3.277 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.006067, allocations: 0 / 353.5 MB, free: 3.277 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.124e-05/0.006149, allocations: 120.5 kB / 353.7 MB, free: 3.137 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.222e-05/0.006161, allocations: 7.906 kB / 353.7 MB, free: 3.129 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.635e-05/0.006177, allocations: 15.98 kB / 353.7 MB, free: 3.113 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.146e-05/0.006199, allocations: 7.938 kB / 353.7 MB, free: 3.105 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.108e-05/0.00623, allocations: 7.938 kB / 353.7 MB, free: 3.098 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.085e-05/0.006241, allocations: 3.984 kB / 353.7 MB, free: 3.094 MB / 282.7 MB Notification: Performance of sorting global known variables: time 6.497e-05/0.006306, allocations: 188.4 kB / 353.9 MB, free: 2.91 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006306, allocations: 0 / 353.9 MB, free: 2.91 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001422/0.006448, allocations: 23.92 kB / 353.9 MB, free: 2.887 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.0007369/0.007185, allocations: 381.2 kB / 354.3 MB, free: 2.602 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 9.806e-05/0.007283, allocations: 35.67 kB / 354.3 MB, free: 2.562 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.007285, allocations: 0 / 354.3 MB, free: 2.562 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.105e-05/0.007316, allocations: 31.61 kB / 354.4 MB, free: 2.527 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001932/0.007509, allocations: 37.09 kB / 354.4 MB, free: 2.492 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000355/0.007864, allocations: 229.8 kB / 354.6 MB, free: 2.242 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.504e-05/0.007899, allocations: 67.34 kB / 354.7 MB, free: 2.156 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.086e-05/0.00793, allocations: 16.47 kB / 354.7 MB, free: 2.141 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.087e-05/0.007961, allocations: 16.5 kB / 354.7 MB, free: 2.121 MB / 282.7 MB Notification: Performance of SimCode: time 1.282e-06/0.007962, allocations: 0 / 354.7 MB, free: 2.121 MB / 282.7 MB Notification: Performance of Templates: time 0.003241/0.0112, allocations: 1.636 MB / 356.3 MB, free: 0.5039 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test62.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test62.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test62.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test62.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test62.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test62 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test62.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test62_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test62/Test62.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.3586659342981875]