Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test46.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.0009601/0.0009601, allocations: 81.95 kB / 21.44 MB, free: 3.059 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.001018/0.001018, allocations: 165.7 kB / 24.84 MB, free: 8.711 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.9901/0.9901, allocations: 158.6 MB / 186.7 MB, free: 2.789 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.1666/0.1666, allocations: 32.39 MB / 271.5 MB, free: 14.4 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.Test46,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test46") translateModel(ModelicaTest.Tables.CombiTimeTable.Test46,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test46") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.415e-06/2.415e-06, allocations: 0 / 349 MB, free: 9.086 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.748e-05/2.99e-05, allocations: 2.312 kB / 349 MB, free: 9.082 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test46): time 0.003641/0.003671, allocations: 1.729 MB / 350.7 MB, free: 7.344 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001333/0.005004, allocations: 0.7881 MB / 351.5 MB, free: 6.547 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.978e-05/0.005093, allocations: 0 / 351.5 MB, free: 6.547 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003002/0.005394, allocations: 51.75 kB / 351.6 MB, free: 6.496 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002385/0.005632, allocations: 63.69 kB / 351.6 MB, free: 6.434 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002618/0.005894, allocations: 95.62 kB / 351.7 MB, free: 6.34 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.000164/0.006058, allocations: 87.7 kB / 351.8 MB, free: 6.254 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.562e-05/0.006143, allocations: 12.22 kB / 351.8 MB, free: 6.242 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001002/0.006244, allocations: 51.83 kB / 351.9 MB, free: 6.191 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.047e-05/0.006324, allocations: 23.92 kB / 351.9 MB, free: 6.168 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.896e-05/0.006343, allocations: 4 kB / 351.9 MB, free: 6.164 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001001/0.006443, allocations: 47.91 kB / 351.9 MB, free: 6.117 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.598e-05/0.006499, allocations: 35.86 kB / 352 MB, free: 6.082 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.754e-05/0.006537, allocations: 19.92 kB / 352 MB, free: 6.062 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002095/0.006746, allocations: 119.5 kB / 352.1 MB, free: 5.945 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.00675, allocations: 0 / 352.1 MB, free: 5.945 MB / 282.7 MB Notification: Performance of FrontEnd: time 8.82e-07/0.006751, allocations: 0 / 352.1 MB, free: 5.945 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.338e-06/0.006755, allocations: 0 / 352.1 MB, free: 5.945 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004292/0.007184, allocations: 467.7 kB / 352.6 MB, free: 5.453 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.26e-05/0.007217, allocations: 8.031 kB / 352.6 MB, free: 5.445 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.643e-05/0.007263, allocations: 20.84 kB / 352.6 MB, free: 5.426 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00016/0.007423, allocations: 156.4 kB / 352.7 MB, free: 5.246 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.762e-05/0.007441, allocations: 8.359 kB / 352.8 MB, free: 5.238 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.69e-05/0.007458, allocations: 4.375 kB / 352.8 MB, free: 5.234 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001281/0.007586, allocations: 62.88 kB / 352.8 MB, free: 5.164 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.217e-05/0.007598, allocations: 7.875 kB / 352.8 MB, free: 5.156 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.474e-06/0.007606, allocations: 0 / 352.8 MB, free: 5.156 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.671e-06/0.007611, allocations: 4 kB / 352.8 MB, free: 5.152 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.779e-05/0.007649, allocations: 11.98 kB / 352.8 MB, free: 5.141 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000304/0.007953, allocations: 264.4 kB / 353.1 MB, free: 4.855 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000121/0.008074, allocations: 51.17 kB / 353.2 MB, free: 4.793 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.299e-05/0.008107, allocations: 27.59 kB / 353.2 MB, free: 4.762 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.405e-05/0.008121, allocations: 0 / 353.2 MB, free: 4.762 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001269/0.008248, allocations: 68.97 kB / 353.2 MB, free: 4.68 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 1.904e-06/0.00825, allocations: 0 / 353.2 MB, free: 4.68 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004585/0.008708, allocations: 133.4 kB / 353.4 MB, free: 4.543 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.954e-05/0.008738, allocations: 55.41 kB / 353.4 MB, free: 4.477 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000153/0.008891, allocations: 269.3 kB / 353.7 MB, free: 4.195 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.07e-05/0.008902, allocations: 29.7 kB / 353.7 MB, free: 4.16 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.673e-05/0.008958, allocations: 166.8 kB / 353.9 MB, free: 3.992 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.4e-05/0.008992, allocations: 31.73 kB / 353.9 MB, free: 3.961 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.022e-05/0.009033, allocations: 27.36 kB / 353.9 MB, free: 3.926 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.013e-05/0.009103, allocations: 0.5001 MB / 354.4 MB, free: 3.414 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.48e-05/0.009128, allocations: 11.98 kB / 354.5 MB, free: 3.402 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.399e-05/0.009162, allocations: 31.3 kB / 354.5 MB, free: 3.363 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.526e-05/0.009217, allocations: 47.36 kB / 354.5 MB, free: 3.309 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.009218, allocations: 0 / 354.5 MB, free: 3.309 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001196/0.009338, allocations: 97.52 kB / 354.6 MB, free: 3.207 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.424e-05/0.009352, allocations: 8 kB / 354.6 MB, free: 3.199 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.031e-06/0.009358, allocations: 0 / 354.6 MB, free: 3.199 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.075e-05/0.009369, allocations: 0 / 354.6 MB, free: 3.199 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.321e-05/0.009452, allocations: 15.98 kB / 354.7 MB, free: 3.184 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.377e-06/0.009455, allocations: 4 kB / 354.7 MB, free: 3.18 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.083e-05/0.009496, allocations: 4 kB / 354.7 MB, free: 3.176 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.254e-06/0.009504, allocations: 4 kB / 354.7 MB, free: 3.172 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 (10): * Single equations (assignments): 10 * 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 6.313e-05/0.009567, allocations: 164.5 kB / 354.8 MB, free: 3 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.588e-05/0.009593, allocations: 23.83 kB / 354.8 MB, free: 2.977 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001658/0.009758, allocations: 95.17 kB / 354.9 MB, free: 2.875 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.158e-06/0.009762, allocations: 7.922 kB / 354.9 MB, free: 2.867 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.883e-06/0.009764, allocations: 0 / 354.9 MB, free: 2.867 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.759e-06/0.009769, allocations: 7.938 kB / 355 MB, free: 2.859 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000279/0.01005, allocations: 365.6 kB / 355.3 MB, free: 2.465 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.795e-06/0.01005, allocations: 384 / 355.3 MB, free: 2.465 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.734e-05/0.01009, allocations: 11.98 kB / 355.3 MB, free: 2.453 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.898e-06/0.01009, allocations: 4 kB / 355.3 MB, free: 2.449 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.075e-06/0.0101, allocations: 4 kB / 355.3 MB, free: 2.445 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/0.0101, allocations: 0 / 355.3 MB, free: 2.445 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.263e-06/0.0101, allocations: 4.031 kB / 355.3 MB, free: 2.441 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001592/0.01026, allocations: 255.4 kB / 355.6 MB, free: 2.168 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.713e-05/0.01028, allocations: 11.91 kB / 355.6 MB, free: 2.156 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.169e-05/0.0103, allocations: 8 kB / 355.6 MB, free: 2.148 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.003e-05/0.01037, allocations: 3.984 kB / 355.6 MB, free: 2.145 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.903e-05/0.0104, allocations: 4 kB / 355.6 MB, free: 2.141 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.62e-05/0.01042, allocations: 7.984 kB / 355.6 MB, free: 2.133 MB / 282.7 MB Notification: Performance of sorting global known variables: time 7.991e-05/0.0105, allocations: 184.4 kB / 355.8 MB, free: 1.953 MB / 282.7 MB Notification: Performance of sort global known variables: time 9e-08/0.0105, allocations: 0 / 355.8 MB, free: 1.953 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002715/0.01077, allocations: 27.92 kB / 355.8 MB, free: 1.926 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (9): * Single equations (assignments): 7 * 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.001095/0.01186, allocations: 436.9 kB / 356.3 MB, free: 1.594 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.000148/0.01201, allocations: 55.58 kB / 356.3 MB, free: 1.535 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.01201, allocations: 0 / 356.3 MB, free: 1.535 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.153e-05/0.01204, allocations: 35.59 kB / 356.3 MB, free: 1.496 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002519/0.0123, allocations: 31.78 kB / 356.4 MB, free: 1.465 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003349/0.01263, allocations: 253.6 kB / 356.6 MB, free: 1.188 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.265e-05/0.01266, allocations: 76.39 kB / 356.7 MB, free: 1.094 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.406e-05/0.0127, allocations: 16.48 kB / 356.7 MB, free: 1.078 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.635e-05/0.01275, allocations: 90.19 kB / 356.8 MB, free: 0.9883 MB / 282.7 MB Notification: Performance of SimCode: time 1.012e-06/0.01276, allocations: 3.938 kB / 356.8 MB, free: 0.9844 MB / 282.7 MB Notification: Performance of Templates: time 0.003536/0.01629, allocations: 2.044 MB / 358.8 MB, free: 14.96 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test46.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test46.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test46.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test46.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test46.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test46 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test46.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test46_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test46/Test46.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.363815924152732]