Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test24.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.001945/0.001945, allocations: 84.34 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.002293/0.002293, allocations: 165.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.519/1.519, allocations: 177.1 MB / 204.6 MB, free: 5.602 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3796/0.3796, allocations: 32.8 MB / 293.9 MB, free: 1.203 MB / 266.7 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.Test24,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test24") translateModel(ModelicaTest.Tables.CombiTimeTable.Test24,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test24") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.744e-06/1.744e-06, allocations: 0 / 375.3 MB, free: 4.898 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.887e-05/3.062e-05, allocations: 2.312 kB / 375.3 MB, free: 4.895 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test24): time 0.003555/0.003585, allocations: 1.719 MB / 377.1 MB, free: 3.16 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002074/0.005659, allocations: 0.9742 MB / 378 MB, free: 2.18 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.535e-05/0.005745, allocations: 4 kB / 378 MB, free: 2.176 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003008/0.006046, allocations: 43.7 kB / 378.1 MB, free: 2.133 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003879/0.006434, allocations: 99.47 kB / 378.2 MB, free: 2.035 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002463/0.00668, allocations: 75.66 kB / 378.3 MB, free: 1.961 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002129/0.006893, allocations: 107.6 kB / 378.4 MB, free: 1.855 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.792e-05/0.006981, allocations: 15.97 kB / 378.4 MB, free: 1.84 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001294/0.00711, allocations: 51.84 kB / 378.4 MB, free: 1.789 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.974e-05/0.0072, allocations: 23.91 kB / 378.4 MB, free: 1.766 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.01e-05/0.00722, allocations: 4 kB / 378.5 MB, free: 1.762 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000112/0.007332, allocations: 43.92 kB / 378.5 MB, free: 1.719 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 6.277e-05/0.007395, allocations: 19.92 kB / 378.5 MB, free: 1.699 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 5.851e-05/0.007453, allocations: 31.8 kB / 378.5 MB, free: 1.668 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002486/0.007702, allocations: 115.6 kB / 378.7 MB, free: 1.555 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.447e-06/0.007705, allocations: 0 / 378.7 MB, free: 1.555 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.062e-06/0.007706, allocations: 0 / 378.7 MB, free: 1.555 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.579e-06/0.007711, allocations: 4 kB / 378.7 MB, free: 1.551 MB / 346.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.0006108/0.008322, allocations: 345.6 kB / 379 MB, free: 1.184 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.804e-05/0.00836, allocations: 12.03 kB / 379 MB, free: 1.172 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.475e-05/0.008434, allocations: 24.83 kB / 379 MB, free: 1.148 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003148/0.008749, allocations: 162 kB / 379.2 MB, free: 0.9648 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.32e-05/0.008762, allocations: 4.312 kB / 379.2 MB, free: 0.9609 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.657e-05/0.008789, allocations: 8.375 kB / 379.2 MB, free: 0.9531 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001583/0.008947, allocations: 50.23 kB / 379.3 MB, free: 0.8984 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.401e-05/0.008961, allocations: 3.938 kB / 379.3 MB, free: 0.8945 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.26e-05/0.008974, allocations: 4 kB / 379.3 MB, free: 0.8906 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.998e-06/0.008978, allocations: 0 / 379.3 MB, free: 0.8906 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.315e-05/0.009071, allocations: 23.98 kB / 379.3 MB, free: 0.8672 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004087/0.00948, allocations: 236.6 kB / 379.5 MB, free: 0.6055 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000193/0.009673, allocations: 54.61 kB / 379.6 MB, free: 0.543 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.256e-05/0.009745, allocations: 24.78 kB / 379.6 MB, free: 0.5156 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.889e-05/0.009764, allocations: 4 kB / 379.6 MB, free: 0.5117 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001673/0.009931, allocations: 63.39 kB / 379.7 MB, free: 448 kB / 346.7 MB Notification: Performance of pre-optimization done (n=6): time 1.422e-06/0.009933, allocations: 4 kB / 379.7 MB, free: 444 kB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006686/0.0106, allocations: 189.3 kB / 379.8 MB, free: 248 kB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.948e-05/0.01065, allocations: 51.41 kB / 379.9 MB, free: 184 kB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002846/0.01094, allocations: 215 kB / 380.1 MB, free: 15.96 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.526e-05/0.01096, allocations: 29.7 kB / 380.1 MB, free: 15.93 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.747e-05/0.01105, allocations: 112 kB / 380.2 MB, free: 15.81 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.985e-05/0.01109, allocations: 23.81 kB / 380.3 MB, free: 15.79 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.221e-05/0.01114, allocations: 25.7 kB / 380.3 MB, free: 15.76 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000185/0.01133, allocations: 326.8 kB / 380.6 MB, free: 15.43 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.878e-05/0.01139, allocations: 19.98 kB / 380.6 MB, free: 15.41 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.167e-05/0.01148, allocations: 37.7 kB / 380.7 MB, free: 15.37 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001358/0.01161, allocations: 61.66 kB / 380.7 MB, free: 15.3 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.11e-07/0.01161, allocations: 0 / 380.7 MB, free: 15.3 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002313/0.01184, allocations: 113.5 kB / 380.8 MB, free: 15.18 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.366e-05/0.01187, allocations: 4 kB / 380.8 MB, free: 15.18 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.07e-06/0.01187, allocations: 0 / 380.8 MB, free: 15.18 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.802e-05/0.01189, allocations: 0 / 380.8 MB, free: 15.18 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.683e-05/0.01199, allocations: 23.92 kB / 380.9 MB, free: 15.16 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.849e-06/0.01199, allocations: 0 / 380.9 MB, free: 15.16 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.578e-05/0.01205, allocations: 8.375 kB / 380.9 MB, free: 15.15 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.755e-06/0.01206, allocations: 4.031 kB / 380.9 MB, free: 15.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.0001305/0.01219, allocations: 141.1 kB / 381 MB, free: 15 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.789e-05/0.01222, allocations: 15.91 kB / 381 MB, free: 14.98 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002872/0.01251, allocations: 127.2 kB / 381.2 MB, free: 14.86 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.975e-06/0.01251, allocations: 3.938 kB / 381.2 MB, free: 14.85 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.008e-06/0.01252, allocations: 4 kB / 381.2 MB, free: 14.85 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.01252, allocations: 0 / 381.2 MB, free: 14.85 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005418/0.01306, allocations: 350.9 kB / 381.5 MB, free: 14.46 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.285e-06/0.01307, allocations: 4 kB / 381.5 MB, free: 14.46 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.431e-05/0.01311, allocations: 16.02 kB / 381.5 MB, free: 14.45 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/0.01311, allocations: 0 / 381.5 MB, free: 14.45 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.657e-05/0.01313, allocations: 8 kB / 381.5 MB, free: 14.44 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.963e-06/0.01313, allocations: 0 / 381.5 MB, free: 14.44 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.01313, allocations: 0 / 381.5 MB, free: 14.44 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003122/0.01344, allocations: 212.2 kB / 381.7 MB, free: 14.21 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.996e-05/0.01347, allocations: 15.89 kB / 381.8 MB, free: 14.2 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.892e-05/0.0135, allocations: 8 kB / 381.8 MB, free: 14.19 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.404e-05/0.01358, allocations: 0 / 381.8 MB, free: 14.19 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.597e-05/0.01362, allocations: 11.92 kB / 381.8 MB, free: 14.18 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.802e-05/0.01364, allocations: 8 kB / 381.8 MB, free: 14.17 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001883/0.01383, allocations: 163.2 kB / 381.9 MB, free: 14.01 MB / 362.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01383, allocations: 0 / 381.9 MB, free: 14.01 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002762/0.01411, allocations: 27.98 kB / 382 MB, free: 13.98 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.002224/0.01633, allocations: 491.8 kB / 382.5 MB, free: 13.7 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000226/0.01656, allocations: 63.91 kB / 382.5 MB, free: 13.64 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.01656, allocations: 0 / 382.5 MB, free: 13.64 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 8.801e-05/0.01665, allocations: 27.98 kB / 382.5 MB, free: 13.61 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004077/0.01705, allocations: 31.91 kB / 382.6 MB, free: 13.58 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005578/0.01761, allocations: 249.3 kB / 382.8 MB, free: 13.31 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001269/0.01774, allocations: 100.9 kB / 382.9 MB, free: 13.19 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.576e-05/0.01779, allocations: 13.28 kB / 382.9 MB, free: 13.18 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.338e-05/0.01785, allocations: 20.48 kB / 383 MB, free: 13.16 MB / 362.7 MB Notification: Performance of SimCode: time 8.12e-07/0.01785, allocations: 0 / 383 MB, free: 13.16 MB / 362.7 MB Notification: Performance of Templates: time 0.006086/0.02393, allocations: 1.879 MB / 384.8 MB, free: 11.3 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test24.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test24.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test24.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test24.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test24.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test24 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test24.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test24_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test24/Test24.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test24.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.810464462032542]