Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test64.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.00258/0.00258, allocations: 83.67 kB / 20.96 MB, free: 3.32 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.003436/0.003436, allocations: 161.3 kB / 24.27 MB, free: 12 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.584/1.584, allocations: 177.1 MB / 204.6 MB, free: 5.609 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.367/0.367, allocations: 34.26 MB / 295.3 MB, free: 0.6523 MB / 266.7 MB " [Timeout remaining time 179] 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.Test64,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test64") translateModel(ModelicaTest.Tables.CombiTimeTable.Test64,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test64") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.533e-06/1.533e-06, allocations: 0 / 377.4 MB, free: 2.895 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.558e-05/2.711e-05, allocations: 2.312 kB / 377.4 MB, free: 2.891 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test64): time 0.00321/0.003237, allocations: 1.696 MB / 379.1 MB, free: 1.18 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002197/0.005434, allocations: 0.9813 MB / 380 MB, free: 200 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.028e-05/0.005515, allocations: 11.94 kB / 380.1 MB, free: 188 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000351/0.005866, allocations: 39.81 kB / 380.1 MB, free: 148 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000419/0.006285, allocations: 107.5 kB / 380.2 MB, free: 40 kB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002917/0.006576, allocations: 79.61 kB / 380.3 MB, free: 15.96 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002543/0.006831, allocations: 103.7 kB / 380.4 MB, free: 15.86 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.687e-05/0.006877, allocations: 12.16 kB / 380.4 MB, free: 15.85 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001471/0.007025, allocations: 47.78 kB / 380.4 MB, free: 15.8 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001049/0.007129, allocations: 27.91 kB / 380.5 MB, free: 15.77 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.648e-05/0.007156, allocations: 4 kB / 380.5 MB, free: 15.77 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001195/0.007275, allocations: 31.98 kB / 380.5 MB, free: 15.74 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 8.709e-05/0.007363, allocations: 31.86 kB / 380.5 MB, free: 15.71 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 5.71e-05/0.00742, allocations: 11.94 kB / 380.5 MB, free: 15.7 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003123/0.007732, allocations: 127.5 kB / 380.7 MB, free: 15.57 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.886e-06/0.007735, allocations: 0 / 380.7 MB, free: 15.57 MB / 362.7 MB Notification: Performance of FrontEnd: time 6.91e-07/0.007736, allocations: 0 / 380.7 MB, free: 15.57 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.01e-06/0.007741, allocations: 4 kB / 380.7 MB, free: 15.57 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.0008437/0.008584, allocations: 479.3 kB / 381.1 MB, free: 15.06 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.315e-05/0.008627, allocations: 8.031 kB / 381.1 MB, free: 15.05 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.762e-05/0.008705, allocations: 16.84 kB / 381.2 MB, free: 15.04 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003171/0.009022, allocations: 157.3 kB / 381.3 MB, free: 14.86 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.383e-05/0.009036, allocations: 384 / 381.3 MB, free: 14.86 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.572e-05/0.009052, allocations: 4.375 kB / 381.3 MB, free: 14.85 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001639/0.009216, allocations: 50.17 kB / 381.4 MB, free: 14.8 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.284e-05/0.009229, allocations: 3.938 kB / 381.4 MB, free: 14.79 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.013e-05/0.009239, allocations: 0 / 381.4 MB, free: 14.79 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.308e-06/0.009243, allocations: 4 kB / 381.4 MB, free: 14.79 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.516e-05/0.009328, allocations: 15.98 kB / 381.4 MB, free: 14.77 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003314/0.00966, allocations: 176.6 kB / 381.6 MB, free: 14.57 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002251/0.009885, allocations: 59.09 kB / 381.6 MB, free: 14.5 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.699e-05/0.009962, allocations: 23.61 kB / 381.6 MB, free: 14.47 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.75e-05/0.009979, allocations: 0 / 381.6 MB, free: 14.47 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001906/0.01017, allocations: 72.98 kB / 381.7 MB, free: 14.38 MB / 362.7 MB Notification: Performance of pre-optimization done (n=5): time 1.272e-06/0.01017, allocations: 0 / 381.7 MB, free: 14.38 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003989/0.01057, allocations: 101.5 kB / 381.8 MB, free: 14.28 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.644e-05/0.01063, allocations: 55.41 kB / 381.9 MB, free: 14.21 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004327/0.01106, allocations: 293.6 kB / 382.2 MB, free: 13.91 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.157e-05/0.01109, allocations: 29.7 kB / 382.2 MB, free: 13.87 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001673/0.01126, allocations: 170.9 kB / 382.4 MB, free: 13.7 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.153e-05/0.0113, allocations: 15.84 kB / 382.4 MB, free: 13.68 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.887e-05/0.01137, allocations: 27.36 kB / 382.4 MB, free: 13.65 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0003825/0.01175, allocations: 0.5118 MB / 382.9 MB, free: 13.12 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.772e-05/0.01181, allocations: 4 kB / 382.9 MB, free: 13.12 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.775e-05/0.0119, allocations: 35.36 kB / 382.9 MB, free: 13.08 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001437/0.01204, allocations: 47.36 kB / 383 MB, free: 13.02 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.761e-06/0.01205, allocations: 8.25 kB / 383 MB, free: 13.02 MB / 362.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002361/0.01228, allocations: 89.53 kB / 383.1 MB, free: 12.92 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.105e-05/0.0123, allocations: 6.031 kB / 383.1 MB, free: 12.92 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.425e-06/0.01231, allocations: 3.938 kB / 383.1 MB, free: 12.91 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.596e-05/0.01233, allocations: 0 / 383.1 MB, free: 12.91 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.973e-05/0.01243, allocations: 12 kB / 383.1 MB, free: 12.9 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.821e-06/0.01243, allocations: 0 / 383.1 MB, free: 12.9 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.436e-05/0.0125, allocations: 3.984 kB / 383.1 MB, free: 12.9 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.138e-05/0.01251, allocations: 4 kB / 383.1 MB, free: 12.89 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.0001713/0.01268, allocations: 168.5 kB / 383.3 MB, free: 12.72 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.503e-05/0.01272, allocations: 19.91 kB / 383.3 MB, free: 12.7 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002818/0.01301, allocations: 98.91 kB / 383.4 MB, free: 12.6 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.01301, allocations: 0 / 383.4 MB, free: 12.6 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.627e-06/0.01301, allocations: 0 / 383.4 MB, free: 12.6 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.01302, allocations: 0 / 383.4 MB, free: 12.6 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002616/0.01328, allocations: 164.5 kB / 383.6 MB, free: 12.4 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.01328, allocations: 0 / 383.6 MB, free: 12.4 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.534e-05/0.01332, allocations: 11.98 kB / 383.6 MB, free: 12.39 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.01333, allocations: 4 kB / 383.6 MB, free: 12.39 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.478e-06/0.01334, allocations: 0 / 383.6 MB, free: 12.39 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.468e-06/0.01334, allocations: 7.938 kB / 383.6 MB, free: 12.38 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.753e-06/0.01335, allocations: 11.86 kB / 383.6 MB, free: 12.37 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002915/0.01364, allocations: 128.3 kB / 383.7 MB, free: 12.22 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.982e-05/0.01367, allocations: 7.953 kB / 383.7 MB, free: 12.21 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.498e-05/0.0137, allocations: 8 kB / 383.7 MB, free: 12.2 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.471e-05/0.01376, allocations: 3.938 kB / 383.7 MB, free: 12.2 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.913e-05/0.01381, allocations: 8.172 kB / 383.7 MB, free: 12.19 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.882e-05/0.01383, allocations: 4 kB / 383.7 MB, free: 12.19 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002694/0.0141, allocations: 204.5 kB / 383.9 MB, free: 11.99 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.01e-07/0.0141, allocations: 0 / 383.9 MB, free: 11.99 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003994/0.01449, allocations: 23.98 kB / 384 MB, free: 11.96 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.0038/0.01829, allocations: 428.4 kB / 384.4 MB, free: 11.72 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002181/0.01851, allocations: 47.61 kB / 384.4 MB, free: 11.67 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.01851, allocations: 0 / 384.4 MB, free: 11.67 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001005/0.01861, allocations: 31.67 kB / 384.5 MB, free: 11.63 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004043/0.01902, allocations: 39.48 kB / 384.5 MB, free: 11.6 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008068/0.01983, allocations: 246.5 kB / 384.7 MB, free: 11.33 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000162/0.01999, allocations: 105 kB / 384.8 MB, free: 11.21 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 7.962e-05/0.02007, allocations: 16.48 kB / 384.9 MB, free: 11.2 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.422e-05/0.02012, allocations: 20.44 kB / 384.9 MB, free: 11.18 MB / 362.7 MB Notification: Performance of SimCode: time 5.41e-07/0.02012, allocations: 0 / 384.9 MB, free: 11.18 MB / 362.7 MB Notification: Performance of Templates: time 0.007133/0.02726, allocations: 1.665 MB / 386.5 MB, free: 9.535 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test64.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test64.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test64.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test64.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test64.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test64 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test64.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test64_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test64/Test64.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test64.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.884710527025163]