Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test65.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.001269/0.001269, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002127/0.003395, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.001236/0.001236, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001682/0.002919, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 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.094/1.094, allocations: 177.2 MB / 189.6 MB, free: 5.305 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1031/1.197, allocations: 53.65 MB / 243.3 MB, free: 15.58 MB / 250.7 MB " [Timeout remaining time 179] 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.2869/0.2869, allocations: 34.25 MB / 278.2 MB, free: 15.28 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02395/0.3109, allocations: 13.09 MB / 291.3 MB, free: 7.359 MB / 282.7 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.Test65,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test65") translateModel(ModelicaTest.Tables.CombiTimeTable.Test65,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test65") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.683e-06/1.683e-06, allocations: 0 / 292.7 MB, free: 6.211 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.566e-05/3.734e-05, allocations: 7.188 kB / 292.7 MB, free: 6.203 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test65): time 0.003325/0.003363, allocations: 1.771 MB / 294.5 MB, free: 4.418 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001581/0.004944, allocations: 1 MB / 295.5 MB, free: 3.414 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.902e-05/0.005023, allocations: 0 / 295.5 MB, free: 3.414 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003054/0.005328, allocations: 87.64 kB / 295.6 MB, free: 3.328 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003687/0.005697, allocations: 111.4 kB / 295.7 MB, free: 3.219 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002996/0.005997, allocations: 79.59 kB / 295.8 MB, free: 3.141 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002195/0.006216, allocations: 111.7 kB / 295.9 MB, free: 3.031 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.164e-05/0.006258, allocations: 4.234 kB / 295.9 MB, free: 3.027 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000174/0.006432, allocations: 95.67 kB / 296 MB, free: 2.934 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001074/0.006539, allocations: 43.89 kB / 296 MB, free: 2.891 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.564e-05/0.006555, allocations: 4 kB / 296 MB, free: 2.887 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.258e-05/0.006648, allocations: 35.98 kB / 296 MB, free: 2.852 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.925e-05/0.006697, allocations: 23.86 kB / 296.1 MB, free: 2.828 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.856e-05/0.006735, allocations: 15.94 kB / 296.1 MB, free: 2.812 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001847/0.00692, allocations: 87.67 kB / 296.2 MB, free: 2.727 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.559e-05/0.006936, allocations: 0 / 296.2 MB, free: 2.727 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.523e-06/0.006937, allocations: 0 / 296.2 MB, free: 2.727 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.321e-05/0.00695, allocations: 0 / 296.2 MB, free: 2.727 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.000464/0.007414, allocations: 341 kB / 296.5 MB, free: 2.371 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.61e-05/0.007451, allocations: 8.031 kB / 296.5 MB, free: 2.363 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.957e-05/0.00749, allocations: 8.922 kB / 296.5 MB, free: 2.355 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001938/0.007684, allocations: 153.5 kB / 296.7 MB, free: 2.18 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.67e-05/0.007701, allocations: 4.312 kB / 296.7 MB, free: 2.176 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.122e-05/0.007712, allocations: 4.375 kB / 296.7 MB, free: 2.172 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001224/0.007834, allocations: 61.77 kB / 296.7 MB, free: 2.102 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.766e-06/0.007843, allocations: 3.938 kB / 296.7 MB, free: 2.098 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.582e-06/0.00785, allocations: 0 / 296.7 MB, free: 2.098 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.55e-06/0.007855, allocations: 0 / 296.7 MB, free: 2.098 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.899e-05/0.007884, allocations: 11.92 kB / 296.7 MB, free: 2.086 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001118/0.007996, allocations: 70.66 kB / 296.8 MB, free: 2 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001004/0.008096, allocations: 41.44 kB / 296.9 MB, free: 1.949 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.329e-05/0.00812, allocations: 8.859 kB / 296.9 MB, free: 1.938 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.545e-05/0.008135, allocations: 4 kB / 296.9 MB, free: 1.934 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001238/0.008259, allocations: 62.2 kB / 296.9 MB, free: 1.859 MB / 282.7 MB Notification: Performance of pre-optimization done (n=5): time 1.423e-06/0.00826, allocations: 0 / 296.9 MB, free: 1.859 MB / 282.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001458/0.008406, allocations: 65.8 kB / 297 MB, free: 1.789 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.735e-05/0.008443, allocations: 55.34 kB / 297.1 MB, free: 1.723 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001494/0.008593, allocations: 189 kB / 297.2 MB, free: 1.52 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.702e-05/0.00861, allocations: 29.7 kB / 297.3 MB, free: 1.484 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.678e-05/0.008647, allocations: 96.11 kB / 297.4 MB, free: 1.387 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.422e-05/0.008681, allocations: 11.91 kB / 297.4 MB, free: 1.375 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.144e-05/0.008722, allocations: 21.7 kB / 297.4 MB, free: 1.348 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001006/0.008823, allocations: 326.8 kB / 297.7 MB, free: 1.02 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.452e-05/0.008847, allocations: 14.81 kB / 297.7 MB, free: 1.004 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.5e-05/0.008872, allocations: 13.72 kB / 297.7 MB, free: 0.9844 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.134e-05/0.008924, allocations: 35.3 kB / 297.8 MB, free: 0.9414 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.008926, allocations: 0 / 297.8 MB, free: 0.9414 MB / 282.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 9.13e-05/0.009017, allocations: 64.44 kB / 297.8 MB, free: 0.8711 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.362e-05/0.009031, allocations: 8 kB / 297.8 MB, free: 0.8633 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.46e-06/0.009036, allocations: 4.031 kB / 297.8 MB, free: 0.8594 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.087e-06/0.009045, allocations: 0 / 297.8 MB, free: 0.8594 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.699e-05/0.009122, allocations: 15.94 kB / 297.9 MB, free: 0.8438 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.218e-06/0.009127, allocations: 3.984 kB / 297.9 MB, free: 0.8398 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.396e-05/0.009171, allocations: 7.984 kB / 297.9 MB, free: 0.832 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.31e-06/0.009176, allocations: 0 / 297.9 MB, free: 0.832 MB / 282.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 (7): * Single equations (assignments): 7 * 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 7.825e-05/0.009254, allocations: 116.7 kB / 298 MB, free: 0.707 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.803e-05/0.009272, allocations: 7.984 kB / 298 MB, free: 0.6992 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001151/0.009387, allocations: 70.7 kB / 298.1 MB, free: 0.625 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.864e-06/0.009389, allocations: 3.938 kB / 298.1 MB, free: 0.6211 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.296e-06/0.009392, allocations: 7.938 kB / 298.1 MB, free: 0.6133 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.507e-06/0.009396, allocations: 0 / 298.1 MB, free: 0.6133 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.679e-05/0.009493, allocations: 89.86 kB / 298.2 MB, free: 0.5078 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.345e-06/0.009495, allocations: 0 / 298.2 MB, free: 0.5078 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.427e-05/0.009529, allocations: 4 kB / 298.2 MB, free: 0.5039 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.929e-05/0.009549, allocations: 15.89 kB / 298.2 MB, free: 500 kB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.009551, allocations: 0 / 298.2 MB, free: 500 kB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.811e-06/0.009556, allocations: 192 / 298.2 MB, free: 500 kB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.835e-06/0.009559, allocations: 4 kB / 298.2 MB, free: 496 kB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.547e-06/0.009563, allocations: 7.938 kB / 298.2 MB, free: 488 kB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.836e-05/0.009661, allocations: 90.69 kB / 298.3 MB, free: 376 kB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.897e-05/0.00968, allocations: 4 kB / 298.3 MB, free: 372 kB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.199e-05/0.009712, allocations: 4 kB / 298.3 MB, free: 368 kB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.654e-05/0.009739, allocations: 3.984 kB / 298.3 MB, free: 364 kB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.397e-05/0.009753, allocations: 4 kB / 298.3 MB, free: 360 kB / 282.7 MB Notification: Performance of sorting global known variables: time 6.226e-05/0.009815, allocations: 61.55 kB / 298.4 MB, free: 296 kB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.009815, allocations: 0 / 298.4 MB, free: 296 kB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001829/0.009998, allocations: 16 kB / 298.4 MB, free: 280 kB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (6): * Single equations (assignments): 4 * 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.001666/0.01166, allocations: 0.5557 MB / 298.9 MB, free: 24 kB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001207/0.01178, allocations: 32.83 kB / 299 MB, free: 15.98 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.133e-05/0.0118, allocations: 8 kB / 299 MB, free: 15.98 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.04e-05/0.01183, allocations: 16.8 kB / 299 MB, free: 15.96 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001746/0.012, allocations: 34.42 kB / 299 MB, free: 15.93 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005547/0.01256, allocations: 209.4 kB / 299.2 MB, free: 15.7 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.658e-05/0.0126, allocations: 67.34 kB / 299.3 MB, free: 15.61 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 4.269e-05/0.01264, allocations: 16.55 kB / 299.3 MB, free: 15.59 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.321e-05/0.01272, allocations: 63.36 kB / 299.4 MB, free: 15.53 MB / 298.7 MB Notification: Performance of SimCode: time 8.42e-07/0.01272, allocations: 0 / 299.4 MB, free: 15.53 MB / 298.7 MB Notification: Performance of Templates: time 0.004291/0.01701, allocations: 1.818 MB / 301.2 MB, free: 13.75 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test65.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test65.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test65.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test65.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test65.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test65 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test65.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test65_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test65/Test65.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.9900159453973174]