Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85.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.002411/0.002411, allocations: 91.61 kB / 20.96 MB, free: 3.469 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.002405/0.002405, allocations: 165.3 kB / 24.28 MB, free: 156 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.677/1.677, allocations: 177.1 MB / 204.6 MB, free: 5.617 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.3345/0.3345, allocations: 32.8 MB / 293.9 MB, free: 1.191 MB / 266.7 MB " [Timeout remaining time 180] 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.Test85,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85") translateModel(ModelicaTest.Tables.CombiTimeTable.Test85,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.903e-06/1.903e-06, allocations: 0 / 375.3 MB, free: 4.918 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.603e-05/2.793e-05, allocations: 2.312 kB / 375.3 MB, free: 4.914 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test85): time 0.003282/0.00331, allocations: 1.688 MB / 377 MB, free: 3.211 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002152/0.005462, allocations: 0.9738 MB / 378 MB, free: 2.234 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.279e-05/0.005535, allocations: 7.938 kB / 378 MB, free: 2.227 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000345/0.00588, allocations: 55.73 kB / 378.1 MB, free: 2.172 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004637/0.006344, allocations: 103.5 kB / 378.2 MB, free: 2.07 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003471/0.006691, allocations: 75.61 kB / 378.2 MB, free: 1.996 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002861/0.006977, allocations: 111.6 kB / 378.4 MB, free: 1.887 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.036e-05/0.007017, allocations: 240 / 378.4 MB, free: 1.887 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001413/0.007159, allocations: 55.84 kB / 378.4 MB, free: 1.832 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001229/0.007282, allocations: 43.81 kB / 378.5 MB, free: 1.789 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.483e-05/0.007306, allocations: 4 kB / 378.5 MB, free: 1.785 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.971e-05/0.007396, allocations: 31.94 kB / 378.5 MB, free: 1.754 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 6.726e-05/0.007463, allocations: 27.91 kB / 378.5 MB, free: 1.727 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 4.59e-05/0.007509, allocations: 19.92 kB / 378.5 MB, free: 1.707 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002356/0.007745, allocations: 95.66 kB / 378.6 MB, free: 1.613 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.007748, allocations: 0 / 378.6 MB, free: 1.613 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.042e-06/0.007749, allocations: 0 / 378.6 MB, free: 1.613 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.099e-06/0.007754, allocations: 0 / 378.6 MB, free: 1.613 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0006426/0.008397, allocations: 439.6 kB / 379.1 MB, free: 1.148 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.112e-05/0.008438, allocations: 12.03 kB / 379.1 MB, free: 1.137 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.624e-05/0.008504, allocations: 8.891 kB / 379.1 MB, free: 1.129 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002495/0.008754, allocations: 152.4 kB / 379.2 MB, free: 0.9531 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.597e-05/0.00877, allocations: 4.375 kB / 379.2 MB, free: 0.9492 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.562e-05/0.008785, allocations: 8.359 kB / 379.2 MB, free: 0.9414 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001323/0.008918, allocations: 46.23 kB / 379.3 MB, free: 0.8906 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.305e-05/0.008931, allocations: 7.875 kB / 379.3 MB, free: 0.8828 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.907e-06/0.00894, allocations: 0 / 379.3 MB, free: 0.8828 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.212e-06/0.008946, allocations: 4 kB / 379.3 MB, free: 0.8789 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.613e-05/0.009012, allocations: 7.984 kB / 379.3 MB, free: 0.8711 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002296/0.009241, allocations: 152.6 kB / 379.4 MB, free: 0.6875 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002782/0.00952, allocations: 55.11 kB / 379.5 MB, free: 0.6211 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.372e-05/0.009613, allocations: 23.67 kB / 379.5 MB, free: 0.5938 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.336e-05/0.009637, allocations: 4 kB / 379.5 MB, free: 0.5898 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002231/0.00986, allocations: 68.98 kB / 379.6 MB, free: 0.5078 MB / 346.7 MB Notification: Performance of pre-optimization done (n=5): time 1.994e-06/0.009862, allocations: 0 / 379.6 MB, free: 0.5078 MB / 346.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003363/0.0102, allocations: 93.56 kB / 379.7 MB, free: 420 kB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.564e-05/0.01025, allocations: 55.41 kB / 379.7 MB, free: 352 kB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002548/0.01051, allocations: 238.6 kB / 380 MB, free: 96 kB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.514e-05/0.01053, allocations: 25.7 kB / 380 MB, free: 64 kB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001356/0.01067, allocations: 154.9 kB / 380.2 MB, free: 15.91 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.564e-05/0.01071, allocations: 23.83 kB / 380.2 MB, free: 15.88 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.501e-05/0.01077, allocations: 31.36 kB / 380.2 MB, free: 15.84 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002925/0.01106, allocations: 0.5001 MB / 380.7 MB, free: 15.33 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.1e-05/0.01111, allocations: 15.94 kB / 380.7 MB, free: 15.32 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.425e-05/0.01118, allocations: 31.36 kB / 380.8 MB, free: 15.28 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001026/0.01128, allocations: 47.38 kB / 380.8 MB, free: 15.22 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.01128, allocations: 0 / 380.8 MB, free: 15.22 MB / 362.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001721/0.01145, allocations: 73.58 kB / 380.9 MB, free: 15.14 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.061e-05/0.01148, allocations: 11.98 kB / 380.9 MB, free: 15.13 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.128e-05/0.01149, allocations: 4.25 kB / 380.9 MB, free: 15.13 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.613e-05/0.0115, allocations: 4.031 kB / 380.9 MB, free: 15.12 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.564e-05/0.01159, allocations: 16 kB / 380.9 MB, free: 15.11 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.781e-06/0.01159, allocations: 0 / 380.9 MB, free: 15.11 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.622e-05/0.01164, allocations: 7.953 kB / 380.9 MB, free: 15.1 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.866e-06/0.01165, allocations: 4 kB / 380.9 MB, free: 15.1 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 (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 0.0001622/0.01181, allocations: 168.5 kB / 381.1 MB, free: 14.92 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.904e-05/0.01185, allocations: 7.953 kB / 381.1 MB, free: 14.91 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002342/0.01208, allocations: 98.7 kB / 381.2 MB, free: 14.81 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.425e-06/0.01209, allocations: 0 / 381.2 MB, free: 14.81 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.01209, allocations: 0 / 381.2 MB, free: 14.81 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.01209, allocations: 0 / 381.2 MB, free: 14.81 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001794/0.01227, allocations: 152.6 kB / 381.3 MB, free: 14.63 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.01227, allocations: 0 / 381.3 MB, free: 14.63 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.344e-05/0.01231, allocations: 7.984 kB / 381.3 MB, free: 14.62 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.01231, allocations: 0 / 381.3 MB, free: 14.62 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.965e-06/0.01232, allocations: 0 / 381.3 MB, free: 14.62 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.795e-06/0.01233, allocations: 7.938 kB / 381.4 MB, free: 14.61 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.01233, allocations: 0 / 381.4 MB, free: 14.61 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002173/0.01254, allocations: 124.3 kB / 381.5 MB, free: 14.47 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.445e-05/0.01257, allocations: 11.89 kB / 381.5 MB, free: 14.46 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.409e-05/0.01259, allocations: 4 kB / 381.5 MB, free: 14.45 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.78e-05/0.01263, allocations: 7.938 kB / 381.5 MB, free: 14.45 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.935e-05/0.01267, allocations: 11.97 kB / 381.5 MB, free: 14.43 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.544e-05/0.01269, allocations: 4 kB / 381.5 MB, free: 14.43 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001501/0.01284, allocations: 175.9 kB / 381.7 MB, free: 14.26 MB / 362.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01284, allocations: 0 / 381.7 MB, free: 14.26 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002068/0.01304, allocations: 12 kB / 381.7 MB, free: 14.25 MB / 362.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.002986/0.01603, allocations: 430.5 kB / 382.1 MB, free: 14 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002118/0.01624, allocations: 51.59 kB / 382.2 MB, free: 13.95 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.01624, allocations: 0 / 382.2 MB, free: 13.95 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 7.039e-05/0.01631, allocations: 31.75 kB / 382.2 MB, free: 13.91 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003055/0.01662, allocations: 43.25 kB / 382.2 MB, free: 13.87 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005104/0.01713, allocations: 206.1 kB / 382.4 MB, free: 13.64 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.983e-05/0.01723, allocations: 89.38 kB / 382.5 MB, free: 13.53 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.569e-05/0.01727, allocations: 8.5 kB / 382.5 MB, free: 13.52 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.451e-05/0.01732, allocations: 20.48 kB / 382.6 MB, free: 13.5 MB / 362.7 MB Notification: Performance of SimCode: time 5.61e-07/0.01732, allocations: 4 kB / 382.6 MB, free: 13.5 MB / 362.7 MB Notification: Performance of Templates: time 0.005569/0.02289, allocations: 1.642 MB / 384.2 MB, free: 11.88 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test85/Test85.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85.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.004270739969797]