Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test49.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.001074/0.001074, allocations: 75.75 kB / 21.69 MB, free: 2.859 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.001056/0.001056, allocations: 161.6 kB / 24.99 MB, free: 9.289 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.083/1.083, allocations: 177.1 MB / 205.3 MB, free: 5.641 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.2812/0.2812, allocations: 34.25 MB / 296 MB, free: 0.6797 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.Test49,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test49") translateModel(ModelicaTest.Tables.CombiTimeTable.Test49,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test49") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.733e-06/1.733e-06, allocations: 0 / 378.1 MB, free: 2.852 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.006e-05/3.179e-05, allocations: 6.25 kB / 378.1 MB, free: 2.844 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test49): time 0.00261/0.002641, allocations: 1.754 MB / 379.9 MB, free: 1.074 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001268/0.003909, allocations: 1.005 MB / 380.9 MB, free: 64 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.237e-05/0.003991, allocations: 3.938 kB / 380.9 MB, free: 60 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002858/0.004277, allocations: 51.75 kB / 380.9 MB, free: 8 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000282/0.004559, allocations: 107.4 kB / 381 MB, free: 15.9 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001804/0.004739, allocations: 79.66 kB / 381.1 MB, free: 15.82 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001971/0.004937, allocations: 115.6 kB / 381.2 MB, free: 15.71 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001273/0.005064, allocations: 7.984 kB / 381.2 MB, free: 15.7 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.745e-05/0.005161, allocations: 43.91 kB / 381.3 MB, free: 15.66 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.357e-05/0.005255, allocations: 31.89 kB / 381.3 MB, free: 15.63 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.234e-05/0.005277, allocations: 7.938 kB / 381.3 MB, free: 15.62 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001008/0.005378, allocations: 47.86 kB / 381.4 MB, free: 15.57 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 8.269e-05/0.005461, allocations: 27.92 kB / 381.4 MB, free: 15.55 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 5.467e-05/0.005515, allocations: 23.86 kB / 381.4 MB, free: 15.52 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002344/0.00575, allocations: 111.6 kB / 381.5 MB, free: 15.41 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.096e-06/0.005753, allocations: 4 kB / 381.5 MB, free: 15.41 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.863e-06/0.005755, allocations: 0 / 381.5 MB, free: 15.41 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.603e-06/0.005761, allocations: 0 / 381.5 MB, free: 15.41 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.0006676/0.006429, allocations: 475.6 kB / 382 MB, free: 14.91 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.153e-05/0.006481, allocations: 12.03 kB / 382 MB, free: 14.9 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.62e-05/0.006547, allocations: 16.84 kB / 382 MB, free: 14.88 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002318/0.006779, allocations: 169.2 kB / 382.2 MB, free: 14.69 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.81e-05/0.006807, allocations: 8.359 kB / 382.2 MB, free: 14.68 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.61e-05/0.006833, allocations: 4.359 kB / 382.2 MB, free: 14.68 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001605/0.006993, allocations: 62.94 kB / 382.3 MB, free: 14.61 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.584e-05/0.007009, allocations: 7.938 kB / 382.3 MB, free: 14.6 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.222e-05/0.007021, allocations: 0 / 382.3 MB, free: 14.6 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.363e-05/0.007035, allocations: 4 kB / 382.3 MB, free: 14.59 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.576e-05/0.007081, allocations: 11.98 kB / 382.3 MB, free: 14.58 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003788/0.007459, allocations: 299.8 kB / 382.6 MB, free: 14.25 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001236/0.007583, allocations: 51.11 kB / 382.6 MB, free: 14.19 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.192e-05/0.007625, allocations: 27.61 kB / 382.7 MB, free: 14.16 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.582e-05/0.007641, allocations: 0 / 382.7 MB, free: 14.16 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001289/0.00777, allocations: 65.05 kB / 382.7 MB, free: 14.08 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.352e-06/0.007771, allocations: 4 kB / 382.7 MB, free: 14.08 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004734/0.008244, allocations: 169.2 kB / 382.9 MB, free: 13.91 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.51e-05/0.008289, allocations: 51.41 kB / 382.9 MB, free: 13.84 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001959/0.008485, allocations: 277.6 kB / 383.2 MB, free: 13.55 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.664e-05/0.008502, allocations: 29.7 kB / 383.2 MB, free: 13.52 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.349e-05/0.008585, allocations: 166.9 kB / 383.4 MB, free: 13.35 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.338e-05/0.008619, allocations: 23.78 kB / 383.4 MB, free: 13.33 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.718e-05/0.008656, allocations: 27.38 kB / 383.4 MB, free: 13.29 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001721/0.008828, allocations: 0.5079 MB / 384 MB, free: 12.77 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.845e-05/0.008857, allocations: 8 kB / 384 MB, free: 12.77 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.084e-05/0.008897, allocations: 39.36 kB / 384 MB, free: 12.72 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.059e-05/0.008968, allocations: 59.3 kB / 384.1 MB, free: 12.65 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.52e-07/0.008969, allocations: 3.938 kB / 384.1 MB, free: 12.65 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001308/0.0091, allocations: 89.59 kB / 384.2 MB, free: 12.55 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.568e-05/0.009115, allocations: 8 kB / 384.2 MB, free: 12.55 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.691e-06/0.009121, allocations: 0 / 384.2 MB, free: 12.55 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.961e-05/0.009141, allocations: 0 / 384.2 MB, free: 12.55 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.643e-05/0.009227, allocations: 19.92 kB / 384.2 MB, free: 12.53 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.955e-06/0.009235, allocations: 4 kB / 384.2 MB, free: 12.52 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.161e-05/0.009267, allocations: 4.031 kB / 384.2 MB, free: 12.52 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.735e-06/0.009274, allocations: 4 kB / 384.2 MB, free: 12.52 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.0001055/0.00938, allocations: 164.5 kB / 384.4 MB, free: 12.34 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.078e-05/0.009401, allocations: 15.91 kB / 384.4 MB, free: 12.33 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001801/0.009581, allocations: 111 kB / 384.5 MB, free: 12.21 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.535e-06/0.009583, allocations: 0 / 384.5 MB, free: 12.21 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.63e-06/0.009589, allocations: 0 / 384.5 MB, free: 12.21 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.001e-06/0.009595, allocations: 0 / 384.5 MB, free: 12.21 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003259/0.009921, allocations: 409 kB / 384.9 MB, free: 11.77 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.009923, allocations: 4.406 kB / 384.9 MB, free: 11.77 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.867e-05/0.009952, allocations: 15.98 kB / 384.9 MB, free: 11.75 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.315e-06/0.009954, allocations: 0 / 384.9 MB, free: 11.75 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.005e-05/0.009964, allocations: 8 kB / 384.9 MB, free: 11.74 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.744e-06/0.009966, allocations: 4 kB / 384.9 MB, free: 11.74 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.009967, allocations: 0 / 384.9 MB, free: 11.74 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001491/0.01012, allocations: 259.4 kB / 385.2 MB, free: 11.46 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.43e-05/0.01013, allocations: 11.91 kB / 385.2 MB, free: 11.45 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.711e-05/0.01015, allocations: 4 kB / 385.2 MB, free: 11.45 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.195e-05/0.01019, allocations: 7.984 kB / 385.2 MB, free: 11.44 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.814e-05/0.01023, allocations: 11.94 kB / 385.2 MB, free: 11.43 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.667e-05/0.01024, allocations: 7.984 kB / 385.2 MB, free: 11.42 MB / 362.7 MB Notification: Performance of sorting global known variables: time 9.832e-05/0.01034, allocations: 196.5 kB / 385.4 MB, free: 11.23 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01034, allocations: 0 / 385.4 MB, free: 11.23 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001758/0.01052, allocations: 27.94 kB / 385.4 MB, free: 11.2 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.001006/0.01152, allocations: 448 kB / 385.9 MB, free: 10.92 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001269/0.01165, allocations: 55.58 kB / 385.9 MB, free: 10.86 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.152e-06/0.01165, allocations: 0 / 385.9 MB, free: 10.86 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 9.079e-05/0.01174, allocations: 39.67 kB / 386 MB, free: 10.82 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002444/0.01199, allocations: 27.98 kB / 386 MB, free: 10.79 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003971/0.01238, allocations: 258.5 kB / 386.2 MB, free: 10.51 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.553e-05/0.01244, allocations: 71.33 kB / 386.3 MB, free: 10.42 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.689e-05/0.01248, allocations: 16.97 kB / 386.3 MB, free: 10.4 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.482e-05/0.01251, allocations: 20.5 kB / 386.3 MB, free: 10.38 MB / 362.7 MB Notification: Performance of SimCode: time 8.72e-07/0.01251, allocations: 0 / 386.3 MB, free: 10.38 MB / 362.7 MB Notification: Performance of Templates: time 0.003775/0.01629, allocations: 1.898 MB / 388.2 MB, free: 8.516 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test49.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test49.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test49.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test49.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test49.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test49 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test49.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test49_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test49/Test49.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.3605509269982576]