Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test73.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.001045/0.001045, allocations: 83.58 kB / 21.19 MB, free: 3.383 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.0022/0.0022, allocations: 161 kB / 24.56 MB, free: 16 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.051/1.051, allocations: 177.1 MB / 205 MB, free: 5.609 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.2556/0.2556, allocations: 34.26 MB / 295.7 MB, free: 0.75 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.Test73,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|t_new_2.y.[0-9,]+.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test73") translateModel(ModelicaTest.Tables.CombiTimeTable.Test73,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|t_new_2.y.[0-9,]+.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test73") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.004e-06/2.004e-06, allocations: 0 / 378.1 MB, free: 2.555 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.878e-05/3.079e-05, allocations: 5.828 kB / 378.1 MB, free: 2.551 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test73): time 0.003089/0.00312, allocations: 1.941 MB / 380.1 MB, free: 0.5938 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001795/0.004915, allocations: 1.107 MB / 381.2 MB, free: 15.48 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001113/0.005027, allocations: 3.938 kB / 381.2 MB, free: 15.48 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004222/0.005449, allocations: 159.3 kB / 381.3 MB, free: 15.32 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004817/0.005931, allocations: 195.2 kB / 381.5 MB, free: 15.13 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002913/0.006222, allocations: 123.5 kB / 381.7 MB, free: 15.01 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003325/0.006554, allocations: 251.2 kB / 381.9 MB, free: 14.76 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000115/0.006669, allocations: 17.95 kB / 381.9 MB, free: 14.75 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001856/0.006855, allocations: 135.7 kB / 382.1 MB, free: 14.61 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001861/0.007041, allocations: 127.7 kB / 382.2 MB, free: 14.49 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.671e-05/0.007068, allocations: 12 kB / 382.2 MB, free: 14.48 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001309/0.007199, allocations: 63.92 kB / 382.3 MB, free: 14.41 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 8.37e-05/0.007282, allocations: 55.77 kB / 382.3 MB, free: 14.36 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 6.593e-05/0.007348, allocations: 43.78 kB / 382.3 MB, free: 14.32 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000288/0.007636, allocations: 187.2 kB / 382.5 MB, free: 14.13 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.386e-06/0.00764, allocations: 0 / 382.5 MB, free: 14.13 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.252e-06/0.007641, allocations: 0 / 382.5 MB, free: 14.13 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.979e-06/0.007646, allocations: 0 / 382.5 MB, free: 14.13 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.000837/0.008483, allocations: 0.573 MB / 383.1 MB, free: 13.52 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.759e-05/0.00852, allocations: 8.031 kB / 383.1 MB, free: 13.52 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.257e-05/0.008583, allocations: 32.8 kB / 383.1 MB, free: 13.48 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002307/0.008814, allocations: 216.6 kB / 383.4 MB, free: 13.24 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.496e-05/0.008839, allocations: 4.375 kB / 383.4 MB, free: 13.24 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.411e-05/0.008873, allocations: 16.3 kB / 383.4 MB, free: 13.22 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002208/0.009094, allocations: 118.2 kB / 383.5 MB, free: 13.09 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.315e-05/0.009107, allocations: 3.938 kB / 383.5 MB, free: 13.09 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.289e-05/0.00912, allocations: 4 kB / 383.5 MB, free: 13.08 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.296e-06/0.009128, allocations: 4 kB / 383.5 MB, free: 13.08 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.014e-05/0.009188, allocations: 31.95 kB / 383.5 MB, free: 13.05 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00056/0.009748, allocations: 0.4945 MB / 384 MB, free: 12.51 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002724/0.01002, allocations: 118.1 kB / 384.1 MB, free: 12.37 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.976e-05/0.01007, allocations: 39.48 kB / 384.2 MB, free: 12.32 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.568e-05/0.01009, allocations: 4 kB / 384.2 MB, free: 12.32 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002006/0.01029, allocations: 124.5 kB / 384.3 MB, free: 12.18 MB / 362.7 MB Notification: Performance of pre-optimization done (n=14): time 1.623e-06/0.01029, allocations: 0 / 384.3 MB, free: 12.18 MB / 362.7 MB Notification: Performance of matching and sorting (n=22): time 0.001013/0.0113, allocations: 448.9 kB / 384.7 MB, free: 11.73 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.899e-05/0.01136, allocations: 89.05 kB / 384.8 MB, free: 11.62 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003734/0.01173, allocations: 354.3 kB / 385.2 MB, free: 11.27 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.029e-05/0.01175, allocations: 29.7 kB / 385.2 MB, free: 11.23 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.449e-05/0.01185, allocations: 207.2 kB / 385.4 MB, free: 11.02 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.503e-05/0.01191, allocations: 79.41 kB / 385.5 MB, free: 10.94 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.957e-05/0.01197, allocations: 51.36 kB / 385.5 MB, free: 10.88 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001436/0.01212, allocations: 0.5118 MB / 386.1 MB, free: 10.36 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.828e-05/0.01217, allocations: 39.91 kB / 386.1 MB, free: 10.32 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.436e-05/0.01225, allocations: 80.03 kB / 386.2 MB, free: 10.23 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001334/0.01238, allocations: 126.8 kB / 386.3 MB, free: 10.09 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.01238, allocations: 0 / 386.3 MB, free: 10.09 MB / 362.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0002289/0.01261, allocations: 197.3 kB / 386.5 MB, free: 9.887 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.796e-05/0.01263, allocations: 8 kB / 386.5 MB, free: 9.879 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.321e-05/0.01264, allocations: 0 / 386.5 MB, free: 9.879 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.79e-05/0.01266, allocations: 0 / 386.5 MB, free: 9.879 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.789e-05/0.01276, allocations: 43.92 kB / 386.5 MB, free: 9.836 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.738e-06/0.01277, allocations: 11.98 kB / 386.5 MB, free: 9.824 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.621e-05/0.01282, allocations: 8 kB / 386.6 MB, free: 9.816 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.231e-05/0.01283, allocations: 12 kB / 386.6 MB, free: 9.805 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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 9.751e-05/0.01293, allocations: 168.5 kB / 386.7 MB, free: 9.629 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.687e-05/0.01296, allocations: 43.75 kB / 386.8 MB, free: 9.586 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004575/0.01342, allocations: 228.6 kB / 387 MB, free: 9.355 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.881e-06/0.01343, allocations: 4 kB / 387 MB, free: 9.352 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.054e-06/0.01343, allocations: 7.922 kB / 387 MB, free: 9.344 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.671e-06/0.01344, allocations: 0 / 387 MB, free: 9.344 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006964/0.01413, allocations: 0.7487 MB / 387.8 MB, free: 8.535 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.4e-06/0.01414, allocations: 4 kB / 387.8 MB, free: 8.531 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.192e-05/0.0142, allocations: 27.98 kB / 387.8 MB, free: 8.504 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.613e-06/0.01421, allocations: 4 kB / 387.8 MB, free: 8.5 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.709e-05/0.01423, allocations: 8 kB / 387.8 MB, free: 8.492 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.999e-06/0.01423, allocations: 4 kB / 387.8 MB, free: 8.488 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.971e-06/0.01424, allocations: 3.938 kB / 387.8 MB, free: 8.484 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003978/0.01463, allocations: 0.5 MB / 388.3 MB, free: 7.949 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.421e-05/0.01467, allocations: 35.78 kB / 388.3 MB, free: 7.914 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.333e-05/0.0147, allocations: 12 kB / 388.4 MB, free: 7.902 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.83e-05/0.01478, allocations: 8 kB / 388.4 MB, free: 7.895 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.232e-05/0.01486, allocations: 27.89 kB / 388.4 MB, free: 7.867 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.767e-05/0.01489, allocations: 12 kB / 388.4 MB, free: 7.855 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001788/0.01507, allocations: 250.9 kB / 388.6 MB, free: 7.609 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01507, allocations: 0 / 388.6 MB, free: 7.609 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002668/0.01534, allocations: 51.92 kB / 388.7 MB, free: 7.559 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001304/0.01664, allocations: 484.6 kB / 389.2 MB, free: 7.273 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002588/0.0169, allocations: 131.4 kB / 389.3 MB, free: 7.141 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/0.0169, allocations: 4 kB / 389.3 MB, free: 7.137 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 8.102e-05/0.01698, allocations: 71.89 kB / 389.4 MB, free: 7.062 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003586/0.01734, allocations: 84.86 kB / 389.5 MB, free: 6.98 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005927/0.01793, allocations: 465.5 kB / 389.9 MB, free: 6.477 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.196e-05/0.018, allocations: 92.31 kB / 390 MB, free: 6.367 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 7.138e-05/0.01807, allocations: 41.91 kB / 390 MB, free: 6.328 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.697e-05/0.01812, allocations: 36.48 kB / 390.1 MB, free: 6.293 MB / 362.7 MB Notification: Performance of SimCode: time 5.92e-07/0.01812, allocations: 0 / 390.1 MB, free: 6.293 MB / 362.7 MB Notification: Performance of Templates: time 0.006074/0.0242, allocations: 3.58 MB / 393.7 MB, free: 2.766 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test73.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test73.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test73.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test73.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test73.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test73 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test73.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test73_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test73/Test73.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.3294739117845893]