Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test65.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.001428/0.001428, allocations: 96.27 kB / 20.96 MB, free: 3.445 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.001603/0.001603, allocations: 165.6 kB / 24.27 MB, free: 144 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.567/1.567, allocations: 177.1 MB / 204.6 MB, free: 5.602 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.3959/0.3959, allocations: 34.26 MB / 295.3 MB, free: 0.6797 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.Test65,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test65") translateModel(ModelicaTest.Tables.CombiTimeTable.Test65,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test65") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.392e-06/1.392e-06, allocations: 0 / 377.4 MB, free: 2.879 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.667e-05/2.806e-05, allocations: 2.312 kB / 377.4 MB, free: 2.875 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test65): time 0.003449/0.003477, allocations: 1.676 MB / 379 MB, free: 1.188 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.00216/0.005637, allocations: 0.9625 MB / 380 MB, free: 224 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.883e-05/0.005735, allocations: 0 / 380 MB, free: 224 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006798/0.006415, allocations: 91.64 kB / 380.1 MB, free: 132 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004255/0.006841, allocations: 111.5 kB / 380.2 MB, free: 20 kB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003234/0.007164, allocations: 83.59 kB / 380.3 MB, free: 15.94 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002409/0.007405, allocations: 107.7 kB / 380.4 MB, free: 15.83 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.501e-05/0.00745, allocations: 8.172 kB / 380.4 MB, free: 15.82 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001674/0.007617, allocations: 63.81 kB / 380.5 MB, free: 15.76 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001306/0.007748, allocations: 47.88 kB / 380.5 MB, free: 15.71 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.266e-05/0.007771, allocations: 4 kB / 380.5 MB, free: 15.71 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001169/0.007888, allocations: 31.94 kB / 380.5 MB, free: 15.68 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 7.764e-05/0.007965, allocations: 31.84 kB / 380.6 MB, free: 15.65 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 5.237e-05/0.008018, allocations: 19.92 kB / 380.6 MB, free: 15.63 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002681/0.008286, allocations: 115.6 kB / 380.7 MB, free: 15.52 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.008289, allocations: 0 / 380.7 MB, free: 15.52 MB / 362.7 MB Notification: Performance of FrontEnd: time 9.01e-07/0.00829, allocations: 0 / 380.7 MB, free: 15.52 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.58e-06/0.008296, allocations: 0 / 380.7 MB, free: 15.52 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.0008263/0.009122, allocations: 341.6 kB / 381 MB, free: 15.15 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.073e-05/0.009173, allocations: 11.97 kB / 381.1 MB, free: 15.14 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.828e-05/0.009261, allocations: 16.89 kB / 381.1 MB, free: 15.12 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003949/0.009656, allocations: 149.5 kB / 381.2 MB, free: 14.95 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.954e-05/0.009675, allocations: 8.375 kB / 381.2 MB, free: 14.95 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.229e-05/0.009688, allocations: 384 / 381.2 MB, free: 14.95 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002099/0.009897, allocations: 58.17 kB / 381.3 MB, free: 14.88 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.473e-05/0.009912, allocations: 3.938 kB / 381.3 MB, free: 14.88 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.338e-05/0.009926, allocations: 0 / 381.3 MB, free: 14.88 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.19e-06/0.009931, allocations: 0 / 381.3 MB, free: 14.88 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.585e-05/0.01003, allocations: 15.98 kB / 381.3 MB, free: 14.86 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002542/0.01028, allocations: 133.3 kB / 381.4 MB, free: 14.7 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002153/0.0105, allocations: 50.61 kB / 381.5 MB, free: 14.64 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.147e-05/0.01057, allocations: 24.84 kB / 381.5 MB, free: 14.62 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.236e-05/0.01059, allocations: 0 / 381.5 MB, free: 14.62 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002092/0.0108, allocations: 67.33 kB / 381.6 MB, free: 14.54 MB / 362.7 MB Notification: Performance of pre-optimization done (n=5): time 2.224e-06/0.0108, allocations: 0 / 381.6 MB, free: 14.54 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003889/0.01119, allocations: 105.5 kB / 381.7 MB, free: 14.43 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.221e-05/0.01125, allocations: 55.39 kB / 381.7 MB, free: 14.36 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003076/0.01156, allocations: 215.6 kB / 381.9 MB, free: 14.14 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.702e-05/0.01159, allocations: 29.69 kB / 382 MB, free: 14.1 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001102/0.0117, allocations: 108.1 kB / 382.1 MB, free: 13.99 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.354e-05/0.01175, allocations: 31.77 kB / 382.1 MB, free: 13.96 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.952e-05/0.0118, allocations: 17.72 kB / 382.1 MB, free: 13.94 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002059/0.01201, allocations: 322.8 kB / 382.4 MB, free: 13.61 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.316e-05/0.01207, allocations: 15.98 kB / 382.5 MB, free: 13.6 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.198e-05/0.01214, allocations: 29.7 kB / 382.5 MB, free: 13.56 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001184/0.01226, allocations: 37.97 kB / 382.5 MB, free: 13.52 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.01226, allocations: 4 kB / 382.5 MB, free: 13.52 MB / 362.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002296/0.01249, allocations: 97.52 kB / 382.6 MB, free: 13.41 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.74e-05/0.01251, allocations: 4 kB / 382.6 MB, free: 13.41 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.438e-06/0.01252, allocations: 7.969 kB / 382.6 MB, free: 13.4 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.437e-05/0.01254, allocations: 4 kB / 382.6 MB, free: 13.4 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001013/0.01264, allocations: 8 kB / 382.6 MB, free: 13.39 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.162e-05/0.01266, allocations: 3.984 kB / 382.6 MB, free: 13.39 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.963e-05/0.01272, allocations: 4 kB / 382.6 MB, free: 13.38 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.953e-06/0.01272, allocations: 3.938 kB / 382.7 MB, free: 13.38 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.0001535/0.01288, allocations: 137.8 kB / 382.8 MB, free: 13.23 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.734e-05/0.01291, allocations: 15.91 kB / 382.8 MB, free: 13.22 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002519/0.01317, allocations: 98.92 kB / 382.9 MB, free: 13.12 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.766e-06/0.01317, allocations: 4 kB / 382.9 MB, free: 13.11 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.182e-06/0.01317, allocations: 0 / 382.9 MB, free: 13.11 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.143e-06/0.01318, allocations: 3.984 kB / 382.9 MB, free: 13.11 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00018/0.01336, allocations: 133.3 kB / 383 MB, free: 12.95 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.01336, allocations: 0 / 383 MB, free: 12.95 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.078e-05/0.01339, allocations: 4 kB / 383 MB, free: 12.95 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.447e-06/0.0134, allocations: 0 / 383 MB, free: 12.95 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.314e-05/0.01341, allocations: 4 kB / 383 MB, free: 12.94 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.899e-06/0.01342, allocations: 3.938 kB / 383 MB, free: 12.94 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.265e-06/0.01342, allocations: 11.91 kB / 383.1 MB, free: 12.93 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002522/0.01368, allocations: 117 kB / 383.2 MB, free: 12.79 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.538e-05/0.0137, allocations: 11.95 kB / 383.2 MB, free: 12.78 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.297e-05/0.01372, allocations: 0 / 383.2 MB, free: 12.78 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.649e-05/0.01377, allocations: 8.125 kB / 383.2 MB, free: 12.77 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.403e-05/0.01382, allocations: 11.98 kB / 383.2 MB, free: 12.76 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.578e-05/0.01383, allocations: 4 kB / 383.2 MB, free: 12.76 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.000184/0.01402, allocations: 169.1 kB / 383.4 MB, free: 12.59 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01402, allocations: 0 / 383.4 MB, free: 12.59 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002444/0.01426, allocations: 27.92 kB / 383.4 MB, free: 12.57 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.002082/0.01634, allocations: 431.8 kB / 383.8 MB, free: 12.32 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002159/0.01656, allocations: 43.92 kB / 383.9 MB, free: 12.28 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.01656, allocations: 0 / 383.9 MB, free: 12.28 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 7.515e-05/0.01663, allocations: 23.98 kB / 383.9 MB, free: 12.26 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003447/0.01698, allocations: 24.22 kB / 383.9 MB, free: 12.23 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000649/0.01763, allocations: 243.1 kB / 384.2 MB, free: 11.97 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001244/0.01775, allocations: 96.3 kB / 384.2 MB, free: 11.86 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.74e-05/0.01781, allocations: 20.48 kB / 384.3 MB, free: 11.84 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.634e-05/0.01786, allocations: 16.5 kB / 384.3 MB, free: 11.82 MB / 362.7 MB Notification: Performance of SimCode: time 7.02e-07/0.01786, allocations: 0 / 384.3 MB, free: 11.82 MB / 362.7 MB Notification: Performance of Templates: time 0.006709/0.02457, allocations: 1.644 MB / 385.9 MB, free: 10.2 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test65.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test65.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test65.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test65.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test65.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test65 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test65.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test65_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test65/Test65.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test65.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.977392669068649]