Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77.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.002722/0.002722, 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.00294/0.00294, allocations: 169.6 kB / 24.28 MB, free: 152 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.594/1.594, allocations: 177.1 MB / 204.6 MB, free: 5.617 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.4639/0.4639, allocations: 32.81 MB / 293.9 MB, free: 1.203 MB / 266.7 MB " [Timeout remaining time 179] 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.Test77,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77") translateModel(ModelicaTest.Tables.CombiTimeTable.Test77,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.202e-06/1.202e-06, allocations: 0 / 375.4 MB, free: 4.883 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.595e-05/2.715e-05, allocations: 2.312 kB / 375.4 MB, free: 4.879 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test77): time 0.003406/0.003434, allocations: 1.918 MB / 377.3 MB, free: 2.945 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002172/0.005606, allocations: 1.095 MB / 378.4 MB, free: 1.848 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.579e-05/0.005692, allocations: 4 kB / 378.4 MB, free: 1.844 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004358/0.006127, allocations: 163.3 kB / 378.5 MB, free: 1.684 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004626/0.00659, allocations: 187.2 kB / 378.7 MB, free: 1.5 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003038/0.006894, allocations: 115.6 kB / 378.8 MB, free: 1.387 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003509/0.007245, allocations: 255.2 kB / 379.1 MB, free: 1.137 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001038/0.007349, allocations: 17.91 kB / 379.1 MB, free: 1.121 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002305/0.007579, allocations: 143.5 kB / 379.2 MB, free: 0.9805 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002128/0.007792, allocations: 123.7 kB / 379.4 MB, free: 0.8594 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 3.559e-05/0.007827, allocations: 16 kB / 379.4 MB, free: 0.8438 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001392/0.007967, allocations: 63.92 kB / 379.4 MB, free: 0.7812 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 9.626e-05/0.008063, allocations: 51.77 kB / 379.5 MB, free: 0.7305 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 8.328e-05/0.008146, allocations: 51.78 kB / 379.5 MB, free: 0.6797 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003421/0.008488, allocations: 219.2 kB / 379.7 MB, free: 476 kB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.836e-06/0.008491, allocations: 0 / 379.7 MB, free: 476 kB / 346.7 MB Notification: Performance of FrontEnd: time 1.002e-06/0.008492, allocations: 0 / 379.7 MB, free: 476 kB / 346.7 MB Notification: Performance of Transformations before backend: time 5.15e-06/0.008497, allocations: 0 / 379.7 MB, free: 476 kB / 346.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.0008666/0.009364, allocations: 0.5883 MB / 380.3 MB, free: 15.84 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.446e-05/0.009398, allocations: 8.031 kB / 380.3 MB, free: 15.83 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.079e-05/0.009479, allocations: 32.8 kB / 380.4 MB, free: 15.8 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003571/0.009836, allocations: 212.7 kB / 380.6 MB, free: 15.56 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.689e-05/0.009853, allocations: 4.375 kB / 380.6 MB, free: 15.56 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.954e-05/0.009883, allocations: 16.27 kB / 380.6 MB, free: 15.54 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002444/0.01013, allocations: 113.5 kB / 380.7 MB, free: 15.42 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.779e-05/0.01014, allocations: 7.938 kB / 380.7 MB, free: 15.41 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.482e-05/0.01016, allocations: 4 kB / 380.7 MB, free: 15.41 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.429e-06/0.01016, allocations: 0 / 380.7 MB, free: 15.41 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001347/0.0103, allocations: 39.97 kB / 380.8 MB, free: 15.37 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007168/0.01102, allocations: 0.5257 MB / 381.3 MB, free: 14.8 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004779/0.01149, allocations: 142.1 kB / 381.4 MB, free: 14.64 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001209/0.01161, allocations: 43.48 kB / 381.5 MB, free: 14.59 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.272e-05/0.01163, allocations: 4 kB / 381.5 MB, free: 14.58 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002504/0.01188, allocations: 128.4 kB / 381.6 MB, free: 14.43 MB / 362.7 MB Notification: Performance of pre-optimization done (n=14): time 1.082e-06/0.01188, allocations: 0 / 381.6 MB, free: 14.43 MB / 362.7 MB Notification: Performance of matching and sorting (n=22): time 0.001421/0.0133, allocations: 0.5015 MB / 382.1 MB, free: 13.93 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.982e-05/0.01337, allocations: 93.05 kB / 382.2 MB, free: 13.82 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004534/0.01382, allocations: 398.3 kB / 382.6 MB, free: 13.41 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.773e-05/0.01385, allocations: 25.7 kB / 382.6 MB, free: 13.38 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001778/0.01403, allocations: 215.3 kB / 382.8 MB, free: 13.16 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.466e-05/0.01411, allocations: 75.42 kB / 382.9 MB, free: 13.09 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.639e-05/0.0142, allocations: 55.36 kB / 382.9 MB, free: 13.03 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0003097/0.01451, allocations: 0.5313 MB / 383.5 MB, free: 12.48 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00013/0.01464, allocations: 51.98 kB / 383.5 MB, free: 12.43 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001709/0.01481, allocations: 106.7 kB / 383.6 MB, free: 12.31 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002991/0.01511, allocations: 166.7 kB / 383.8 MB, free: 12.13 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.362e-06/0.01511, allocations: 3.938 kB / 383.8 MB, free: 12.13 MB / 362.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004592/0.01557, allocations: 241.5 kB / 384 MB, free: 11.89 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.82e-05/0.01559, allocations: 8 kB / 384 MB, free: 11.88 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.243e-06/0.01559, allocations: 4 kB / 384 MB, free: 11.88 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.615e-05/0.01561, allocations: 4 kB / 384.1 MB, free: 11.87 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001568/0.01577, allocations: 39.92 kB / 384.1 MB, free: 11.83 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.147e-05/0.01578, allocations: 7.938 kB / 384.1 MB, free: 11.82 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.288e-05/0.01586, allocations: 15.92 kB / 384.1 MB, free: 11.81 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.784e-05/0.01588, allocations: 8 kB / 384.1 MB, free: 11.8 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 0.0001619/0.01604, allocations: 180.6 kB / 384.3 MB, free: 11.61 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.145e-05/0.0161, allocations: 35.81 kB / 384.3 MB, free: 11.58 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005775/0.01668, allocations: 271.3 kB / 384.6 MB, free: 11.3 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.933e-06/0.01669, allocations: 4 kB / 384.6 MB, free: 11.3 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.704e-06/0.0167, allocations: 3.938 kB / 384.6 MB, free: 11.3 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.849e-06/0.0167, allocations: 0 / 384.6 MB, free: 11.3 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001149/0.01785, allocations: 0.7997 MB / 385.4 MB, free: 10.44 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/0.01785, allocations: 128 / 385.4 MB, free: 10.44 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001068/0.01796, allocations: 39.92 kB / 385.4 MB, free: 10.4 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.53e-06/0.01796, allocations: 4 kB / 385.4 MB, free: 10.39 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.083e-05/0.01799, allocations: 8 kB / 385.5 MB, free: 10.39 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.15e-06/0.01799, allocations: 4.219 kB / 385.5 MB, free: 10.38 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.627e-06/0.01799, allocations: 4 kB / 385.5 MB, free: 10.38 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006473/0.01864, allocations: 0.5389 MB / 386 MB, free: 9.805 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.863e-05/0.01869, allocations: 27.8 kB / 386 MB, free: 9.777 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.255e-05/0.01873, allocations: 8 kB / 386 MB, free: 9.77 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001387/0.01887, allocations: 8 kB / 386 MB, free: 9.762 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.188e-05/0.01893, allocations: 23.97 kB / 386.1 MB, free: 9.738 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.879e-05/0.01896, allocations: 11.98 kB / 386.1 MB, free: 9.727 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002881/0.01925, allocations: 278.9 kB / 386.4 MB, free: 9.453 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01925, allocations: 0 / 386.4 MB, free: 9.453 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003673/0.01962, allocations: 51.92 kB / 386.4 MB, free: 9.402 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.003772/0.02339, allocations: 0.5475 MB / 387 MB, free: 9.098 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0004068/0.0238, allocations: 172 kB / 387.1 MB, free: 8.926 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.0238, allocations: 0 / 387.1 MB, free: 8.926 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001988/0.024, allocations: 95.66 kB / 387.2 MB, free: 8.828 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006011/0.0246, allocations: 69.34 kB / 387.3 MB, free: 8.762 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009097/0.02551, allocations: 493.5 kB / 387.8 MB, free: 8.23 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001796/0.02569, allocations: 153.4 kB / 387.9 MB, free: 8.062 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001042/0.02579, allocations: 37.91 kB / 387.9 MB, free: 8.023 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.571e-05/0.02587, allocations: 36.48 kB / 388 MB, free: 7.988 MB / 362.7 MB Notification: Performance of SimCode: time 5.81e-07/0.02587, allocations: 4 kB / 388 MB, free: 7.984 MB / 362.7 MB Notification: Performance of Templates: time 0.009105/0.03497, allocations: 3.31 MB / 391.3 MB, free: 4.723 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test77/Test77.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77.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.268243983038701]