Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test54.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.002437/0.002437, allocations: 91.61 kB / 20.96 MB, free: 3.465 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.00277/0.00277, allocations: 161.6 kB / 24.27 MB, free: 156 kB / 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.631/1.631, allocations: 177.1 MB / 204.6 MB, free: 5.605 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3309/0.3309, allocations: 32.8 MB / 293.9 MB, free: 1.211 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.Test54,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test54") translateModel(ModelicaTest.Tables.CombiTimeTable.Test54,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test54") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.774e-06/1.774e-06, allocations: 0 / 375.3 MB, free: 4.918 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.773e-05/3.951e-05, allocations: 13.77 kB / 375.4 MB, free: 4.906 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test54): time 0.003301/0.00334, allocations: 1.739 MB / 377.1 MB, free: 3.152 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001935/0.005275, allocations: 0.9937 MB / 378.1 MB, free: 2.152 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.209e-05/0.005337, allocations: 0 / 378.1 MB, free: 2.152 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002917/0.005629, allocations: 51.69 kB / 378.1 MB, free: 2.102 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003197/0.005949, allocations: 103.5 kB / 378.2 MB, free: 2 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002171/0.006166, allocations: 79.59 kB / 378.3 MB, free: 1.922 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001926/0.006358, allocations: 107.6 kB / 378.4 MB, free: 1.816 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.625e-05/0.006435, allocations: 4 kB / 378.4 MB, free: 1.812 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001198/0.006554, allocations: 59.81 kB / 378.5 MB, free: 1.754 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.746e-05/0.006632, allocations: 27.86 kB / 378.5 MB, free: 1.727 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.143e-05/0.006653, allocations: 4 kB / 378.5 MB, free: 1.723 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001029/0.006756, allocations: 47.91 kB / 378.6 MB, free: 1.676 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 6.526e-05/0.006821, allocations: 23.92 kB / 378.6 MB, free: 1.652 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 4.805e-05/0.006869, allocations: 19.88 kB / 378.6 MB, free: 1.633 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002384/0.007108, allocations: 123.6 kB / 378.7 MB, free: 1.512 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.945e-06/0.007111, allocations: 4 kB / 378.7 MB, free: 1.508 MB / 346.7 MB Notification: Performance of FrontEnd: time 7.01e-07/0.007112, allocations: 0 / 378.7 MB, free: 1.508 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.128e-06/0.007116, allocations: 0 / 378.7 MB, free: 1.508 MB / 346.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.0006594/0.007775, allocations: 475.3 kB / 379.2 MB, free: 1.008 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.664e-05/0.007812, allocations: 12.03 kB / 379.2 MB, free: 0.9961 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.408e-05/0.007876, allocations: 20.78 kB / 379.2 MB, free: 0.9766 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002567/0.008133, allocations: 157.2 kB / 379.4 MB, free: 0.793 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.711e-05/0.00815, allocations: 4.375 kB / 379.4 MB, free: 0.7891 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.813e-05/0.008168, allocations: 384 / 379.4 MB, free: 0.7891 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001371/0.008305, allocations: 50.23 kB / 379.4 MB, free: 0.7344 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.44e-05/0.008319, allocations: 7.938 kB / 379.4 MB, free: 0.7266 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.166e-05/0.008331, allocations: 4 kB / 379.4 MB, free: 0.7227 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.855e-06/0.008339, allocations: 4 kB / 379.4 MB, free: 0.7188 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.137e-05/0.00841, allocations: 11.98 kB / 379.5 MB, free: 0.707 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004706/0.008881, allocations: 311.8 kB / 379.8 MB, free: 376 kB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001969/0.009078, allocations: 59.17 kB / 379.8 MB, free: 304 kB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.825e-05/0.009146, allocations: 31.59 kB / 379.8 MB, free: 268 kB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.839e-05/0.009164, allocations: 0 / 379.8 MB, free: 268 kB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001835/0.009348, allocations: 80.94 kB / 379.9 MB, free: 172 kB / 346.7 MB Notification: Performance of pre-optimization done (n=6): time 3.827e-06/0.009352, allocations: 4 kB / 379.9 MB, free: 168 kB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006734/0.01003, allocations: 181.3 kB / 380.1 MB, free: 15.98 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.675e-05/0.01008, allocations: 51.41 kB / 380.2 MB, free: 15.91 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003013/0.01038, allocations: 279 kB / 380.4 MB, free: 15.63 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.873e-05/0.01041, allocations: 29.69 kB / 380.5 MB, free: 15.59 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004256/0.01084, allocations: 162.8 kB / 380.6 MB, free: 15.43 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.162e-05/0.01088, allocations: 23.84 kB / 380.6 MB, free: 15.41 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.894e-05/0.01094, allocations: 31.38 kB / 380.7 MB, free: 15.37 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002949/0.01123, allocations: 0.504 MB / 381.2 MB, free: 14.85 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.582e-05/0.01129, allocations: 20 kB / 381.2 MB, free: 14.83 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.999e-05/0.01137, allocations: 43.36 kB / 381.2 MB, free: 14.78 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001317/0.0115, allocations: 75.23 kB / 381.3 MB, free: 14.7 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.61e-07/0.0115, allocations: 0 / 381.3 MB, free: 14.7 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002076/0.01171, allocations: 105.6 kB / 381.4 MB, free: 14.59 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.817e-05/0.01174, allocations: 7.938 kB / 381.4 MB, free: 14.58 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.153e-05/0.01175, allocations: 4 kB / 381.4 MB, free: 14.58 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.544e-05/0.01176, allocations: 0 / 381.4 MB, free: 14.58 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.171e-05/0.01186, allocations: 20.3 kB / 381.4 MB, free: 14.56 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.34e-06/0.01186, allocations: 0 / 381.4 MB, free: 14.56 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.739e-05/0.01191, allocations: 4 kB / 381.5 MB, free: 14.55 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.348e-05/0.01192, allocations: 16.03 kB / 381.5 MB, free: 14.54 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 0.0001476/0.01207, allocations: 172.4 kB / 381.6 MB, free: 14.36 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.437e-05/0.0121, allocations: 15.91 kB / 381.7 MB, free: 14.34 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002748/0.01238, allocations: 123.2 kB / 381.8 MB, free: 14.22 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.555e-06/0.01238, allocations: 0 / 381.8 MB, free: 14.22 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.01238, allocations: 0 / 381.8 MB, free: 14.22 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.376e-06/0.01239, allocations: 4 kB / 381.8 MB, free: 14.21 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005867/0.01297, allocations: 424.9 kB / 382.2 MB, free: 13.75 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.883e-06/0.01298, allocations: 4 kB / 382.2 MB, free: 13.75 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.008e-05/0.01302, allocations: 8 kB / 382.2 MB, free: 13.74 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.615e-06/0.01302, allocations: 4.031 kB / 382.2 MB, free: 13.74 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.167e-05/0.01303, allocations: 4 kB / 382.2 MB, free: 13.73 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.138e-06/0.01304, allocations: 3.938 kB / 382.2 MB, free: 13.73 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.01304, allocations: 0 / 382.2 MB, free: 13.73 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003326/0.01337, allocations: 279.4 kB / 382.5 MB, free: 13.43 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.282e-05/0.01339, allocations: 7.953 kB / 382.5 MB, free: 13.43 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.178e-05/0.01341, allocations: 0 / 382.5 MB, free: 13.43 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.141e-05/0.01349, allocations: 8 kB / 382.5 MB, free: 13.42 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.786e-05/0.01353, allocations: 7.984 kB / 382.5 MB, free: 13.41 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.565e-05/0.01355, allocations: 0 / 382.5 MB, free: 13.41 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002022/0.01375, allocations: 199.1 kB / 382.7 MB, free: 13.21 MB / 362.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01375, allocations: 0 / 382.7 MB, free: 13.21 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002664/0.01402, allocations: 24 kB / 382.7 MB, free: 13.19 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.003353/0.01737, allocations: 495 kB / 383.2 MB, free: 12.91 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002605/0.01763, allocations: 71.55 kB / 383.3 MB, free: 12.84 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.01763, allocations: 0 / 383.3 MB, free: 12.84 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 8.816e-05/0.01772, allocations: 39.61 kB / 383.3 MB, free: 12.79 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003817/0.0181, allocations: 35.8 kB / 383.4 MB, free: 12.76 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005787/0.01868, allocations: 249.4 kB / 383.6 MB, free: 12.49 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001213/0.0188, allocations: 104.7 kB / 383.7 MB, free: 12.37 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.892e-05/0.01886, allocations: 29.39 kB / 383.7 MB, free: 12.34 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.406e-05/0.01891, allocations: 16.5 kB / 383.7 MB, free: 12.32 MB / 362.7 MB Notification: Performance of SimCode: time 8.22e-07/0.01891, allocations: 0 / 383.7 MB, free: 12.32 MB / 362.7 MB Notification: Performance of Templates: time 0.005715/0.02462, allocations: 1.872 MB / 385.6 MB, free: 10.47 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test54.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test54.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test54.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test54.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test54.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test54 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test54.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test54_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test54/Test54.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test54.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.18841888406314]