Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test77.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.008367/0.008367, allocations: 107.9 kB / 21.97 MB, free: 5.184 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002337/0.002337, allocations: 218.2 kB / 25.29 MB, free: 3.203 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.451/1.451, allocations: 230.5 MB / 258.9 MB, free: 8 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2274/0.2274, allocations: 46.94 MB / 362.3 MB, free: 4.195 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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.1.0-beta.om_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.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test77") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002539/0.002539, allocations: 79.86 kB / 0.4983 GB, free: 7.195 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3155/0.318, allocations: 66.07 MB / 0.5628 GB, free: 4.219 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test77): time 0.003343/0.3213, allocations: 1.951 MB / 0.5647 GB, free: 2.254 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001949/0.3233, allocations: 1.15 MB / 0.5658 GB, free: 1.102 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.724e-05/0.3234, allocations: 3.938 kB / 0.5658 GB, free: 1.098 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003956/0.3238, allocations: 155.5 kB / 0.566 GB, free: 0.9453 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000433/0.3242, allocations: 199.2 kB / 0.5662 GB, free: 0.75 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002679/0.3245, allocations: 115.6 kB / 0.5663 GB, free: 0.6367 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003209/0.3248, allocations: 247.3 kB / 0.5665 GB, free: 404 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001053/0.3249, allocations: 17.95 kB / 0.5665 GB, free: 384 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001877/0.3251, allocations: 119.5 kB / 0.5667 GB, free: 264 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002023/0.3253, allocations: 143.5 kB / 0.5668 GB, free: 120 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.375e-05/0.3253, allocations: 8 kB / 0.5668 GB, free: 112 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001331/0.3254, allocations: 71.97 kB / 0.5669 GB, free: 40 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.862e-05/0.3255, allocations: 47.86 kB / 0.5669 GB, free: 15.99 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 8.977e-05/0.3256, allocations: 91.2 kB / 0.567 GB, free: 15.9 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003098/0.3259, allocations: 221.4 kB / 0.5672 GB, free: 15.69 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.3259, allocations: 0 / 0.5672 GB, free: 15.69 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.213e-06/0.3259, allocations: 0 / 0.5672 GB, free: 15.69 MB / 414.1 MB Notification: Performance of Transformations before backend: time 8.155e-06/0.326, allocations: 3.984 kB / 0.5672 GB, free: 15.69 MB / 414.1 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.0007209/0.3267, allocations: 484.4 kB / 0.5677 GB, free: 15.18 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.199e-05/0.3267, allocations: 8.031 kB / 0.5677 GB, free: 15.18 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.546e-05/0.3268, allocations: 32.75 kB / 0.5677 GB, free: 15.14 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003528/0.3271, allocations: 218.6 kB / 0.5679 GB, free: 14.91 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.774e-05/0.3271, allocations: 8.375 kB / 0.5679 GB, free: 14.9 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.456e-05/0.3272, allocations: 4.375 kB / 0.5679 GB, free: 14.9 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002485/0.3274, allocations: 115.6 kB / 0.568 GB, free: 14.77 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.273e-05/0.3274, allocations: 0 / 0.568 GB, free: 14.77 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.431e-05/0.3274, allocations: 4 kB / 0.568 GB, free: 14.77 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.931e-06/0.3275, allocations: 4 kB / 0.5681 GB, free: 14.77 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001358/0.3276, allocations: 51.94 kB / 0.5681 GB, free: 14.71 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005862/0.3282, allocations: 439.8 kB / 0.5685 GB, free: 14.24 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003777/0.3286, allocations: 121.2 kB / 0.5686 GB, free: 14.1 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001029/0.3287, allocations: 45.77 kB / 0.5687 GB, free: 14.05 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.389e-05/0.3287, allocations: 0 / 0.5687 GB, free: 14.05 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002195/0.3289, allocations: 121 kB / 0.5688 GB, free: 13.91 MB / 414.1 MB Notification: Performance of pre-optimization done (n=14): time 1.202e-06/0.3289, allocations: 4 kB / 0.5688 GB, free: 13.91 MB / 414.1 MB Notification: Performance of matching and sorting (n=22): time 0.001284/0.3302, allocations: 0.4899 MB / 0.5693 GB, free: 13.41 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.941e-05/0.3302, allocations: 81.11 kB / 0.5694 GB, free: 13.32 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004129/0.3307, allocations: 380.5 kB / 0.5697 GB, free: 12.93 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.719e-05/0.3307, allocations: 33.7 kB / 0.5697 GB, free: 12.89 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001057/0.3308, allocations: 140.5 kB / 0.5699 GB, free: 12.75 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.78e-05/0.3309, allocations: 83.31 kB / 0.57 GB, free: 12.66 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.363e-05/0.3309, allocations: 45.64 kB / 0.57 GB, free: 12.61 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001525/0.3311, allocations: 342.8 kB / 0.5703 GB, free: 12.27 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001295/0.3312, allocations: 55.97 kB / 0.5704 GB, free: 12.21 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001531/0.3314, allocations: 100.2 kB / 0.5705 GB, free: 12.11 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002866/0.3316, allocations: 155.4 kB / 0.5706 GB, free: 11.94 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.242e-06/0.3316, allocations: 0 / 0.5706 GB, free: 11.94 MB / 414.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004124/0.3321, allocations: 237.6 kB / 0.5709 GB, free: 11.7 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.767e-05/0.3321, allocations: 4 kB / 0.5709 GB, free: 11.7 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/0.3321, allocations: 0 / 0.5709 GB, free: 11.7 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.822e-05/0.3321, allocations: 7.938 kB / 0.5709 GB, free: 11.69 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001443/0.3322, allocations: 44.05 kB / 0.5709 GB, free: 11.65 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.164e-05/0.3323, allocations: 7.938 kB / 0.5709 GB, free: 11.64 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.026e-05/0.3323, allocations: 7.984 kB / 0.5709 GB, free: 11.63 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.656e-05/0.3323, allocations: 12 kB / 0.5709 GB, free: 11.62 MB / 414.1 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.0001507/0.3325, allocations: 153.8 kB / 0.5711 GB, free: 11.46 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.418e-05/0.3325, allocations: 27.81 kB / 0.5711 GB, free: 11.43 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005143/0.3331, allocations: 263.3 kB / 0.5714 GB, free: 11.17 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.249e-06/0.3331, allocations: 8 kB / 0.5714 GB, free: 11.16 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.662e-06/0.3331, allocations: 3.984 kB / 0.5714 GB, free: 11.16 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.148e-06/0.3331, allocations: 0 / 0.5714 GB, free: 11.16 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009272/0.334, allocations: 0.6911 MB / 0.572 GB, free: 10.41 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.295e-06/0.334, allocations: 128 / 0.572 GB, free: 10.41 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.552e-05/0.3341, allocations: 39.92 kB / 0.5721 GB, free: 10.37 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.931e-06/0.3341, allocations: 4 kB / 0.5721 GB, free: 10.36 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.395e-05/0.3341, allocations: 4 kB / 0.5721 GB, free: 10.36 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.024e-06/0.3341, allocations: 0 / 0.5721 GB, free: 10.36 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.966e-06/0.3341, allocations: 4 kB / 0.5721 GB, free: 10.36 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004825/0.3346, allocations: 429.9 kB / 0.5725 GB, free: 9.906 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.72e-05/0.3346, allocations: 23.86 kB / 0.5725 GB, free: 9.883 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.147e-05/0.3347, allocations: 8 kB / 0.5725 GB, free: 9.875 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001383/0.3348, allocations: 7.984 kB / 0.5725 GB, free: 9.867 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.995e-05/0.3349, allocations: 23.91 kB / 0.5726 GB, free: 9.844 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.167e-05/0.3349, allocations: 12 kB / 0.5726 GB, free: 9.832 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002794/0.3352, allocations: 279 kB / 0.5728 GB, free: 9.559 MB / 414.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.3352, allocations: 0 / 0.5728 GB, free: 9.559 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003592/0.3355, allocations: 51.92 kB / 0.5729 GB, free: 9.508 MB / 414.1 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 (22): * Single equations (assignments): 18 * 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.001907/0.3374, allocations: 0.5137 MB / 0.5734 GB, free: 9.172 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003493/0.3378, allocations: 143.8 kB / 0.5735 GB, free: 9.031 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.3378, allocations: 4.125 kB / 0.5735 GB, free: 9.027 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001542/0.3379, allocations: 76.03 kB / 0.5736 GB, free: 8.953 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00054/0.3385, allocations: 64.94 kB / 0.5737 GB, free: 8.891 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008996/0.3394, allocations: 0.5334 MB / 0.5742 GB, free: 8.305 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003878/0.3398, allocations: 0.7635 MB / 0.5749 GB, free: 7.512 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.623e-05/0.3398, allocations: 35.42 kB / 0.575 GB, free: 7.477 MB / 414.1 MB Notification: Performance of SimCode: time 5.51e-07/0.3398, allocations: 0 / 0.575 GB, free: 7.477 MB / 414.1 MB Notification: Performance of Templates: time 0.006217/0.3461, allocations: 3.613 MB / 0.5785 GB, free: 3.871 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test77.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test77.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test77.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test77.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test77.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test77 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test77.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test77_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test77/Test77.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_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: 8.123537650797516]