Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test1.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.001689/0.001689, allocations: 88.33 kB / 20.96 MB, free: 3.449 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.001869/0.001869, allocations: 169.3 kB / 24.27 MB, free: 144 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.629/1.629, allocations: 177.1 MB / 204.6 MB, free: 5.613 MB / 186.7 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.4798/0.4798, allocations: 34.27 MB / 295.3 MB, free: 0.6953 MB / 266.7 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.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5019,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test1") translateModel(ModelicaTest.Tables.CombiTimeTable.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5019,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.543e-06/1.543e-06, allocations: 0 / 377.4 MB, free: 2.898 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.071e-05/3.225e-05, allocations: 6.312 kB / 377.4 MB, free: 2.891 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test1): time 0.003341/0.003373, allocations: 1.715 MB / 379.1 MB, free: 1.164 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001939/0.005312, allocations: 0.982 MB / 380.1 MB, free: 180 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.776e-05/0.00538, allocations: 4 kB / 380.1 MB, free: 176 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003031/0.005683, allocations: 55.62 kB / 380.1 MB, free: 120 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003302/0.006013, allocations: 103.5 kB / 380.2 MB, free: 16 kB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002375/0.00625, allocations: 75.61 kB / 380.3 MB, free: 15.94 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002121/0.006463, allocations: 111.6 kB / 380.4 MB, free: 15.83 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.118e-05/0.006544, allocations: 4 kB / 380.4 MB, free: 15.83 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001247/0.006668, allocations: 55.83 kB / 380.5 MB, free: 15.77 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.73e-05/0.006756, allocations: 31.84 kB / 380.5 MB, free: 15.74 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.968e-05/0.006775, allocations: 4 kB / 380.5 MB, free: 15.74 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001068/0.006882, allocations: 43.92 kB / 380.5 MB, free: 15.7 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 7.771e-05/0.00696, allocations: 31.91 kB / 380.6 MB, free: 15.66 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 5.711e-05/0.007017, allocations: 23.86 kB / 380.6 MB, free: 15.64 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002697/0.007287, allocations: 131.5 kB / 380.7 MB, free: 15.51 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.175e-06/0.007289, allocations: 4 kB / 380.7 MB, free: 15.51 MB / 362.7 MB Notification: Performance of FrontEnd: time 7.12e-07/0.00729, allocations: 0 / 380.7 MB, free: 15.51 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.967e-06/0.007293, allocations: 3.938 kB / 380.7 MB, free: 15.5 MB / 362.7 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.0006028/0.007896, allocations: 369.3 kB / 381.1 MB, free: 15.11 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.796e-05/0.007934, allocations: 8.031 kB / 381.1 MB, free: 15.11 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.029e-05/0.007994, allocations: 16.84 kB / 381.1 MB, free: 15.09 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003013/0.008296, allocations: 166.5 kB / 381.3 MB, free: 14.9 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.284e-05/0.008309, allocations: 4.375 kB / 381.3 MB, free: 14.89 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.08e-05/0.008329, allocations: 384 / 381.3 MB, free: 14.89 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001611/0.008491, allocations: 66.17 kB / 381.4 MB, free: 14.82 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.479e-05/0.008505, allocations: 3.938 kB / 381.4 MB, free: 14.82 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.846e-05/0.008524, allocations: 0 / 381.4 MB, free: 14.82 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.459e-06/0.008528, allocations: 0 / 381.4 MB, free: 14.82 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.21e-05/0.00861, allocations: 19.98 kB / 381.4 MB, free: 14.8 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003893/0.009, allocations: 248.5 kB / 381.6 MB, free: 14.53 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001915/0.009191, allocations: 54.62 kB / 381.7 MB, free: 14.46 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.719e-05/0.009258, allocations: 24.78 kB / 381.7 MB, free: 14.44 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.482e-05/0.009273, allocations: 0 / 381.7 MB, free: 14.44 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000162/0.009435, allocations: 71.39 kB / 381.8 MB, free: 14.36 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.072e-06/0.009436, allocations: 0 / 381.8 MB, free: 14.36 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006328/0.01007, allocations: 201.4 kB / 382 MB, free: 14.15 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.157e-05/0.01012, allocations: 55.41 kB / 382 MB, free: 14.09 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000337/0.01046, allocations: 271 kB / 382.3 MB, free: 13.81 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.512e-05/0.01048, allocations: 29.7 kB / 382.3 MB, free: 13.77 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.735e-05/0.01058, allocations: 116.1 kB / 382.4 MB, free: 13.66 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.242e-05/0.01062, allocations: 27.78 kB / 382.4 MB, free: 13.63 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.392e-05/0.01067, allocations: 17.72 kB / 382.5 MB, free: 13.61 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001992/0.01087, allocations: 334.8 kB / 382.8 MB, free: 13.27 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.214e-05/0.01094, allocations: 27.98 kB / 382.8 MB, free: 13.24 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.958e-05/0.01102, allocations: 37.64 kB / 382.9 MB, free: 13.2 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001442/0.01116, allocations: 65.7 kB / 382.9 MB, free: 13.13 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.61e-07/0.01116, allocations: 0 / 382.9 MB, free: 13.13 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002468/0.01141, allocations: 117.5 kB / 383 MB, free: 13.01 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.29e-05/0.01142, allocations: 4 kB / 383 MB, free: 13 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.618e-06/0.01143, allocations: 0 / 383 MB, free: 13 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.807e-05/0.01144, allocations: 4 kB / 383 MB, free: 13 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.681e-05/0.01154, allocations: 20.02 kB / 383.1 MB, free: 12.98 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.917e-06/0.01155, allocations: 0 / 383.1 MB, free: 12.98 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.37e-05/0.0116, allocations: 8 kB / 383.1 MB, free: 12.97 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.083e-06/0.01161, allocations: 0 / 383.1 MB, free: 12.97 MB / 362.7 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.0001573/0.01176, allocations: 141.7 kB / 383.2 MB, free: 12.82 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.818e-05/0.0118, allocations: 19.91 kB / 383.2 MB, free: 12.8 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003336/0.01214, allocations: 127 kB / 383.4 MB, free: 12.68 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.973e-06/0.01214, allocations: 4 kB / 383.4 MB, free: 12.68 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.941e-06/0.01215, allocations: 3.984 kB / 383.4 MB, free: 12.67 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.01215, allocations: 0 / 383.4 MB, free: 12.67 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005616/0.01271, allocations: 362.9 kB / 383.7 MB, free: 12.28 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.993e-06/0.01271, allocations: 0 / 383.7 MB, free: 12.28 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.571e-05/0.01276, allocations: 12 kB / 383.7 MB, free: 12.27 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.869e-06/0.01277, allocations: 4 kB / 383.7 MB, free: 12.26 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.098e-05/0.01278, allocations: 3.984 kB / 383.7 MB, free: 12.26 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.472e-06/0.01278, allocations: 0 / 383.7 MB, free: 12.26 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.21e-07/0.01278, allocations: 0 / 383.7 MB, free: 12.26 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003109/0.01309, allocations: 220.2 kB / 383.9 MB, free: 12.02 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.535e-05/0.01311, allocations: 11.91 kB / 384 MB, free: 12.01 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.818e-05/0.01314, allocations: 12.03 kB / 384 MB, free: 12 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.307e-05/0.01323, allocations: 3.984 kB / 384 MB, free: 12 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.714e-05/0.01328, allocations: 7.984 kB / 384 MB, free: 11.99 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.688e-05/0.0133, allocations: 4 kB / 384 MB, free: 11.98 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002322/0.01353, allocations: 208.5 kB / 384.2 MB, free: 11.78 MB / 362.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01353, allocations: 0 / 384.2 MB, free: 11.78 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002778/0.01381, allocations: 31.92 kB / 384.2 MB, free: 11.75 MB / 362.7 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 (9): * Single equations (assignments): 7 * 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.002303/0.01611, allocations: 0.4974 MB / 384.7 MB, free: 11.46 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002082/0.01632, allocations: 51.97 kB / 384.8 MB, free: 11.41 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.01632, allocations: 0 / 384.8 MB, free: 11.41 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 8.961e-05/0.01641, allocations: 36.08 kB / 384.8 MB, free: 11.38 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003957/0.01681, allocations: 28.06 kB / 384.8 MB, free: 11.35 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006278/0.01744, allocations: 306.1 kB / 385.1 MB, free: 11.02 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00014/0.01758, allocations: 116.8 kB / 385.2 MB, free: 10.88 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.087e-05/0.01763, allocations: 12.97 kB / 385.3 MB, free: 10.87 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.841e-05/0.01768, allocations: 16.5 kB / 385.3 MB, free: 10.86 MB / 362.7 MB Notification: Performance of SimCode: time 4.1e-07/0.01768, allocations: 0 / 385.3 MB, free: 10.86 MB / 362.7 MB Notification: Performance of Templates: time 0.005781/0.02346, allocations: 1.885 MB / 387.2 MB, free: 8.996 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test1.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test1.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test1.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test1.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test1.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test1.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test1/Test1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test1.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.142632021103054]