Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test84.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.0009718/0.0009718, allocations: 83.58 kB / 21.19 MB, free: 3.387 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.00103/0.00103, allocations: 161 kB / 24.56 MB, free: 20 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.027/1.027, allocations: 177.1 MB / 205 MB, free: 5.156 MB / 186.7 MB " [Timeout remaining time 179] 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.2943/0.2943, allocations: 34.27 MB / 295.7 MB, free: 0.6641 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.Test84,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test84") translateModel(ModelicaTest.Tables.CombiTimeTable.Test84,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test84") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.944e-06/1.944e-06, allocations: 0 / 378.1 MB, free: 2.555 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.034e-05/2.228e-05, allocations: 2.312 kB / 378.1 MB, free: 2.551 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test84): time 0.002351/0.002373, allocations: 1.762 MB / 379.9 MB, free: 0.7734 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.004022/0.006395, allocations: 1.734 MB / 381.6 MB, free: 15.03 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000118/0.006513, allocations: 0 / 381.6 MB, free: 15.03 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004384/0.006951, allocations: 31.83 kB / 381.7 MB, free: 15 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005415/0.007493, allocations: 111.3 kB / 381.8 MB, free: 14.89 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002718/0.007765, allocations: 83.59 kB / 381.8 MB, free: 14.81 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002233/0.007988, allocations: 111.7 kB / 382 MB, free: 14.7 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001146/0.008103, allocations: 4 kB / 382 MB, free: 14.7 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001249/0.008227, allocations: 55.78 kB / 382 MB, free: 14.64 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001397/0.008367, allocations: 31.89 kB / 382 MB, free: 14.61 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.433e-05/0.008391, allocations: 8 kB / 382.1 MB, free: 14.6 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002116/0.008603, allocations: 111.8 kB / 382.2 MB, free: 14.49 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 6.866e-05/0.008672, allocations: 23.86 kB / 382.2 MB, free: 14.47 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 5.438e-05/0.008726, allocations: 23.92 kB / 382.2 MB, free: 14.45 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003381/0.009064, allocations: 155.5 kB / 382.4 MB, free: 14.29 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.009069, allocations: 0 / 382.4 MB, free: 14.29 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.894e-06/0.009071, allocations: 0 / 382.4 MB, free: 14.29 MB / 362.7 MB Notification: Performance of Transformations before backend: time 7.494e-06/0.009078, allocations: 3.984 kB / 382.4 MB, free: 14.29 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0006628/0.009741, allocations: 451.8 kB / 382.8 MB, free: 13.81 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.804e-05/0.009789, allocations: 8.031 kB / 382.8 MB, free: 13.8 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.144e-05/0.009861, allocations: 12.89 kB / 382.8 MB, free: 13.79 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002737/0.01013, allocations: 156.8 kB / 383 MB, free: 13.62 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.672e-05/0.01016, allocations: 384 / 383 MB, free: 13.62 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.171e-05/0.01019, allocations: 8.312 kB / 383 MB, free: 13.61 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000265/0.01046, allocations: 111.4 kB / 383.1 MB, free: 13.48 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.985e-05/0.01048, allocations: 3.953 kB / 383.1 MB, free: 13.47 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.786e-05/0.0105, allocations: 4 kB / 383.1 MB, free: 13.47 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.508e-05/0.01051, allocations: 4 kB / 383.1 MB, free: 13.46 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.67e-05/0.01057, allocations: 4 kB / 383.1 MB, free: 13.46 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000485/0.01105, allocations: 295.7 kB / 383.4 MB, free: 13.14 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001697/0.01122, allocations: 63.09 kB / 383.5 MB, free: 13.06 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.383e-05/0.01127, allocations: 15.69 kB / 383.5 MB, free: 13.04 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.704e-05/0.01128, allocations: 0 / 383.5 MB, free: 13.04 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001624/0.01145, allocations: 65.05 kB / 383.5 MB, free: 12.96 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.944e-06/0.01145, allocations: 0 / 383.5 MB, free: 12.96 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006293/0.01208, allocations: 157.4 kB / 383.7 MB, free: 12.8 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.262e-05/0.01214, allocations: 77.11 kB / 383.8 MB, free: 12.71 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001967/0.01234, allocations: 216.4 kB / 384 MB, free: 12.48 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.073e-05/0.01236, allocations: 29.7 kB / 384 MB, free: 12.45 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.37e-05/0.01243, allocations: 142.9 kB / 384.2 MB, free: 12.3 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.028e-05/0.01247, allocations: 31.73 kB / 384.2 MB, free: 12.27 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.068e-05/0.01252, allocations: 31.36 kB / 384.2 MB, free: 12.23 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001537/0.01267, allocations: 0.5 MB / 384.7 MB, free: 11.72 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.432e-05/0.01271, allocations: 11.98 kB / 384.7 MB, free: 11.71 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.583e-05/0.01278, allocations: 68.75 kB / 384.8 MB, free: 11.62 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.849e-05/0.01285, allocations: 47.44 kB / 384.8 MB, free: 11.57 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.943e-06/0.01286, allocations: 4 kB / 384.8 MB, free: 11.57 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001689/0.01302, allocations: 97.5 kB / 384.9 MB, free: 11.46 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.963e-05/0.01304, allocations: 8.062 kB / 384.9 MB, free: 11.46 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.51e-06/0.01305, allocations: 4 kB / 384.9 MB, free: 11.45 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.877e-05/0.01307, allocations: 0 / 384.9 MB, free: 11.45 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001048/0.01317, allocations: 15.94 kB / 385 MB, free: 11.44 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.538e-06/0.01318, allocations: 4 kB / 385 MB, free: 11.43 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.473e-05/0.01323, allocations: 3.984 kB / 385 MB, free: 11.43 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.877e-06/0.01324, allocations: 4 kB / 385 MB, free: 11.43 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.000113/0.01335, allocations: 164.5 kB / 385.1 MB, free: 11.25 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.217e-05/0.01338, allocations: 11.95 kB / 385.1 MB, free: 11.24 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002001/0.01358, allocations: 102.4 kB / 385.2 MB, free: 11.13 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.298e-05/0.0136, allocations: 8 kB / 385.3 MB, free: 11.12 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.14e-06/0.01361, allocations: 3.984 kB / 385.3 MB, free: 11.12 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.358e-06/0.01361, allocations: 0 / 385.3 MB, free: 11.12 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004006/0.01401, allocations: 392.9 kB / 385.6 MB, free: 10.69 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.016e-06/0.01402, allocations: 384 / 385.6 MB, free: 10.69 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.269e-05/0.01406, allocations: 8 kB / 385.7 MB, free: 10.68 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.128e-06/0.01406, allocations: 4 kB / 385.7 MB, free: 10.68 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.218e-05/0.01408, allocations: 8 kB / 385.7 MB, free: 10.67 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.964e-06/0.01408, allocations: 0 / 385.7 MB, free: 10.67 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.01408, allocations: 4 kB / 385.7 MB, free: 10.67 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002445/0.01432, allocations: 259.5 kB / 385.9 MB, free: 10.39 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.915e-05/0.01434, allocations: 7.938 kB / 385.9 MB, free: 10.38 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.484e-05/0.01437, allocations: 4 kB / 385.9 MB, free: 10.38 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.688e-05/0.01445, allocations: 8 kB / 385.9 MB, free: 10.37 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.385e-05/0.01449, allocations: 11.86 kB / 386 MB, free: 10.36 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.904e-05/0.01451, allocations: 4 kB / 386 MB, free: 10.36 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001031/0.01461, allocations: 161.6 kB / 386.1 MB, free: 10.2 MB / 362.7 MB Notification: Performance of sort global known variables: time 9e-08/0.01461, allocations: 4 kB / 386.1 MB, free: 10.2 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000305/0.01492, allocations: 51.8 kB / 386.2 MB, free: 10.14 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.001557/0.01647, allocations: 0.5416 MB / 386.7 MB, free: 9.801 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001657/0.01664, allocations: 55.59 kB / 386.8 MB, free: 9.742 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.01664, allocations: 0 / 386.8 MB, free: 9.742 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001306/0.01677, allocations: 23.69 kB / 386.8 MB, free: 9.715 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003488/0.01712, allocations: 35.97 kB / 386.8 MB, free: 9.68 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004743/0.0176, allocations: 202.1 kB / 387 MB, free: 9.449 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.78e-05/0.01764, allocations: 67.34 kB / 387.1 MB, free: 9.363 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 6.315e-05/0.01771, allocations: 21.08 kB / 387.1 MB, free: 9.34 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.475e-05/0.01776, allocations: 28.48 kB / 387.1 MB, free: 9.312 MB / 362.7 MB Notification: Performance of SimCode: time 7.21e-07/0.01776, allocations: 0 / 387.1 MB, free: 9.312 MB / 362.7 MB Notification: Performance of Templates: time 0.006379/0.02414, allocations: 2.75 MB / 389.9 MB, free: 6.59 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test84.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test84.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test84.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test84.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test84.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test84 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test84.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test84_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test84/Test84.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.213876777794212]