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.002078/0.002078, allocations: 84.23 kB / 20.21 MB, free: 4.227 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.003048/0.003048, allocations: 157.6 kB / 23.52 MB, free: 0.918 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.526/1.526, allocations: 158.6 MB / 185.3 MB, free: 2.883 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.2443/0.2443, allocations: 32.38 MB / 270 MB, free: 14.77 MB / 266.7 MB " [Timeout remaining time 179] 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.1.",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.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test62") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.064e-06/2.064e-06, allocations: 0 / 347 MB, free: 9.734 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.03e-05/3.236e-05, allocations: 2.312 kB / 347 MB, free: 9.73 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test62): time 0.002777/0.00281, allocations: 1.652 MB / 348.7 MB, free: 8.066 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001226/0.004036, allocations: 0.7454 MB / 349.4 MB, free: 7.312 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.304e-05/0.004109, allocations: 0 / 349.4 MB, free: 7.312 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003765/0.004485, allocations: 59.75 kB / 349.5 MB, free: 7.254 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002494/0.004735, allocations: 63.62 kB / 349.5 MB, free: 7.191 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002392/0.004974, allocations: 83.69 kB / 349.6 MB, free: 7.109 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001842/0.005158, allocations: 91.7 kB / 349.7 MB, free: 7.02 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.232e-05/0.0052, allocations: 8 kB / 349.7 MB, free: 7.012 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.37e-05/0.005294, allocations: 51.83 kB / 349.8 MB, free: 6.961 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.196e-05/0.005376, allocations: 27.91 kB / 349.8 MB, free: 6.934 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.266e-05/0.005399, allocations: 4 kB / 349.8 MB, free: 6.93 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.9e-05/0.005478, allocations: 27.94 kB / 349.8 MB, free: 6.902 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 6.668e-05/0.005544, allocations: 31.84 kB / 349.8 MB, free: 6.871 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 5.6e-05/0.0056, allocations: 19.92 kB / 349.9 MB, free: 6.852 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002113/0.005812, allocations: 119.6 kB / 350 MB, free: 6.734 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.005816, allocations: 0 / 350 MB, free: 6.734 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.492e-06/0.005818, allocations: 0 / 350 MB, free: 6.734 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.27e-06/0.005823, allocations: 3.938 kB / 350 MB, free: 6.73 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.0005751/0.006398, allocations: 357.5 kB / 350.3 MB, free: 6.352 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.35e-05/0.006442, allocations: 12.03 kB / 350.4 MB, free: 6.34 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.858e-05/0.00651, allocations: 16.84 kB / 350.4 MB, free: 6.324 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002574/0.006768, allocations: 157.3 kB / 350.5 MB, free: 6.145 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.869e-05/0.006786, allocations: 4.375 kB / 350.5 MB, free: 6.141 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.192e-05/0.006798, allocations: 384 / 350.5 MB, free: 6.141 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001418/0.00694, allocations: 50.23 kB / 350.6 MB, free: 6.086 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.034e-05/0.00695, allocations: 3.938 kB / 350.6 MB, free: 6.082 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.24e-05/0.006963, allocations: 0 / 350.6 MB, free: 6.082 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.951e-06/0.006969, allocations: 0 / 350.6 MB, free: 6.082 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.877e-05/0.007048, allocations: 19.92 kB / 350.6 MB, free: 6.062 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001731/0.007221, allocations: 145.3 kB / 350.7 MB, free: 5.891 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000158/0.007379, allocations: 46.62 kB / 350.8 MB, free: 5.836 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.5e-05/0.007434, allocations: 20.84 kB / 350.8 MB, free: 5.812 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.103e-05/0.007455, allocations: 0 / 350.8 MB, free: 5.812 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001446/0.007599, allocations: 75.27 kB / 350.9 MB, free: 5.727 MB / 282.7 MB Notification: Performance of pre-optimization done (n=5): time 9.52e-07/0.0076, allocations: 0 / 350.9 MB, free: 5.727 MB / 282.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003271/0.007927, allocations: 109.5 kB / 351 MB, free: 5.613 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.999e-05/0.007957, allocations: 51.41 kB / 351 MB, free: 5.551 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001931/0.00815, allocations: 263.5 kB / 351.3 MB, free: 5.281 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.179e-05/0.008162, allocations: 33.7 kB / 351.3 MB, free: 5.242 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.421e-05/0.008206, allocations: 108.1 kB / 351.4 MB, free: 5.133 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.155e-05/0.008238, allocations: 15.84 kB / 351.4 MB, free: 5.117 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.368e-05/0.008272, allocations: 21.7 kB / 351.5 MB, free: 5.09 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 6.653e-05/0.008338, allocations: 330.8 kB / 351.8 MB, free: 4.758 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.753e-05/0.008386, allocations: 12 kB / 351.8 MB, free: 4.746 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.787e-05/0.008434, allocations: 29.64 kB / 351.8 MB, free: 4.711 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.595e-05/0.008519, allocations: 45.7 kB / 351.9 MB, free: 4.66 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.008522, allocations: 4 kB / 351.9 MB, free: 4.656 MB / 282.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001477/0.00867, allocations: 97.52 kB / 352 MB, free: 4.555 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.477e-05/0.008684, allocations: 4 kB / 352 MB, free: 4.551 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.6e-06/0.00869, allocations: 3.938 kB / 352 MB, free: 4.547 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.183e-05/0.008712, allocations: 0 / 352 MB, free: 4.547 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.734e-05/0.008789, allocations: 12.31 kB / 352 MB, free: 4.535 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.691e-06/0.008795, allocations: 0 / 352 MB, free: 4.535 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.715e-05/0.008842, allocations: 11.98 kB / 352 MB, free: 4.523 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.462e-06/0.008849, allocations: 0 / 352 MB, free: 4.523 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 8.185e-05/0.00893, allocations: 138.8 kB / 352.1 MB, free: 4.379 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.296e-05/0.008953, allocations: 15.91 kB / 352.2 MB, free: 4.363 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000188/0.009141, allocations: 110.7 kB / 352.3 MB, free: 4.246 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.235e-06/0.009144, allocations: 0 / 352.3 MB, free: 4.246 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.359e-06/0.009148, allocations: 4 kB / 352.3 MB, free: 4.242 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.009151, allocations: 0 / 352.3 MB, free: 4.242 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001/0.009251, allocations: 137.3 kB / 352.4 MB, free: 4.078 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.009252, allocations: 0 / 352.4 MB, free: 4.078 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.496e-05/0.009277, allocations: 7.984 kB / 352.4 MB, free: 4.07 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.009278, allocations: 0 / 352.4 MB, free: 4.07 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.496e-06/0.009287, allocations: 4 kB / 352.4 MB, free: 4.066 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.874e-06/0.009289, allocations: 7.938 kB / 352.4 MB, free: 4.059 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.31e-07/0.00929, allocations: 0 / 352.4 MB, free: 4.059 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001618/0.009452, allocations: 121 kB / 352.5 MB, free: 3.922 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.954e-05/0.009471, allocations: 15.84 kB / 352.6 MB, free: 3.906 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.211e-05/0.009503, allocations: 4 kB / 352.6 MB, free: 3.902 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.077e-05/0.009544, allocations: 11.92 kB / 352.6 MB, free: 3.891 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.138e-05/0.009585, allocations: 0 / 352.6 MB, free: 3.891 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.207e-05/0.009597, allocations: 4 kB / 352.6 MB, free: 3.887 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001302/0.009728, allocations: 203.3 kB / 352.8 MB, free: 3.688 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.009728, allocations: 0 / 352.8 MB, free: 3.688 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002166/0.009944, allocations: 27.94 kB / 352.8 MB, free: 3.66 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.001971/0.01192, allocations: 431.9 kB / 353.2 MB, free: 3.34 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.000167/0.01208, allocations: 47.91 kB / 353.3 MB, free: 3.293 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.01208, allocations: 0 / 353.3 MB, free: 3.293 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 5.853e-05/0.01214, allocations: 16 kB / 353.3 MB, free: 3.277 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003226/0.01247, allocations: 37.44 kB / 353.3 MB, free: 3.242 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004894/0.01295, allocations: 268.1 kB / 353.6 MB, free: 2.957 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.864e-05/0.01303, allocations: 100.9 kB / 353.7 MB, free: 2.836 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 4.368e-05/0.01308, allocations: 16.42 kB / 353.7 MB, free: 2.82 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.569e-05/0.01311, allocations: 16.5 kB / 353.7 MB, free: 2.805 MB / 282.7 MB Notification: Performance of SimCode: time 7.81e-07/0.01311, allocations: 0 / 353.7 MB, free: 2.805 MB / 282.7 MB Notification: Performance of Templates: time 0.004637/0.01775, allocations: 1.631 MB / 355.3 MB, free: 1.188 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=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test62.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test62.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: 5.167422111961059]