Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test87.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.001352/0.001352, allocations: 107.6 kB / 21.18 MB, free: 0.5273 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.001463/0.001463, allocations: 205.1 kB / 24.48 MB, free: 3.695 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.563/1.563, allocations: 230.6 MB / 258.2 MB, free: 7.777 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.2338/0.2338, allocations: 46.97 MB / 361.6 MB, free: 4.02 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+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.Test87,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new_2.y|t_new_3.y.1.|d_t_new_3.y|d2_t_new_3.y|t_new_4.y.1.|d_t_new_4.y|d2_t_new_4.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test87") translateModel(ModelicaTest.Tables.CombiTimeTable.Test87,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new_2.y|t_new_3.y.1.|d_t_new_3.y|d2_t_new_3.y|t_new_4.y.1.|d_t_new_4.y|d2_t_new_4.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test87") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002/0.002, allocations: 67.91 kB / 0.4974 GB, free: 7.121 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.385/0.387, allocations: 66.03 MB / 0.5619 GB, free: 4.117 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test87): time 0.004021/0.391, allocations: 2.158 MB / 0.564 GB, free: 1.941 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002542/0.3935, allocations: 1.274 MB / 0.5652 GB, free: 0.6641 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001816/0.3937, allocations: 4 kB / 0.5653 GB, free: 0.6602 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004586/0.3942, allocations: 147.3 kB / 0.5654 GB, free: 0.5156 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006255/0.3948, allocations: 266.8 kB / 0.5656 GB, free: 260 kB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004499/0.3952, allocations: 187.6 kB / 0.5658 GB, free: 72 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005969/0.3958, allocations: 470.6 kB / 0.5663 GB, free: 15.61 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001838/0.396, allocations: 43.92 kB / 0.5663 GB, free: 15.56 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004293/0.3964, allocations: 346.9 kB / 0.5666 GB, free: 15.22 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002647/0.3967, allocations: 179.1 kB / 0.5668 GB, free: 15.05 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 4.471e-05/0.3968, allocations: 20 kB / 0.5668 GB, free: 15.03 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001775/0.3969, allocations: 71.98 kB / 0.5669 GB, free: 14.96 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002291/0.3972, allocations: 151.4 kB / 0.5671 GB, free: 14.81 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001675/0.3973, allocations: 154.7 kB / 0.5672 GB, free: 14.66 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006117/0.3979, allocations: 497.1 kB / 0.5677 GB, free: 14.17 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.3979, allocations: 0 / 0.5677 GB, free: 14.17 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.074e-06/0.3979, allocations: 0 / 0.5677 GB, free: 14.17 MB / 414.1 MB Notification: Performance of Transformations before backend: time 8.737e-06/0.398, allocations: 0 / 0.5677 GB, free: 14.17 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: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.001337/0.3993, allocations: 0.8496 MB / 0.5685 GB, free: 13.29 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.064e-05/0.3993, allocations: 8.031 kB / 0.5685 GB, free: 13.28 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001327/0.3995, allocations: 76.47 kB / 0.5686 GB, free: 13.21 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007212/0.4002, allocations: 367.1 kB / 0.5689 GB, free: 12.82 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.513e-05/0.4002, allocations: 12.36 kB / 0.5689 GB, free: 12.81 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.113e-05/0.4003, allocations: 24.08 kB / 0.569 GB, free: 12.79 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004169/0.4007, allocations: 193.5 kB / 0.5692 GB, free: 12.58 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.93e-05/0.4007, allocations: 4 kB / 0.5692 GB, free: 12.57 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.399e-05/0.4007, allocations: 8 kB / 0.5692 GB, free: 12.57 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.466e-06/0.4007, allocations: 4 kB / 0.5692 GB, free: 12.56 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003467/0.4011, allocations: 99.84 kB / 0.5693 GB, free: 12.46 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001109/0.4022, allocations: 0.7467 MB / 0.57 GB, free: 11.68 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007317/0.4029, allocations: 246.4 kB / 0.5702 GB, free: 11.4 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002058/0.4031, allocations: 95.45 kB / 0.5703 GB, free: 11.29 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.933e-05/0.4031, allocations: 4 kB / 0.5703 GB, free: 11.29 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004314/0.4036, allocations: 204.2 kB / 0.5705 GB, free: 11.07 MB / 414.1 MB Notification: Performance of pre-optimization done (n=28): time 1.563e-06/0.4036, allocations: 0 / 0.5705 GB, free: 11.07 MB / 414.1 MB Notification: Performance of matching and sorting (n=44): time 0.002868/0.4064, allocations: 1.222 MB / 0.5717 GB, free: 9.836 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001198/0.4066, allocations: 144.5 kB / 0.5718 GB, free: 9.664 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001208/0.4078, allocations: 0.977 MB / 0.5728 GB, free: 8.676 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 9.975e-05/0.4079, allocations: 41.64 kB / 0.5728 GB, free: 8.629 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002618/0.4081, allocations: 277 kB / 0.5731 GB, free: 8.355 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001444/0.4083, allocations: 146.8 kB / 0.5732 GB, free: 8.211 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001344/0.4084, allocations: 82.08 kB / 0.5733 GB, free: 8.121 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000188/0.4086, allocations: 325.9 kB / 0.5736 GB, free: 7.797 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002626/0.4089, allocations: 120.8 kB / 0.5737 GB, free: 7.68 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003192/0.4092, allocations: 191.1 kB / 0.5739 GB, free: 7.473 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000558/0.4097, allocations: 319.1 kB / 0.5742 GB, free: 7.137 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.159e-06/0.4097, allocations: 4 kB / 0.5742 GB, free: 7.133 MB / 414.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0008554/0.4106, allocations: 464.8 kB / 0.5747 GB, free: 6.672 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.234e-05/0.4106, allocations: 4 kB / 0.5747 GB, free: 6.668 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.219e-05/0.4106, allocations: 4 kB / 0.5747 GB, free: 6.664 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.113e-05/0.4107, allocations: 4 kB / 0.5747 GB, free: 6.66 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003031/0.411, allocations: 87.89 kB / 0.5748 GB, free: 6.574 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.437e-05/0.411, allocations: 7.938 kB / 0.5748 GB, free: 6.566 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001786/0.4112, allocations: 19.98 kB / 0.5748 GB, free: 6.547 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.077e-05/0.4112, allocations: 20.06 kB / 0.5748 GB, free: 6.527 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 20 ($PRE.t_new.nextTimeEvent,$whenCondition4,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition3,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent,$PRE.t_new_3.nextTimeEvent,$whenCondition2,t_new_3.nextTimeEventScaled,$PRE.t_new_3.nextTimeEventScaled,t_new_3.nextTimeEvent,$PRE.t_new_4.nextTimeEvent,$whenCondition1,t_new_4.nextTimeEventScaled,$PRE.t_new_4.nextTimeEventScaled,t_new_4.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (52): * Single equations (assignments): 52 * 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.0003224/0.4115, allocations: 260.1 kB / 0.5751 GB, free: 6.266 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001131/0.4116, allocations: 79.42 kB / 0.5751 GB, free: 6.188 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001222/0.4128, allocations: 0.5381 MB / 0.5757 GB, free: 5.637 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.506e-06/0.4128, allocations: 4 kB / 0.5757 GB, free: 5.633 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.506e-06/0.4129, allocations: 4 kB / 0.5757 GB, free: 5.629 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.388e-06/0.4129, allocations: 3.984 kB / 0.5757 GB, free: 5.625 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002047/0.4149, allocations: 1.275 MB / 0.5769 GB, free: 4.285 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.282e-06/0.4149, allocations: 4 kB / 0.5769 GB, free: 4.281 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001967/0.4151, allocations: 67.86 kB / 0.577 GB, free: 4.215 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.043e-06/0.4151, allocations: 4 kB / 0.577 GB, free: 4.211 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.325e-05/0.4152, allocations: 15.98 kB / 0.577 GB, free: 4.195 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.578e-06/0.4152, allocations: 8 kB / 0.577 GB, free: 4.188 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.602e-06/0.4152, allocations: 4.25 kB / 0.577 GB, free: 4.184 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00119/0.4164, allocations: 0.8396 MB / 0.5778 GB, free: 3.289 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002262/0.4166, allocations: 119.4 kB / 0.578 GB, free: 3.172 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.571e-05/0.4167, allocations: 12 kB / 0.578 GB, free: 3.16 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002886/0.417, allocations: 23.98 kB / 0.578 GB, free: 3.137 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000143/0.4171, allocations: 43.81 kB / 0.578 GB, free: 3.094 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.067e-05/0.4171, allocations: 23.98 kB / 0.5781 GB, free: 3.07 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001021/0.4182, allocations: 0.7138 MB / 0.5788 GB, free: 2.363 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4182, allocations: 4 kB / 0.5788 GB, free: 2.359 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005753/0.4187, allocations: 91.94 kB / 0.5789 GB, free: 2.27 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition1,t_new_4.nextTimeEvent,t_new_4.nextTimeEventScaled,$whenCondition2,t_new_3.nextTimeEvent,t_new_3.nextTimeEventScaled,$whenCondition3,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition4,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 8 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,t_new_3.nextTimeEvent,t_new_3.nextTimeEventScaled,t_new_4.nextTimeEvent,t_new_4.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (48): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.002239/0.421, allocations: 0.57 MB / 0.5794 GB, free: 1.941 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0007075/0.4217, allocations: 311.1 kB / 0.5797 GB, free: 1.641 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 7.164e-06/0.4217, allocations: 8.25 kB / 0.5797 GB, free: 1.633 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003475/0.422, allocations: 164.2 kB / 0.5799 GB, free: 1.473 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009918/0.423, allocations: 136.5 kB / 0.58 GB, free: 1.344 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002024/0.4251, allocations: 1.267 MB / 0.5812 GB, free: 8 kB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004573/0.4255, allocations: 322 kB / 0.5815 GB, free: 15.67 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001348/0.4257, allocations: 59.36 kB / 0.5816 GB, free: 15.61 MB / 430.1 MB Notification: Performance of SimCode: time 5.61e-07/0.4257, allocations: 0 / 0.5816 GB, free: 15.61 MB / 430.1 MB Notification: Performance of Templates: time 0.01197/0.4376, allocations: 7.074 MB / 0.5885 GB, free: 8.566 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test87.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test87.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test87.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test87.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test87.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test87 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test87.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test87_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test87/Test87.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test87.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.5088400359964]