Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test52.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.001415/0.001415, allocations: 71.77 kB / 21.69 MB, free: 2.859 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.001272/0.001272, allocations: 165.8 kB / 24.99 MB, free: 8.336 MB / 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.097/1.097, allocations: 177.1 MB / 205.3 MB, free: 5.609 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.3144/0.3144, allocations: 34.26 MB / 296 MB, free: 0.6992 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.Test52,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test52") translateModel(ModelicaTest.Tables.CombiTimeTable.Test52,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test52") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.074e-06/2.074e-06, allocations: 0 / 378.1 MB, free: 2.895 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.073e-05/3.28e-05, allocations: 5.547 kB / 378.1 MB, free: 2.891 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test52): time 0.003193/0.003226, allocations: 1.77 MB / 379.9 MB, free: 1.105 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.00154/0.004765, allocations: 1.001 MB / 380.9 MB, free: 100 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001007/0.004866, allocations: 8 kB / 380.9 MB, free: 92 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003061/0.005172, allocations: 47.69 kB / 380.9 MB, free: 44 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000364/0.005536, allocations: 95.53 kB / 381 MB, free: 15.95 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003428/0.005879, allocations: 87.53 kB / 381.1 MB, free: 15.86 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001997/0.006079, allocations: 107.7 kB / 381.2 MB, free: 15.76 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001027/0.006181, allocations: 4 kB / 381.2 MB, free: 15.75 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001029/0.006284, allocations: 63.75 kB / 381.3 MB, free: 15.69 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.85e-05/0.006363, allocations: 23.92 kB / 381.3 MB, free: 15.67 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.795e-05/0.006381, allocations: 4 kB / 381.3 MB, free: 15.66 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001028/0.006484, allocations: 47.91 kB / 381.4 MB, free: 15.62 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 5.993e-05/0.006544, allocations: 23.92 kB / 381.4 MB, free: 15.59 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 4.528e-05/0.006589, allocations: 23.88 kB / 381.4 MB, free: 15.57 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002241/0.006813, allocations: 103.6 kB / 381.5 MB, free: 15.47 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.486e-06/0.006816, allocations: 0 / 381.5 MB, free: 15.47 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.263e-06/0.006818, allocations: 0 / 381.5 MB, free: 15.47 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.638e-06/0.006822, allocations: 0 / 381.5 MB, free: 15.47 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.0005202/0.007342, allocations: 475.7 kB / 382 MB, free: 14.97 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.77e-05/0.00738, allocations: 8.031 kB / 382 MB, free: 14.96 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.477e-05/0.007435, allocations: 16.84 kB / 382 MB, free: 14.95 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001993/0.007634, allocations: 153.2 kB / 382.1 MB, free: 14.77 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.738e-05/0.007652, allocations: 4.375 kB / 382.1 MB, free: 14.76 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.976e-05/0.007671, allocations: 384 / 382.1 MB, free: 14.76 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001404/0.007812, allocations: 66.88 kB / 382.2 MB, free: 14.69 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.28e-05/0.007824, allocations: 3.938 kB / 382.2 MB, free: 14.68 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.107e-05/0.007836, allocations: 3.984 kB / 382.2 MB, free: 14.68 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.368e-06/0.007845, allocations: 4 kB / 382.2 MB, free: 14.68 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.831e-05/0.007883, allocations: 8 kB / 382.2 MB, free: 14.67 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003454/0.008229, allocations: 299.8 kB / 382.5 MB, free: 14.34 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001221/0.008351, allocations: 55.09 kB / 382.6 MB, free: 14.27 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.842e-05/0.008389, allocations: 23.62 kB / 382.6 MB, free: 14.25 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.192e-05/0.008401, allocations: 0 / 382.6 MB, free: 14.25 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001179/0.008519, allocations: 69.05 kB / 382.7 MB, free: 14.16 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.222e-06/0.00852, allocations: 0 / 382.7 MB, free: 14.16 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004343/0.008955, allocations: 165.3 kB / 382.8 MB, free: 14 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.251e-05/0.008987, allocations: 51.41 kB / 382.9 MB, free: 13.93 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001808/0.009168, allocations: 259.1 kB / 383.1 MB, free: 13.66 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.557e-05/0.009184, allocations: 33.7 kB / 383.2 MB, free: 13.62 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.351e-05/0.009257, allocations: 158.9 kB / 383.3 MB, free: 13.46 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.146e-05/0.009289, allocations: 27.78 kB / 383.3 MB, free: 13.44 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.079e-05/0.009329, allocations: 23.38 kB / 383.4 MB, free: 13.41 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001343/0.009464, allocations: 0.5001 MB / 383.9 MB, free: 12.89 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.782e-05/0.009501, allocations: 11.98 kB / 383.9 MB, free: 12.88 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.655e-05/0.009548, allocations: 39.3 kB / 383.9 MB, free: 12.84 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.122e-05/0.009619, allocations: 47.31 kB / 384 MB, free: 12.78 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-06/0.00962, allocations: 4 kB / 384 MB, free: 12.78 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001486/0.009769, allocations: 101.6 kB / 384.1 MB, free: 12.67 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.331e-05/0.009782, allocations: 4 kB / 384.1 MB, free: 12.67 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.133e-06/0.009789, allocations: 7.984 kB / 384.1 MB, free: 12.66 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.483e-05/0.009804, allocations: 7.922 kB / 384.1 MB, free: 12.65 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.703e-05/0.009891, allocations: 12 kB / 384.1 MB, free: 12.64 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.861e-06/0.009897, allocations: 0 / 384.1 MB, free: 12.64 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.161e-05/0.009939, allocations: 4 kB / 384.1 MB, free: 12.64 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.097e-06/0.009948, allocations: 4 kB / 384.1 MB, free: 12.63 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 9.725e-05/0.01004, allocations: 172.5 kB / 384.3 MB, free: 12.45 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.702e-05/0.01007, allocations: 19.91 kB / 384.3 MB, free: 12.43 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002061/0.01028, allocations: 107.1 kB / 384.4 MB, free: 12.32 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.591e-06/0.01028, allocations: 4 kB / 384.4 MB, free: 12.32 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.01029, allocations: 0 / 384.4 MB, free: 12.32 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/0.01029, allocations: 0 / 384.4 MB, free: 12.32 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000554/0.01085, allocations: 400.9 kB / 384.8 MB, free: 11.88 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.447e-06/0.01085, allocations: 3.984 kB / 384.8 MB, free: 11.88 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.873e-05/0.01089, allocations: 8 kB / 384.8 MB, free: 11.87 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.01089, allocations: 0 / 384.8 MB, free: 11.87 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.006e-05/0.0109, allocations: 8.031 kB / 384.8 MB, free: 11.86 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.114e-06/0.0109, allocations: 0 / 384.8 MB, free: 11.86 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.823e-06/0.01091, allocations: 0 / 384.8 MB, free: 11.86 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000182/0.01109, allocations: 259.4 kB / 385.1 MB, free: 11.59 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.869e-05/0.01111, allocations: 15.91 kB / 385.1 MB, free: 11.57 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.261e-05/0.01113, allocations: 8.359 kB / 385.1 MB, free: 11.56 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.168e-05/0.0112, allocations: 0 / 385.1 MB, free: 11.56 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.328e-05/0.01124, allocations: 11.98 kB / 385.1 MB, free: 11.55 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.821e-05/0.01126, allocations: 8 kB / 385.1 MB, free: 11.54 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001193/0.01138, allocations: 183.1 kB / 385.3 MB, free: 11.36 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01138, allocations: 0 / 385.3 MB, free: 11.36 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002806/0.01166, allocations: 27.94 kB / 385.3 MB, free: 11.34 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.001288/0.01295, allocations: 435.3 kB / 385.7 MB, free: 11.07 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001427/0.01309, allocations: 55.64 kB / 385.8 MB, free: 11.01 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/0.01309, allocations: 3.938 kB / 385.8 MB, free: 11.01 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.478e-05/0.01314, allocations: 35.61 kB / 385.8 MB, free: 10.97 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000255/0.01339, allocations: 33.56 kB / 385.9 MB, free: 10.94 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004216/0.01382, allocations: 245.6 kB / 386.1 MB, free: 10.67 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.596e-05/0.01386, allocations: 75.27 kB / 386.2 MB, free: 10.58 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.568e-05/0.0139, allocations: 12.92 kB / 386.2 MB, free: 10.56 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.644e-05/0.01393, allocations: 20.48 kB / 386.2 MB, free: 10.54 MB / 362.7 MB Notification: Performance of SimCode: time 1.553e-06/0.01394, allocations: 0 / 386.2 MB, free: 10.54 MB / 362.7 MB Notification: Performance of Templates: time 0.00397/0.0179, allocations: 1.879 MB / 388.1 MB, free: 8.688 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test52.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test52.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test52.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test52.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test52.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test52 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test52.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test52_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test52/Test52.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.4628885849379003]