Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test57.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.001588/0.001588, allocations: 71.77 kB / 21.69 MB, free: 2.855 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.001173/0.001173, allocations: 166.4 kB / 24.99 MB, free: 8.746 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.057/1.057, allocations: 177.1 MB / 205.3 MB, free: 5.645 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.3101/0.3101, allocations: 34.26 MB / 296 MB, free: 0.7773 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.Test57,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test57") translateModel(ModelicaTest.Tables.CombiTimeTable.Test57,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test57") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.695e-06/2.695e-06, allocations: 0 / 378.1 MB, free: 2.898 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.15e-05/3.419e-05, allocations: 2.312 kB / 378.1 MB, free: 2.895 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test57): time 0.003313/0.003347, allocations: 1.77 MB / 379.9 MB, free: 1.109 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002113/0.00546, allocations: 1.726 MB / 381.6 MB, free: 15.38 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001097/0.00557, allocations: 3.938 kB / 381.6 MB, free: 15.37 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003353/0.005905, allocations: 31.83 kB / 381.6 MB, free: 15.34 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004096/0.006315, allocations: 111.3 kB / 381.7 MB, free: 15.23 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002269/0.006542, allocations: 83.59 kB / 381.8 MB, free: 15.15 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.000174/0.006716, allocations: 103.7 kB / 381.9 MB, free: 15.05 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001158/0.006832, allocations: 11.98 kB / 381.9 MB, free: 15.04 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001115/0.006943, allocations: 59.77 kB / 382 MB, free: 14.98 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001208/0.007064, allocations: 31.89 kB / 382 MB, free: 14.95 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.007e-05/0.007084, allocations: 8 kB / 382 MB, free: 14.94 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002646/0.007348, allocations: 103.8 kB / 382.1 MB, free: 14.84 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 6.685e-05/0.007415, allocations: 23.86 kB / 382.2 MB, free: 14.81 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 4.994e-05/0.007465, allocations: 23.92 kB / 382.2 MB, free: 14.79 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000294/0.007759, allocations: 159.5 kB / 382.3 MB, free: 14.63 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.007765, allocations: 0 / 382.3 MB, free: 14.63 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.565e-06/0.007767, allocations: 0 / 382.3 MB, free: 14.63 MB / 362.7 MB Notification: Performance of Transformations before backend: time 7.244e-06/0.007774, allocations: 0 / 382.3 MB, free: 14.63 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005555/0.00833, allocations: 455.8 kB / 382.8 MB, free: 14.15 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.046e-05/0.00837, allocations: 8.031 kB / 382.8 MB, free: 14.14 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.943e-05/0.00843, allocations: 12.89 kB / 382.8 MB, free: 14.13 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000205/0.008635, allocations: 144 kB / 382.9 MB, free: 13.97 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.086e-05/0.008656, allocations: 12.38 kB / 383 MB, free: 13.96 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.28e-05/0.008678, allocations: 4.375 kB / 383 MB, free: 13.95 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002682/0.008947, allocations: 115.3 kB / 383.1 MB, free: 13.82 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.499e-05/0.008962, allocations: 3.953 kB / 383.1 MB, free: 13.81 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.327e-05/0.008975, allocations: 0 / 383.1 MB, free: 13.81 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.809e-06/0.008985, allocations: 0 / 383.1 MB, free: 13.81 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.254e-05/0.009027, allocations: 15.98 kB / 383.1 MB, free: 13.8 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003677/0.009395, allocations: 275.8 kB / 383.4 MB, free: 13.49 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001323/0.009527, allocations: 59.09 kB / 383.4 MB, free: 13.42 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.155e-05/0.009559, allocations: 19.69 kB / 383.4 MB, free: 13.4 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.512e-05/0.009574, allocations: 4 kB / 383.4 MB, free: 13.39 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001455/0.009719, allocations: 69.05 kB / 383.5 MB, free: 13.31 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.673e-06/0.009721, allocations: 0 / 383.5 MB, free: 13.31 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005234/0.01024, allocations: 157.3 kB / 383.7 MB, free: 13.15 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.087e-05/0.01032, allocations: 85.11 kB / 383.7 MB, free: 13.05 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001719/0.01049, allocations: 216.8 kB / 384 MB, free: 12.82 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.439e-05/0.0105, allocations: 25.7 kB / 384 MB, free: 12.79 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.647e-05/0.01056, allocations: 146.9 kB / 384.1 MB, free: 12.64 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.588e-05/0.01058, allocations: 27.8 kB / 384.2 MB, free: 12.62 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.245e-05/0.01063, allocations: 31.36 kB / 384.2 MB, free: 12.58 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0003229/0.01095, allocations: 0.5 MB / 384.7 MB, free: 12.07 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.377e-05/0.01098, allocations: 15.94 kB / 384.7 MB, free: 12.05 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.185e-05/0.01103, allocations: 68.75 kB / 384.8 MB, free: 11.96 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.464e-05/0.0111, allocations: 47.44 kB / 384.8 MB, free: 11.91 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.172e-06/0.0111, allocations: 0 / 384.8 MB, free: 11.91 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001283/0.01123, allocations: 97.5 kB / 384.9 MB, free: 11.81 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.591e-05/0.01124, allocations: 4 kB / 384.9 MB, free: 11.8 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.53e-06/0.01125, allocations: 8.062 kB / 384.9 MB, free: 11.8 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.634e-05/0.01127, allocations: 0 / 384.9 MB, free: 11.8 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.196e-05/0.01135, allocations: 12 kB / 384.9 MB, free: 11.79 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.723e-06/0.01136, allocations: 7.922 kB / 384.9 MB, free: 11.78 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.695e-05/0.01139, allocations: 8 kB / 384.9 MB, free: 11.77 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.476e-06/0.0114, allocations: 4 kB / 384.9 MB, free: 11.77 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 (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 8.143e-05/0.01148, allocations: 164.5 kB / 385.1 MB, free: 11.59 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.005e-05/0.0115, allocations: 11.94 kB / 385.1 MB, free: 11.58 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001788/0.01168, allocations: 106.4 kB / 385.2 MB, free: 11.47 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.945e-06/0.01168, allocations: 0 / 385.2 MB, free: 11.47 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.557e-06/0.01169, allocations: 4 kB / 385.2 MB, free: 11.46 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.867e-06/0.01169, allocations: 0 / 385.2 MB, free: 11.46 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003213/0.01201, allocations: 392.9 kB / 385.6 MB, free: 11.04 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.01201, allocations: 0 / 385.6 MB, free: 11.04 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.111e-05/0.01205, allocations: 8 kB / 385.6 MB, free: 11.03 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.697e-06/0.01205, allocations: 0 / 385.6 MB, free: 11.03 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.358e-06/0.01206, allocations: 4 kB / 385.6 MB, free: 11.02 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.655e-06/0.01206, allocations: 0 / 385.6 MB, free: 11.02 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.844e-06/0.01206, allocations: 384 / 385.6 MB, free: 11.02 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001576/0.01222, allocations: 263.4 kB / 385.9 MB, free: 10.74 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.36e-05/0.01223, allocations: 15.97 kB / 385.9 MB, free: 10.73 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.326e-05/0.01226, allocations: 8 kB / 385.9 MB, free: 10.72 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.208e-05/0.01231, allocations: 4 kB / 385.9 MB, free: 10.71 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.558e-05/0.01235, allocations: 11.92 kB / 385.9 MB, free: 10.7 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.383e-05/0.01236, allocations: 4 kB / 385.9 MB, free: 10.7 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.774e-05/0.01244, allocations: 165.9 kB / 386.1 MB, free: 10.54 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01244, allocations: 0 / 386.1 MB, free: 10.54 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002331/0.01267, allocations: 51.8 kB / 386.1 MB, free: 10.49 MB / 362.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.00129/0.01396, allocations: 0.5378 MB / 386.7 MB, free: 10.15 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001561/0.01412, allocations: 59.59 kB / 386.7 MB, free: 10.09 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.01412, allocations: 0 / 386.7 MB, free: 10.09 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.386e-05/0.01416, allocations: 31.67 kB / 386.8 MB, free: 10.05 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002512/0.01441, allocations: 34.5 kB / 386.8 MB, free: 10.02 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003914/0.0148, allocations: 205.8 kB / 387 MB, free: 9.789 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.174e-05/0.01485, allocations: 63.34 kB / 387.1 MB, free: 9.707 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.183e-05/0.0149, allocations: 25.39 kB / 387.1 MB, free: 9.68 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.8e-05/0.01494, allocations: 24.48 kB / 387.1 MB, free: 9.656 MB / 362.7 MB Notification: Performance of SimCode: time 8.31e-07/0.01494, allocations: 0 / 387.1 MB, free: 9.656 MB / 362.7 MB Notification: Performance of Templates: time 0.004324/0.01926, allocations: 2.521 MB / 389.6 MB, free: 7.16 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test57.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test57.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test57.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test57.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test57.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test57 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test57.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test57_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test57/Test57.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.3585067780222744]