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.00124/0.00124, allocations: 111 kB / 21.18 MB, free: 0.6758 MB / 14.72 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.001403/0.001403, allocations: 208.2 kB / 24.48 MB, free: 3.977 MB / 14.72 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.537/1.537, allocations: 230.6 MB / 258.2 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] 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.2461/0.2461, allocations: 46.97 MB / 361.6 MB, free: 4.035 MB / 286.1 MB " [Timeout remaining time 179] 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.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_ModelicaTest.Tables.CombiTimeTable.Test73") translateModel(ModelicaTest.Tables.CombiTimeTable.Test73,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_ModelicaTest.Tables.CombiTimeTable.Test73") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002184/0.002184, allocations: 63.91 kB / 0.4974 GB, free: 7.156 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4318/0.434, allocations: 66.03 MB / 0.5619 GB, free: 4.164 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test73): time 0.004063/0.4381, allocations: 1.881 MB / 0.5637 GB, free: 2.266 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002404/0.4405, allocations: 1.073 MB / 0.5648 GB, free: 1.188 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001307/0.4406, allocations: 3.938 kB / 0.5648 GB, free: 1.184 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005175/0.4411, allocations: 167.4 kB / 0.5649 GB, free: 1.02 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005237/0.4416, allocations: 179.3 kB / 0.5651 GB, free: 0.8438 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003283/0.442, allocations: 127.6 kB / 0.5652 GB, free: 0.7188 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003586/0.4423, allocations: 243.3 kB / 0.5655 GB, free: 492 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001336/0.4425, allocations: 21.95 kB / 0.5655 GB, free: 468 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001722/0.4426, allocations: 119.5 kB / 0.5656 GB, free: 348 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002045/0.4428, allocations: 139.5 kB / 0.5657 GB, free: 208 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.853e-05/0.4429, allocations: 8 kB / 0.5657 GB, free: 200 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001575/0.443, allocations: 67.97 kB / 0.5658 GB, free: 132 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000115/0.4431, allocations: 55.77 kB / 0.5658 GB, free: 76 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.921e-05/0.4432, allocations: 67.47 kB / 0.5659 GB, free: 8 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003885/0.4436, allocations: 225.3 kB / 0.5661 GB, free: 15.79 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.092e-06/0.4436, allocations: 4 kB / 0.5661 GB, free: 15.79 MB / 414.1 MB Notification: Performance of FrontEnd: time 9.518e-06/0.4436, allocations: 0 / 0.5661 GB, free: 15.79 MB / 414.1 MB Notification: Performance of Transformations before backend: time 8.526e-06/0.4436, allocations: 0 / 0.5661 GB, free: 15.79 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.0008608/0.4445, allocations: 484.5 kB / 0.5666 GB, free: 15.29 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.161e-05/0.4445, allocations: 8.031 kB / 0.5666 GB, free: 15.28 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.173e-05/0.4446, allocations: 28.75 kB / 0.5666 GB, free: 15.25 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003877/0.445, allocations: 210.6 kB / 0.5668 GB, free: 15.02 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.829e-05/0.445, allocations: 4.375 kB / 0.5668 GB, free: 15.02 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.012e-05/0.4451, allocations: 12.12 kB / 0.5668 GB, free: 15.01 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002608/0.4453, allocations: 119.3 kB / 0.567 GB, free: 14.88 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.519e-05/0.4453, allocations: 3.938 kB / 0.567 GB, free: 14.88 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.835e-05/0.4454, allocations: 8 kB / 0.567 GB, free: 14.87 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.77e-06/0.4454, allocations: 0 / 0.567 GB, free: 14.87 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000144/0.4455, allocations: 47.97 kB / 0.567 GB, free: 14.82 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006085/0.4461, allocations: 412.3 kB / 0.5674 GB, free: 14.38 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004021/0.4465, allocations: 109.2 kB / 0.5675 GB, free: 14.26 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001122/0.4466, allocations: 53.75 kB / 0.5676 GB, free: 14.2 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.895e-05/0.4466, allocations: 3.938 kB / 0.5676 GB, free: 14.2 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002759/0.4469, allocations: 129 kB / 0.5677 GB, free: 14.05 MB / 414.1 MB Notification: Performance of pre-optimization done (n=14): time 1.432e-06/0.4469, allocations: 0 / 0.5677 GB, free: 14.05 MB / 414.1 MB Notification: Performance of matching and sorting (n=22): time 0.001461/0.4484, allocations: 0.5094 MB / 0.5682 GB, free: 13.54 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.758e-05/0.4485, allocations: 81.11 kB / 0.5683 GB, free: 13.44 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004468/0.4489, allocations: 384.5 kB / 0.5686 GB, free: 13.05 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.27e-05/0.4489, allocations: 41.69 kB / 0.5687 GB, free: 13 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001219/0.4491, allocations: 140.6 kB / 0.5688 GB, free: 12.86 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.121e-05/0.4491, allocations: 75.38 kB / 0.5689 GB, free: 12.78 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.035e-05/0.4492, allocations: 41.7 kB / 0.5689 GB, free: 12.73 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001849/0.4494, allocations: 338.8 kB / 0.5692 GB, free: 12.39 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001288/0.4495, allocations: 59.97 kB / 0.5693 GB, free: 12.34 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000155/0.4497, allocations: 95.39 kB / 0.5694 GB, free: 12.23 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003118/0.45, allocations: 167.3 kB / 0.5695 GB, free: 12.05 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.272e-06/0.45, allocations: 0 / 0.5695 GB, free: 12.05 MB / 414.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004339/0.4504, allocations: 241.4 kB / 0.5698 GB, free: 11.81 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.075e-05/0.4504, allocations: 6.656 kB / 0.5698 GB, free: 11.81 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.899e-06/0.4505, allocations: 7.922 kB / 0.5698 GB, free: 11.8 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.943e-05/0.4505, allocations: 4 kB / 0.5698 GB, free: 11.8 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001609/0.4506, allocations: 39.98 kB / 0.5698 GB, free: 11.76 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.903e-06/0.4506, allocations: 4 kB / 0.5698 GB, free: 11.75 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.359e-05/0.4507, allocations: 11.92 kB / 0.5698 GB, free: 11.74 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.178e-05/0.4507, allocations: 20 kB / 0.5699 GB, free: 11.72 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.0001617/0.4509, allocations: 150.4 kB / 0.57 GB, free: 11.57 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.687e-05/0.451, allocations: 27.81 kB / 0.57 GB, free: 11.54 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005785/0.4515, allocations: 275.2 kB / 0.5703 GB, free: 11.27 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.058e-06/0.4515, allocations: 4 kB / 0.5703 GB, free: 11.26 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.4516, allocations: 0 / 0.5703 GB, free: 11.26 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.026e-06/0.4516, allocations: 4 kB / 0.5703 GB, free: 11.26 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009914/0.4526, allocations: 0.6722 MB / 0.571 GB, free: 10.54 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/0.4526, allocations: 192 / 0.571 GB, free: 10.54 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001066/0.4527, allocations: 39.92 kB / 0.571 GB, free: 10.5 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.437e-06/0.4527, allocations: 3.938 kB / 0.571 GB, free: 10.49 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.958e-05/0.4527, allocations: 4 kB / 0.571 GB, free: 10.49 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.776e-06/0.4527, allocations: 7.984 kB / 0.571 GB, free: 10.48 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.868e-06/0.4527, allocations: 4 kB / 0.571 GB, free: 10.48 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006003/0.4533, allocations: 443.3 kB / 0.5714 GB, free: 10.02 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.257e-05/0.4533, allocations: 19.98 kB / 0.5715 GB, free: 9.996 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.707e-05/0.4534, allocations: 20 kB / 0.5715 GB, free: 9.977 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001489/0.4535, allocations: 11.98 kB / 0.5715 GB, free: 9.965 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.756e-05/0.4536, allocations: 23.91 kB / 0.5715 GB, free: 9.941 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.026e-05/0.4536, allocations: 8 kB / 0.5715 GB, free: 9.934 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003395/0.454, allocations: 283 kB / 0.5718 GB, free: 9.656 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.454, allocations: 0 / 0.5718 GB, free: 9.656 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003755/0.4543, allocations: 55.89 kB / 0.5718 GB, free: 9.602 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 (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.002302/0.4566, allocations: 0.5574 MB / 0.5724 GB, free: 9.285 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0004472/0.4571, allocations: 155.8 kB / 0.5725 GB, free: 9.133 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.925e-06/0.4571, allocations: 0 / 0.5725 GB, free: 9.133 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000169/0.4573, allocations: 75.84 kB / 0.5726 GB, free: 9.059 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006167/0.4579, allocations: 64.05 kB / 0.5727 GB, free: 9 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001034/0.4589, allocations: 0.5124 MB / 0.5732 GB, free: 8.441 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002141/0.4591, allocations: 157.8 kB / 0.5733 GB, free: 8.27 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001159/0.4592, allocations: 41.92 kB / 0.5734 GB, free: 8.227 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.704e-05/0.4593, allocations: 35.42 kB / 0.5734 GB, free: 8.191 MB / 414.1 MB Notification: Performance of SimCode: time 9.62e-07/0.4593, allocations: 0 / 0.5734 GB, free: 8.191 MB / 414.1 MB Notification: Performance of Templates: time 0.008351/0.4677, allocations: 3.539 MB / 0.5769 GB, free: 4.703 MB / 414.1 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=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test73.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test73_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test73/Test73.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test73.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.335732267005369]