Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test61.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.001803/0.001803, allocations: 92.31 kB / 20.96 MB, free: 3.473 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.002219/0.002219, allocations: 161.7 kB / 24.27 MB, free: 172 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.598 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.4087/0.4087, allocations: 34.26 MB / 295.3 MB, free: 0.6758 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.Test61,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test61") translateModel(ModelicaTest.Tables.CombiTimeTable.Test61,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test61") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.834e-06/1.834e-06, allocations: 0 / 377.4 MB, free: 2.887 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.459e-05/3.642e-05, allocations: 2.312 kB / 377.4 MB, free: 2.883 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test61): time 0.004092/0.004129, allocations: 1.68 MB / 379 MB, free: 1.191 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002235/0.006364, allocations: 0.9586 MB / 380 MB, free: 232 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001111/0.006475, allocations: 0 / 380 MB, free: 232 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004024/0.006878, allocations: 59.75 kB / 380.1 MB, free: 172 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005104/0.007388, allocations: 107.5 kB / 380.2 MB, free: 64 kB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002925/0.007681, allocations: 67.73 kB / 380.2 MB, free: 15.99 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002736/0.007954, allocations: 103.6 kB / 380.3 MB, free: 15.89 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.809e-05/0.008012, allocations: 12.17 kB / 380.3 MB, free: 15.88 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001509/0.008163, allocations: 51.84 kB / 380.4 MB, free: 15.83 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001117/0.008275, allocations: 27.89 kB / 380.4 MB, free: 15.8 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.319e-05/0.008298, allocations: 4 kB / 380.4 MB, free: 15.8 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001197/0.008418, allocations: 35.98 kB / 380.5 MB, free: 15.77 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 8.272e-05/0.0085, allocations: 23.86 kB / 380.5 MB, free: 15.74 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 6.036e-05/0.008561, allocations: 23.86 kB / 380.5 MB, free: 15.72 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003048/0.008866, allocations: 119.6 kB / 380.6 MB, free: 15.6 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.439e-06/0.00887, allocations: 0 / 380.6 MB, free: 15.6 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.252e-06/0.008871, allocations: 0 / 380.6 MB, free: 15.6 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.4e-06/0.008877, allocations: 0 / 380.6 MB, free: 15.6 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.001551/0.01043, allocations: 373.4 kB / 381 MB, free: 15.21 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 9.601e-05/0.01052, allocations: 8.031 kB / 381 MB, free: 15.2 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001835/0.01071, allocations: 16.84 kB / 381 MB, free: 15.18 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008066/0.01151, allocations: 158.5 kB / 381.2 MB, free: 15 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.991e-05/0.01156, allocations: 4.375 kB / 381.2 MB, free: 15 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.027e-05/0.01159, allocations: 4.312 kB / 381.2 MB, free: 14.99 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003972/0.01199, allocations: 50.23 kB / 381.2 MB, free: 14.94 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.379e-05/0.01202, allocations: 3.938 kB / 381.2 MB, free: 14.93 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.986e-05/0.01205, allocations: 0 / 381.2 MB, free: 14.93 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.578e-06/0.01206, allocations: 0 / 381.2 MB, free: 14.93 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002402/0.0123, allocations: 23.98 kB / 381.3 MB, free: 14.91 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005775/0.01288, allocations: 141.3 kB / 381.4 MB, free: 14.74 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005015/0.01338, allocations: 58.55 kB / 381.4 MB, free: 14.68 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.341e-05/0.01348, allocations: 20.84 kB / 381.5 MB, free: 14.65 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.722e-05/0.01349, allocations: 3.938 kB / 381.5 MB, free: 14.65 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001733/0.01367, allocations: 63.39 kB / 381.5 MB, free: 14.57 MB / 362.7 MB Notification: Performance of pre-optimization done (n=5): time 1.282e-06/0.01367, allocations: 0 / 381.5 MB, free: 14.57 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003393/0.01401, allocations: 109.5 kB / 381.6 MB, free: 14.46 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.884e-05/0.01407, allocations: 59.34 kB / 381.7 MB, free: 14.39 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003303/0.0144, allocations: 271 kB / 382 MB, free: 14.11 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.966e-05/0.01444, allocations: 33.69 kB / 382 MB, free: 14.07 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.338e-05/0.01453, allocations: 112.1 kB / 382.1 MB, free: 13.96 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.767e-05/0.01457, allocations: 15.91 kB / 382.1 MB, free: 13.95 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.864e-05/0.01462, allocations: 17.72 kB / 382.1 MB, free: 13.92 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001983/0.01481, allocations: 326.8 kB / 382.5 MB, free: 13.59 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.051e-05/0.01488, allocations: 15.98 kB / 382.5 MB, free: 13.58 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.945e-05/0.01494, allocations: 29.7 kB / 382.5 MB, free: 13.54 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001265/0.01507, allocations: 53.95 kB / 382.6 MB, free: 13.48 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.01507, allocations: 0 / 382.6 MB, free: 13.48 MB / 362.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002009/0.01527, allocations: 89.53 kB / 382.6 MB, free: 13.39 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.505e-05/0.01529, allocations: 4 kB / 382.6 MB, free: 13.39 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.624e-06/0.0153, allocations: 3.938 kB / 382.7 MB, free: 13.38 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.735e-05/0.01531, allocations: 0 / 382.7 MB, free: 13.38 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001014/0.01542, allocations: 19.98 kB / 382.7 MB, free: 13.36 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.331e-06/0.01542, allocations: 3.938 kB / 382.7 MB, free: 13.36 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.386e-05/0.01548, allocations: 4 kB / 382.7 MB, free: 13.36 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.354e-06/0.01548, allocations: 32 / 382.7 MB, free: 13.36 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.0001388/0.01562, allocations: 137.8 kB / 382.8 MB, free: 13.21 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.214e-05/0.01565, allocations: 15.91 kB / 382.8 MB, free: 13.2 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002497/0.0159, allocations: 106.9 kB / 382.9 MB, free: 13.09 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.959e-06/0.01591, allocations: 4 kB / 382.9 MB, free: 13.08 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.01591, allocations: 0 / 382.9 MB, free: 13.08 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.505e-06/0.01592, allocations: 0 / 382.9 MB, free: 13.08 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001796/0.01609, allocations: 145.2 kB / 383.1 MB, free: 12.91 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.914e-06/0.0161, allocations: 0 / 383.1 MB, free: 12.91 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.293e-05/0.01613, allocations: 7.938 kB / 383.1 MB, free: 12.9 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.205e-06/0.01613, allocations: 0 / 383.1 MB, free: 12.9 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.692e-05/0.01615, allocations: 7.984 kB / 383.1 MB, free: 12.89 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.059e-06/0.01615, allocations: 3.938 kB / 383.1 MB, free: 12.89 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.01616, allocations: 0 / 383.1 MB, free: 12.89 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002585/0.01641, allocations: 128.9 kB / 383.2 MB, free: 12.75 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.606e-05/0.01644, allocations: 12.14 kB / 383.2 MB, free: 12.73 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.611e-05/0.01647, allocations: 4 kB / 383.2 MB, free: 12.73 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.549e-05/0.01651, allocations: 7.938 kB / 383.2 MB, free: 12.72 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.693e-05/0.01655, allocations: 3.984 kB / 383.3 MB, free: 12.72 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.563e-05/0.01656, allocations: 4 kB / 383.3 MB, free: 12.71 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002344/0.0168, allocations: 208.6 kB / 383.5 MB, free: 12.51 MB / 362.7 MB Notification: Performance of sort global known variables: time 9e-08/0.0168, allocations: 4 kB / 383.5 MB, free: 12.51 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002248/0.01702, allocations: 12 kB / 383.5 MB, free: 12.5 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.002006/0.01903, allocations: 440 kB / 383.9 MB, free: 12.25 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002016/0.01923, allocations: 43.97 kB / 383.9 MB, free: 12.2 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.01923, allocations: 0 / 383.9 MB, free: 12.2 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 7.585e-05/0.01931, allocations: 20.06 kB / 384 MB, free: 12.18 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003267/0.01963, allocations: 40.03 kB / 384 MB, free: 12.14 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009236/0.02056, allocations: 284.9 kB / 384.3 MB, free: 11.84 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001293/0.02069, allocations: 97.77 kB / 384.4 MB, free: 11.73 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.666e-05/0.02074, allocations: 8.5 kB / 384.4 MB, free: 11.72 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.979e-05/0.02079, allocations: 20.48 kB / 384.4 MB, free: 11.7 MB / 362.7 MB Notification: Performance of SimCode: time 8.42e-07/0.02079, allocations: 3.938 kB / 384.4 MB, free: 11.7 MB / 362.7 MB Notification: Performance of Templates: time 0.005681/0.02648, allocations: 1.673 MB / 386.1 MB, free: 10.05 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test61.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test61.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test61.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test61.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test61.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test61 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test61.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test61_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test61/Test61.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test61.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.014334587031044]