Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test84.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.001529/0.001529, allocations: 112.5 kB / 21.19 MB, free: 0.7578 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.002116/0.002116, allocations: 205.9 kB / 24.49 MB, free: 4.145 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.488/1.488, allocations: 230.6 MB / 258.3 MB, free: 8.008 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.2468/0.2468, allocations: 46.94 MB / 361.6 MB, free: 4.254 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.Test84,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test84") translateModel(ModelicaTest.Tables.CombiTimeTable.Test84,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test84") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002054/0.002054, allocations: 71.89 kB / 0.4975 GB, free: 7.309 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3732/0.3752, allocations: 66.03 MB / 0.5619 GB, free: 4.371 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test84): time 0.004242/0.3795, allocations: 1.745 MB / 0.5636 GB, free: 2.609 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003042/0.3825, allocations: 1.746 MB / 0.5653 GB, free: 0.8594 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.758e-05/0.3826, allocations: 0 / 0.5653 GB, free: 0.8594 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003266/0.3829, allocations: 39.77 kB / 0.5654 GB, free: 0.8203 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003642/0.3833, allocations: 99.53 kB / 0.5655 GB, free: 0.7227 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002296/0.3835, allocations: 83.66 kB / 0.5656 GB, free: 0.6406 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002001/0.3837, allocations: 107.7 kB / 0.5657 GB, free: 0.5352 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001011/0.3838, allocations: 11.94 kB / 0.5657 GB, free: 0.5234 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001158/0.384, allocations: 47.77 kB / 0.5657 GB, free: 488 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001733/0.3841, allocations: 47.83 kB / 0.5658 GB, free: 440 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.803e-05/0.3841, allocations: 7.938 kB / 0.5658 GB, free: 432 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000202/0.3843, allocations: 111.9 kB / 0.5659 GB, free: 320 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.893e-05/0.3844, allocations: 15.92 kB / 0.5659 GB, free: 304 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.669e-05/0.3845, allocations: 35.8 kB / 0.5659 GB, free: 268 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004993/0.385, allocations: 177.6 kB / 0.5661 GB, free: 96 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.556e-06/0.385, allocations: 0 / 0.5661 GB, free: 96 kB / 398.1 MB Notification: Performance of FrontEnd: time 2.805e-06/0.385, allocations: 0 / 0.5661 GB, free: 96 kB / 398.1 MB Notification: Performance of Transformations before backend: time 1.581e-05/0.385, allocations: 4 kB / 0.5661 GB, free: 92 kB / 398.1 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.001092/0.3861, allocations: 345.5 kB / 0.5664 GB, free: 15.72 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.941e-05/0.3861, allocations: 12.03 kB / 0.5664 GB, free: 15.71 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.319e-05/0.3862, allocations: 12.84 kB / 0.5665 GB, free: 15.7 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004621/0.3867, allocations: 156.6 kB / 0.5666 GB, free: 15.52 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.449e-05/0.3867, allocations: 7.875 kB / 0.5666 GB, free: 15.52 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.198e-05/0.3867, allocations: 8 kB / 0.5666 GB, free: 15.51 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002189/0.387, allocations: 63.39 kB / 0.5667 GB, free: 15.43 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.338e-05/0.387, allocations: 3.938 kB / 0.5667 GB, free: 15.43 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.382e-05/0.387, allocations: 8 kB / 0.5667 GB, free: 15.42 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.492e-06/0.387, allocations: 0 / 0.5667 GB, free: 15.42 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.229e-05/0.3871, allocations: 15.98 kB / 0.5667 GB, free: 15.41 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005053/0.3876, allocations: 256 kB / 0.567 GB, free: 15.11 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002155/0.3878, allocations: 58.61 kB / 0.567 GB, free: 15.05 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.849e-05/0.3879, allocations: 24.84 kB / 0.567 GB, free: 15.02 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.916e-05/0.3879, allocations: 0 / 0.567 GB, free: 15.02 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002001/0.3881, allocations: 71.38 kB / 0.5671 GB, free: 14.94 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.233e-06/0.3881, allocations: 0 / 0.5671 GB, free: 14.94 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006808/0.3888, allocations: 177.3 kB / 0.5673 GB, free: 14.76 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001049/0.3889, allocations: 81.05 kB / 0.5673 GB, free: 14.66 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002441/0.3891, allocations: 166.5 kB / 0.5675 GB, free: 14.48 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.493e-05/0.3891, allocations: 29.7 kB / 0.5675 GB, free: 14.45 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001015/0.3892, allocations: 96.14 kB / 0.5676 GB, free: 14.35 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.883e-05/0.3893, allocations: 35.67 kB / 0.5677 GB, free: 14.32 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.482e-05/0.3893, allocations: 21.72 kB / 0.5677 GB, free: 14.29 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002639/0.3896, allocations: 318.8 kB / 0.568 GB, free: 13.97 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.019e-05/0.3897, allocations: 23.98 kB / 0.568 GB, free: 13.95 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.158e-05/0.3898, allocations: 50.5 kB / 0.5681 GB, free: 13.89 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001308/0.3899, allocations: 58.08 kB / 0.5681 GB, free: 13.82 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.31e-07/0.3899, allocations: 0 / 0.5681 GB, free: 13.82 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002061/0.3901, allocations: 93.58 kB / 0.5682 GB, free: 13.73 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.619e-05/0.3901, allocations: 8 kB / 0.5682 GB, free: 13.72 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.247e-06/0.3901, allocations: 4 kB / 0.5682 GB, free: 13.71 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.78e-05/0.3902, allocations: 0 / 0.5682 GB, free: 13.71 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001152/0.3903, allocations: 23.98 kB / 0.5682 GB, free: 13.69 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.109e-05/0.3903, allocations: 7.938 kB / 0.5682 GB, free: 13.68 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.14e-05/0.3903, allocations: 4 kB / 0.5682 GB, free: 13.68 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.054e-05/0.3903, allocations: 4 kB / 0.5682 GB, free: 13.68 MB / 414.1 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.0001195/0.3905, allocations: 121.8 kB / 0.5684 GB, free: 13.55 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.478e-05/0.3905, allocations: 7.953 kB / 0.5684 GB, free: 13.54 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002685/0.3908, allocations: 118.5 kB / 0.5685 GB, free: 13.41 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/0.3908, allocations: 0 / 0.5685 GB, free: 13.41 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.953e-06/0.3908, allocations: 7.875 kB / 0.5685 GB, free: 13.41 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.867e-06/0.3908, allocations: 4 kB / 0.5685 GB, free: 13.4 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005683/0.3913, allocations: 370.3 kB / 0.5689 GB, free: 12.99 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.3913, allocations: 0 / 0.5689 GB, free: 12.99 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.093e-05/0.3914, allocations: 15.88 kB / 0.5689 GB, free: 12.97 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.934e-06/0.3914, allocations: 0 / 0.5689 GB, free: 12.97 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.087e-06/0.3914, allocations: 0 / 0.5689 GB, free: 12.97 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.3914, allocations: 4 kB / 0.5689 GB, free: 12.97 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.3914, allocations: 0 / 0.5689 GB, free: 12.97 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002619/0.3917, allocations: 204.4 kB / 0.5691 GB, free: 12.75 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.317e-05/0.3917, allocations: 11.89 kB / 0.5691 GB, free: 12.74 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.809e-05/0.3917, allocations: 4 kB / 0.5691 GB, free: 12.73 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.324e-05/0.3918, allocations: 4 kB / 0.5691 GB, free: 12.73 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.352e-05/0.3918, allocations: 11.92 kB / 0.5691 GB, free: 12.72 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.351e-05/0.3918, allocations: 0 / 0.5691 GB, free: 12.72 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001216/0.392, allocations: 132.9 kB / 0.5692 GB, free: 12.59 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.392, allocations: 0 / 0.5692 GB, free: 12.59 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003189/0.3923, allocations: 47.86 kB / 0.5693 GB, free: 12.54 MB / 414.1 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 (8): * Single equations (assignments): 6 * 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.002031/0.3943, allocations: 0.5455 MB / 0.5698 GB, free: 12.21 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002126/0.3945, allocations: 67.89 kB / 0.5699 GB, free: 12.14 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.3945, allocations: 0 / 0.5699 GB, free: 12.14 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.528e-05/0.3946, allocations: 27.98 kB / 0.5699 GB, free: 12.11 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003551/0.395, allocations: 30.73 kB / 0.5699 GB, free: 12.09 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006476/0.3956, allocations: 232.4 kB / 0.5701 GB, free: 11.82 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003892/0.396, allocations: 0.7081 MB / 0.5708 GB, free: 11.09 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.064e-05/0.3961, allocations: 15.44 kB / 0.5708 GB, free: 11.07 MB / 414.1 MB Notification: Performance of SimCode: time 3.21e-07/0.3961, allocations: 0 / 0.5708 GB, free: 11.07 MB / 414.1 MB Notification: Performance of Templates: time 0.00529/0.4013, allocations: 2.415 MB / 0.5732 GB, free: 8.668 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test84.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test84.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test84.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test84.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test84.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test84 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test84.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test84_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test84/Test84.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test84.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.01504529104568]