Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.001915/0.001915, allocations: 91.61 kB / 20.96 MB, free: 3.465 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.002087/0.002087, allocations: 169.3 kB / 24.28 MB, free: 152 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.583/1.583, 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.3501/0.3501, allocations: 34.27 MB / 295.3 MB, free: 0.6758 MB / 266.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.Test85,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.1.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.1.0_ModelicaTest.Tables.CombiTimeTable.Test85") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.382e-06/1.382e-06, allocations: 0 / 377.4 MB, free: 2.898 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.594e-05/2.732e-05, allocations: 2.312 kB / 377.4 MB, free: 2.895 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test85): time 0.003271/0.003298, allocations: 1.688 MB / 379 MB, free: 1.191 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001909/0.005207, allocations: 0.9859 MB / 380 MB, free: 204 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.223e-05/0.005269, allocations: 0 / 380 MB, free: 204 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003169/0.005586, allocations: 51.75 kB / 380.1 MB, free: 152 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003392/0.005925, allocations: 111.4 kB / 380.2 MB, free: 40 kB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002107/0.006136, allocations: 71.69 kB / 380.3 MB, free: 15.97 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001969/0.006333, allocations: 111.6 kB / 380.4 MB, free: 15.86 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.767e-05/0.00637, allocations: 4.234 kB / 380.4 MB, free: 15.86 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001268/0.006497, allocations: 55.81 kB / 380.4 MB, free: 15.8 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001174/0.006615, allocations: 35.91 kB / 380.5 MB, free: 15.77 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.259e-05/0.006637, allocations: 4 kB / 380.5 MB, free: 15.76 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.489e-05/0.006732, allocations: 39.86 kB / 380.5 MB, free: 15.72 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 6.483e-05/0.006797, allocations: 27.84 kB / 380.5 MB, free: 15.7 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 4.332e-05/0.00684, allocations: 11.94 kB / 380.5 MB, free: 15.68 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002142/0.007055, allocations: 99.69 kB / 380.6 MB, free: 15.59 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.007058, allocations: 0 / 380.6 MB, free: 15.59 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.403e-06/0.007059, allocations: 0 / 380.6 MB, free: 15.59 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.899e-06/0.007064, allocations: 8 kB / 380.7 MB, free: 15.58 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0006503/0.007714, allocations: 431.7 kB / 381.1 MB, free: 15.12 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.787e-05/0.007752, allocations: 8.031 kB / 381.1 MB, free: 15.11 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.905e-05/0.007811, allocations: 12.89 kB / 381.1 MB, free: 15.1 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002636/0.008075, allocations: 152.4 kB / 381.2 MB, free: 14.93 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.341e-05/0.008088, allocations: 384 / 381.2 MB, free: 14.93 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.344e-05/0.008102, allocations: 4.359 kB / 381.2 MB, free: 14.92 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004053/0.008507, allocations: 46.25 kB / 381.3 MB, free: 14.87 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.167e-05/0.008519, allocations: 3.938 kB / 381.3 MB, free: 14.87 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.856e-06/0.008528, allocations: 0 / 381.3 MB, free: 14.87 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.192e-06/0.008534, allocations: 7.984 kB / 381.3 MB, free: 14.86 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.076e-05/0.008605, allocations: 15.98 kB / 381.3 MB, free: 14.84 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002209/0.008825, allocations: 148.6 kB / 381.5 MB, free: 14.66 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001825/0.009008, allocations: 59.05 kB / 381.5 MB, free: 14.59 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.049e-05/0.009068, allocations: 23.67 kB / 381.5 MB, free: 14.57 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.733e-05/0.009086, allocations: 0 / 381.5 MB, free: 14.57 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001627/0.009248, allocations: 73.05 kB / 381.6 MB, free: 14.48 MB / 362.7 MB Notification: Performance of pre-optimization done (n=5): time 1.092e-06/0.009249, allocations: 3.938 kB / 381.6 MB, free: 14.48 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003129/0.009562, allocations: 97.5 kB / 381.7 MB, free: 14.38 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.929e-05/0.009612, allocations: 55.41 kB / 381.8 MB, free: 14.31 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002469/0.009859, allocations: 242.6 kB / 382 MB, free: 14.05 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.296e-05/0.009882, allocations: 29.7 kB / 382 MB, free: 14.02 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001097/0.009991, allocations: 150.9 kB / 382.2 MB, free: 13.87 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.003e-05/0.01003, allocations: 19.83 kB / 382.2 MB, free: 13.85 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.365e-05/0.01008, allocations: 27.38 kB / 382.2 MB, free: 13.81 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002825/0.01037, allocations: 0.4962 MB / 382.7 MB, free: 13.3 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.262e-05/0.01041, allocations: 8 kB / 382.7 MB, free: 13.3 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.578e-05/0.01048, allocations: 39.36 kB / 382.8 MB, free: 13.25 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001009/0.01058, allocations: 47.3 kB / 382.8 MB, free: 13.2 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.01058, allocations: 4.25 kB / 382.8 MB, free: 13.19 MB / 362.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001598/0.01074, allocations: 81.64 kB / 382.9 MB, free: 13.11 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.413e-05/0.01075, allocations: 4 kB / 382.9 MB, free: 13.1 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.645e-06/0.01076, allocations: 3.938 kB / 382.9 MB, free: 13.1 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.699e-05/0.01078, allocations: 4 kB / 382.9 MB, free: 13.09 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.104e-05/0.01086, allocations: 11.94 kB / 382.9 MB, free: 13.08 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.404e-06/0.01087, allocations: 3.984 kB / 382.9 MB, free: 13.08 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.519e-05/0.01091, allocations: 7.953 kB / 382.9 MB, free: 13.07 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.51e-06/0.01092, allocations: 0 / 382.9 MB, free: 13.07 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.0001311/0.01105, allocations: 164.6 kB / 383.1 MB, free: 12.9 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.743e-05/0.01107, allocations: 15.95 kB / 383.1 MB, free: 12.88 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002129/0.01129, allocations: 90.91 kB / 383.2 MB, free: 12.79 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.907e-06/0.0113, allocations: 7.984 kB / 383.2 MB, free: 12.78 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.005e-06/0.0113, allocations: 0 / 383.2 MB, free: 12.78 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.928e-06/0.0113, allocations: 3.938 kB / 383.2 MB, free: 12.78 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001703/0.01147, allocations: 144.6 kB / 383.4 MB, free: 12.6 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.01147, allocations: 0 / 383.4 MB, free: 12.6 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.657e-05/0.0115, allocations: 8 kB / 383.4 MB, free: 12.59 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.0115, allocations: 0 / 383.4 MB, free: 12.59 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.975e-06/0.01151, allocations: 0 / 383.4 MB, free: 12.59 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.39e-06/0.01152, allocations: 7.938 kB / 383.4 MB, free: 12.59 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.01152, allocations: 0 / 383.4 MB, free: 12.59 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002135/0.01173, allocations: 128.3 kB / 383.5 MB, free: 12.44 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.188e-05/0.01175, allocations: 11.89 kB / 383.5 MB, free: 12.43 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.954e-05/0.01177, allocations: 3.938 kB / 383.5 MB, free: 12.42 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.998e-05/0.01181, allocations: 11.92 kB / 383.5 MB, free: 12.41 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.879e-05/0.01185, allocations: 4.188 kB / 383.5 MB, free: 12.41 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.736e-05/0.01187, allocations: 8 kB / 383.5 MB, free: 12.4 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001503/0.01202, allocations: 175.8 kB / 383.7 MB, free: 12.23 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01202, allocations: 0 / 383.7 MB, free: 12.23 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002119/0.01223, allocations: 20 kB / 383.7 MB, free: 12.21 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.002887/0.01512, allocations: 433.7 kB / 384.2 MB, free: 11.96 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001824/0.0153, allocations: 43.67 kB / 384.2 MB, free: 11.91 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.0153, allocations: 0 / 384.2 MB, free: 11.91 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 7.189e-05/0.01537, allocations: 31.61 kB / 384.2 MB, free: 11.88 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002908/0.01566, allocations: 35.41 kB / 384.3 MB, free: 11.85 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005048/0.01617, allocations: 202.1 kB / 384.5 MB, free: 11.62 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001052/0.01627, allocations: 85.5 kB / 384.5 MB, free: 11.52 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.621e-05/0.01632, allocations: 16.48 kB / 384.6 MB, free: 11.5 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.161e-05/0.01636, allocations: 16.5 kB / 384.6 MB, free: 11.48 MB / 362.7 MB Notification: Performance of SimCode: time 5.41e-07/0.01636, allocations: 0 / 384.6 MB, free: 11.48 MB / 362.7 MB Notification: Performance of Templates: time 0.005386/0.02175, allocations: 1.648 MB / 386.2 MB, free: 9.859 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test85.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test85.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test85.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test85.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test85.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test85 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test85.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test85_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test85/Test85.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.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: 4.915493109961972]