Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56.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.001877/0.001877, 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.00197/0.00197, allocations: 165.6 kB / 24.27 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.551/1.551, allocations: 177.1 MB / 204.6 MB, free: 5.621 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.358/0.358, allocations: 32.79 MB / 293.9 MB, free: 1.219 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.Test56,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56") translateModel(ModelicaTest.Tables.CombiTimeTable.Test56,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.402e-06/1.402e-06, allocations: 0 / 375.3 MB, free: 4.926 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.491e-05/2.631e-05, allocations: 2.312 kB / 375.3 MB, free: 4.922 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test56): time 0.003207/0.003233, allocations: 1.75 MB / 377.1 MB, free: 3.16 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.003126/0.006359, allocations: 1.695 MB / 378.8 MB, free: 1.457 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.357e-05/0.006422, allocations: 4 kB / 378.8 MB, free: 1.453 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002763/0.006699, allocations: 39.7 kB / 378.8 MB, free: 1.414 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003506/0.007049, allocations: 103.4 kB / 378.9 MB, free: 1.312 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002069/0.007256, allocations: 83.59 kB / 379 MB, free: 1.23 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002198/0.007476, allocations: 111.6 kB / 379.1 MB, free: 1.121 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.499e-05/0.007571, allocations: 7.984 kB / 379.1 MB, free: 1.113 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001253/0.007696, allocations: 51.84 kB / 379.2 MB, free: 1.062 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001456/0.007842, allocations: 35.89 kB / 379.2 MB, free: 1.027 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.818e-05/0.00787, allocations: 8 kB / 379.2 MB, free: 1.02 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001993/0.008069, allocations: 95.88 kB / 379.3 MB, free: 0.9258 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 7.354e-05/0.008143, allocations: 35.84 kB / 379.3 MB, free: 0.8906 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 5.295e-05/0.008196, allocations: 23.86 kB / 379.4 MB, free: 0.8672 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003415/0.008537, allocations: 175.4 kB / 379.5 MB, free: 0.6953 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.008541, allocations: 0 / 379.5 MB, free: 0.6953 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.353e-06/0.008542, allocations: 0 / 379.5 MB, free: 0.6953 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.079e-06/0.008548, allocations: 0 / 379.5 MB, free: 0.6953 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.0007133/0.009261, allocations: 459.4 kB / 380 MB, free: 216 kB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.609e-05/0.009297, allocations: 12.03 kB / 380 MB, free: 204 kB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.972e-05/0.009377, allocations: 8.891 kB / 380 MB, free: 196 kB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002796/0.009656, allocations: 153 kB / 380.2 MB, free: 16 kB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.781e-05/0.009674, allocations: 8.375 kB / 380.2 MB, free: 8 kB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.046e-05/0.009694, allocations: 384 / 380.2 MB, free: 8 kB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002379/0.009932, allocations: 106.8 kB / 380.3 MB, free: 15.88 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.262e-05/0.009945, allocations: 0 / 380.3 MB, free: 15.88 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.466e-05/0.00996, allocations: 4 kB / 380.3 MB, free: 15.88 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.829e-06/0.009964, allocations: 0 / 380.3 MB, free: 15.88 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.044e-05/0.01004, allocations: 19.92 kB / 380.3 MB, free: 15.86 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004978/0.01054, allocations: 291.7 kB / 380.6 MB, free: 15.54 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001909/0.01073, allocations: 67.14 kB / 380.6 MB, free: 15.46 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.441e-05/0.0108, allocations: 23.67 kB / 380.7 MB, free: 15.43 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.767e-05/0.01082, allocations: 4 kB / 380.7 MB, free: 15.43 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001701/0.01099, allocations: 76.98 kB / 380.7 MB, free: 15.34 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.142e-06/0.01099, allocations: 0 / 380.7 MB, free: 15.34 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006204/0.01161, allocations: 173.3 kB / 380.9 MB, free: 15.16 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.102e-05/0.01168, allocations: 85.09 kB / 381 MB, free: 15.06 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002503/0.01193, allocations: 228.7 kB / 381.2 MB, free: 14.82 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.522e-05/0.01195, allocations: 29.7 kB / 381.3 MB, free: 14.79 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001065/0.01206, allocations: 146.8 kB / 381.4 MB, free: 14.64 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.173e-05/0.0121, allocations: 31.78 kB / 381.4 MB, free: 14.61 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.504e-05/0.01216, allocations: 27.38 kB / 381.5 MB, free: 14.57 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002883/0.01245, allocations: 0.504 MB / 382 MB, free: 14.05 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.924e-05/0.0125, allocations: 23.92 kB / 382 MB, free: 14.03 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001029/0.01261, allocations: 76.75 kB / 382.1 MB, free: 13.94 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001352/0.01274, allocations: 75.58 kB / 382.1 MB, free: 13.86 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.42e-07/0.01274, allocations: 0 / 382.1 MB, free: 13.86 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002094/0.01295, allocations: 105.5 kB / 382.2 MB, free: 13.75 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.397e-05/0.01297, allocations: 4 kB / 382.2 MB, free: 13.75 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.073e-06/0.01297, allocations: 4 kB / 382.2 MB, free: 13.74 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.435e-05/0.01299, allocations: 0 / 382.2 MB, free: 13.74 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.93e-05/0.01309, allocations: 19.98 kB / 382.3 MB, free: 13.72 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.01e-06/0.01309, allocations: 4.062 kB / 382.3 MB, free: 13.72 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.476e-05/0.01314, allocations: 0 / 382.3 MB, free: 13.72 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.312e-05/0.01316, allocations: 4 kB / 382.3 MB, free: 13.71 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.0001385/0.0133, allocations: 172.5 kB / 382.4 MB, free: 13.54 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.313e-05/0.01333, allocations: 11.94 kB / 382.4 MB, free: 13.52 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002635/0.0136, allocations: 114.5 kB / 382.6 MB, free: 13.4 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.394e-06/0.0136, allocations: 7.984 kB / 382.6 MB, free: 13.39 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.136e-06/0.01361, allocations: 0 / 382.6 MB, free: 13.39 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.01361, allocations: 0 / 382.6 MB, free: 13.39 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005619/0.01417, allocations: 413 kB / 383 MB, free: 12.95 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.01417, allocations: 0 / 383 MB, free: 12.95 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.709e-05/0.01422, allocations: 15.92 kB / 383 MB, free: 12.93 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.01422, allocations: 0 / 383 MB, free: 12.93 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.18e-05/0.01423, allocations: 4 kB / 383 MB, free: 12.93 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.01424, allocations: 0 / 383 MB, free: 12.93 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.01424, allocations: 0 / 383 MB, free: 12.93 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003293/0.01457, allocations: 275.4 kB / 383.3 MB, free: 12.63 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.441e-05/0.01459, allocations: 11.94 kB / 383.3 MB, free: 12.62 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.909e-05/0.01462, allocations: 4 kB / 383.3 MB, free: 12.62 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.251e-05/0.01469, allocations: 4 kB / 383.3 MB, free: 12.61 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.349e-05/0.01473, allocations: 11.95 kB / 383.3 MB, free: 12.6 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.542e-05/0.01475, allocations: 4 kB / 383.3 MB, free: 12.6 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001617/0.01491, allocations: 181.7 kB / 383.5 MB, free: 12.42 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01491, allocations: 0 / 383.5 MB, free: 12.42 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003222/0.01523, allocations: 51.8 kB / 383.5 MB, free: 12.37 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.003725/0.01896, allocations: 0.5886 MB / 384.1 MB, free: 12.03 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002414/0.0192, allocations: 67.59 kB / 384.2 MB, free: 11.96 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.0192, allocations: 0 / 384.2 MB, free: 11.96 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 9.097e-05/0.01929, allocations: 39.61 kB / 384.2 MB, free: 11.92 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003579/0.01965, allocations: 39.67 kB / 384.3 MB, free: 11.88 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005478/0.0202, allocations: 221.8 kB / 384.5 MB, free: 11.63 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001057/0.02031, allocations: 89.56 kB / 384.6 MB, free: 11.52 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 6.278e-05/0.02037, allocations: 16.97 kB / 384.6 MB, free: 11.51 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.773e-05/0.02043, allocations: 20.48 kB / 384.6 MB, free: 11.49 MB / 362.7 MB Notification: Performance of SimCode: time 5.41e-07/0.02043, allocations: 0 / 384.6 MB, free: 11.49 MB / 362.7 MB Notification: Performance of Templates: time 0.007268/0.02769, allocations: 2.547 MB / 387.1 MB, free: 8.969 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test56/Test56.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56.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.229179844027385]