Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test43.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.001519/0.001519, allocations: 88.31 kB / 20.96 MB, free: 3.473 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.001703/0.001703, allocations: 161.6 kB / 24.27 MB, free: 168 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.514/1.514, allocations: 177.1 MB / 204.6 MB, free: 5.605 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.3649/0.3649, allocations: 34.26 MB / 295.3 MB, free: 0.6836 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.Test43,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test43") translateModel(ModelicaTest.Tables.CombiTimeTable.Test43,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test43") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.204e-06/2.204e-06, allocations: 0 / 377.4 MB, free: 2.902 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.129e-05/4.349e-05, allocations: 2.312 kB / 377.4 MB, free: 2.898 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test43): time 0.006975/0.007018, allocations: 1.723 MB / 379.1 MB, free: 1.16 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.003875/0.01089, allocations: 0.9772 MB / 380.1 MB, free: 184 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001547/0.01105, allocations: 0 / 380.1 MB, free: 184 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005573/0.01161, allocations: 47.62 kB / 380.1 MB, free: 136 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008199/0.01242, allocations: 99.53 kB / 380.2 MB, free: 36 kB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005607/0.01299, allocations: 79.69 kB / 380.3 MB, free: 15.95 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004006/0.01339, allocations: 103.5 kB / 380.4 MB, free: 15.86 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001818/0.01357, allocations: 15.98 kB / 380.4 MB, free: 15.84 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002629/0.01383, allocations: 55.83 kB / 380.5 MB, free: 15.79 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001513/0.01398, allocations: 31.84 kB / 380.5 MB, free: 15.75 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 3.978e-05/0.01402, allocations: 4 kB / 380.5 MB, free: 15.75 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002253/0.01425, allocations: 43.92 kB / 380.5 MB, free: 15.71 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001035/0.01435, allocations: 19.92 kB / 380.6 MB, free: 15.69 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 9.328e-05/0.01444, allocations: 19.92 kB / 380.6 MB, free: 15.67 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004464/0.01489, allocations: 119.6 kB / 380.7 MB, free: 15.55 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.385e-06/0.0149, allocations: 3.984 kB / 380.7 MB, free: 15.55 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.763e-06/0.0149, allocations: 0 / 380.7 MB, free: 15.55 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.512e-06/0.01491, allocations: 3.938 kB / 380.7 MB, free: 15.54 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.0009778/0.01588, allocations: 349.6 kB / 381 MB, free: 15.17 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.335e-05/0.01595, allocations: 8.031 kB / 381.1 MB, free: 15.16 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000102/0.01605, allocations: 16.84 kB / 381.1 MB, free: 15.15 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005365/0.01659, allocations: 158 kB / 381.2 MB, free: 14.97 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.588e-05/0.01662, allocations: 4.375 kB / 381.2 MB, free: 14.96 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.638e-05/0.01666, allocations: 384 / 381.2 MB, free: 14.96 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002784/0.01694, allocations: 58.23 kB / 381.3 MB, free: 14.9 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.621e-05/0.01696, allocations: 7.922 kB / 381.3 MB, free: 14.89 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.816e-05/0.01698, allocations: 0 / 381.3 MB, free: 14.89 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.444e-06/0.01699, allocations: 0 / 381.3 MB, free: 14.89 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001519/0.01714, allocations: 27.92 kB / 381.3 MB, free: 14.87 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007481/0.01789, allocations: 228.6 kB / 381.5 MB, free: 14.61 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003782/0.01827, allocations: 58.67 kB / 381.6 MB, free: 14.55 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001333/0.0184, allocations: 24.78 kB / 381.6 MB, free: 14.52 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.509e-05/0.01843, allocations: 3.938 kB / 381.6 MB, free: 14.52 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000335/0.01876, allocations: 67.39 kB / 381.7 MB, free: 14.44 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 2.305e-06/0.01876, allocations: 0 / 381.7 MB, free: 14.44 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.00121/0.01997, allocations: 193.3 kB / 381.9 MB, free: 14.24 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.382e-05/0.02006, allocations: 55.39 kB / 381.9 MB, free: 14.18 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000465/0.02052, allocations: 218.9 kB / 382.1 MB, free: 13.95 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.587e-05/0.02057, allocations: 25.7 kB / 382.2 MB, free: 13.92 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001495/0.02072, allocations: 108.1 kB / 382.3 MB, free: 13.81 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.141e-05/0.02079, allocations: 23.81 kB / 382.3 MB, free: 13.79 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.361e-05/0.02088, allocations: 21.7 kB / 382.3 MB, free: 13.76 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0003132/0.0212, allocations: 322.8 kB / 382.6 MB, free: 13.44 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001275/0.02132, allocations: 23.98 kB / 382.7 MB, free: 13.41 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001653/0.02149, allocations: 38.08 kB / 382.7 MB, free: 13.37 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002833/0.02177, allocations: 73.58 kB / 382.8 MB, free: 13.29 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.02177, allocations: 0 / 382.8 MB, free: 13.29 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0004409/0.02221, allocations: 109.6 kB / 382.9 MB, free: 13.18 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.029e-05/0.02225, allocations: 8 kB / 382.9 MB, free: 13.17 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.008e-05/0.02226, allocations: 0 / 382.9 MB, free: 13.17 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.681e-05/0.02229, allocations: 0 / 382.9 MB, free: 13.17 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001655/0.02246, allocations: 15.98 kB / 382.9 MB, free: 13.16 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.205e-05/0.02247, allocations: 4 kB / 382.9 MB, free: 13.15 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.909e-05/0.02255, allocations: 0 / 382.9 MB, free: 13.15 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.542e-05/0.02256, allocations: 8.031 kB / 382.9 MB, free: 13.14 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.0002229/0.02279, allocations: 137.6 kB / 383 MB, free: 13 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.883e-05/0.02284, allocations: 15.91 kB / 383.1 MB, free: 12.98 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005123/0.02335, allocations: 123.1 kB / 383.2 MB, free: 12.86 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.038e-06/0.02335, allocations: 0 / 383.2 MB, free: 12.86 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.352e-06/0.02336, allocations: 0 / 383.2 MB, free: 12.86 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.032e-05/0.02337, allocations: 3.984 kB / 383.2 MB, free: 12.86 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009153/0.02428, allocations: 350.9 kB / 383.5 MB, free: 12.47 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.426e-06/0.02429, allocations: 0 / 383.5 MB, free: 12.47 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.403e-05/0.02437, allocations: 19.95 kB / 383.6 MB, free: 12.45 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.007e-06/0.02438, allocations: 4 kB / 383.6 MB, free: 12.45 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.471e-05/0.02439, allocations: 0 / 383.6 MB, free: 12.45 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.595e-06/0.0244, allocations: 0 / 383.6 MB, free: 12.45 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.873e-06/0.0244, allocations: 4 kB / 383.6 MB, free: 12.45 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005609/0.02497, allocations: 220.2 kB / 383.8 MB, free: 12.21 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.505e-05/0.02502, allocations: 11.91 kB / 383.8 MB, free: 12.2 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.142e-05/0.02506, allocations: 0 / 383.8 MB, free: 12.2 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001398/0.0252, allocations: 4 kB / 383.8 MB, free: 12.2 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.052e-05/0.02527, allocations: 11.98 kB / 383.8 MB, free: 12.18 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.935e-05/0.0253, allocations: 11.94 kB / 383.8 MB, free: 12.17 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003226/0.02562, allocations: 159.2 kB / 384 MB, free: 12.02 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.02562, allocations: 0 / 384 MB, free: 12.02 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0005381/0.02616, allocations: 23.98 kB / 384 MB, free: 11.99 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.003683/0.02985, allocations: 489.8 kB / 384.5 MB, free: 11.71 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003842/0.03023, allocations: 59.91 kB / 384.5 MB, free: 11.66 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.557e-06/0.03023, allocations: 0 / 384.5 MB, free: 11.66 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001522/0.03039, allocations: 35.91 kB / 384.6 MB, free: 11.62 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006663/0.03105, allocations: 47.06 kB / 384.6 MB, free: 11.58 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001033/0.03208, allocations: 245.3 kB / 384.8 MB, free: 11.31 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001909/0.03228, allocations: 100.9 kB / 384.9 MB, free: 11.19 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 8.994e-05/0.03237, allocations: 12.98 kB / 385 MB, free: 11.18 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.402e-05/0.03245, allocations: 20.48 kB / 385 MB, free: 11.16 MB / 362.7 MB Notification: Performance of SimCode: time 7.52e-07/0.03245, allocations: 0 / 385 MB, free: 11.16 MB / 362.7 MB Notification: Performance of Templates: time 0.009734/0.04218, allocations: 1.857 MB / 386.8 MB, free: 9.324 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test43.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test43.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test43.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test43.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test43.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test43 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test43.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test43_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test43/Test43.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test43.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: 4.921698585967533]