Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3.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.001368/0.001368, allocations: 79.59 kB / 21.18 MB, free: 3.383 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.001068/0.001068, allocations: 161 kB / 24.56 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 0.9824/0.9824, allocations: 177.1 MB / 205 MB, free: 5.605 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2539/0.2539, allocations: 32.79 MB / 294.3 MB, free: 1.285 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.CombiTable1Dv.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.443e-06/1.443e-06, allocations: 0 / 376 MB, free: 4.648 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.836e-05/1.981e-05, allocations: 5.828 kB / 376 MB, free: 4.645 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test3): time 0.002153/0.002173, allocations: 1.661 MB / 377.7 MB, free: 2.969 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007169/0.00289, allocations: 0.5454 MB / 378.2 MB, free: 2.418 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.517e-05/0.002945, allocations: 0 / 378.2 MB, free: 2.418 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002636/0.003208, allocations: 75.7 kB / 378.3 MB, free: 2.344 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002379/0.003446, allocations: 107.5 kB / 378.4 MB, free: 2.238 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002247/0.003671, allocations: 111.6 kB / 378.5 MB, free: 2.129 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001532/0.003824, allocations: 83.75 kB / 378.6 MB, free: 2.047 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001034/0.003927, allocations: 8 kB / 378.6 MB, free: 2.039 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.724e-05/0.003995, allocations: 47.88 kB / 378.7 MB, free: 1.992 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.42e-05/0.004089, allocations: 47.88 kB / 378.7 MB, free: 1.945 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.511e-05/0.004104, allocations: 4 kB / 378.7 MB, free: 1.941 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.016e-05/0.004184, allocations: 47.86 kB / 378.8 MB, free: 1.895 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003262/0.00451, allocations: 19.94 kB / 378.8 MB, free: 1.875 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.01e-05/0.00454, allocations: 23.91 kB / 378.8 MB, free: 1.852 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001466/0.004687, allocations: 83.62 kB / 378.9 MB, free: 1.77 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.104e-06/0.004689, allocations: 0 / 378.9 MB, free: 1.77 MB / 346.7 MB Notification: Performance of FrontEnd: time 7.41e-07/0.00469, allocations: 0 / 378.9 MB, free: 1.77 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.879e-06/0.004695, allocations: 0 / 378.9 MB, free: 1.77 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003832/0.005078, allocations: 443.9 kB / 379.3 MB, free: 1.301 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.488e-05/0.005113, allocations: 8.031 kB / 379.3 MB, free: 1.293 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.215e-05/0.005155, allocations: 24.81 kB / 379.4 MB, free: 1.27 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001263/0.005281, allocations: 140.4 kB / 379.5 MB, free: 1.105 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.849e-06/0.005291, allocations: 4.375 kB / 379.5 MB, free: 1.102 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.338e-05/0.005314, allocations: 4.375 kB / 379.5 MB, free: 1.098 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000109/0.005423, allocations: 62.94 kB / 379.6 MB, free: 1.027 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.548e-06/0.005433, allocations: 192 / 379.6 MB, free: 1.027 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.458e-06/0.005442, allocations: 4.125 kB / 379.6 MB, free: 1.023 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.424e-06/0.00545, allocations: 0 / 379.6 MB, free: 1.023 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.276e-05/0.005483, allocations: 15.98 kB / 379.6 MB, free: 1.008 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002867/0.005769, allocations: 295.7 kB / 379.9 MB, free: 0.6836 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.013e-05/0.005829, allocations: 39.06 kB / 379.9 MB, free: 0.6328 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.199e-05/0.005851, allocations: 15.7 kB / 379.9 MB, free: 0.6133 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.1e-05/0.005872, allocations: 8 kB / 379.9 MB, free: 0.6055 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.017e-05/0.005893, allocations: 33.39 kB / 380 MB, free: 0.5625 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 8.42e-07/0.005893, allocations: 3.938 kB / 380 MB, free: 0.5586 MB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004868/0.00638, allocations: 165.3 kB / 380.1 MB, free: 400 kB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.641e-05/0.006407, allocations: 59.41 kB / 380.2 MB, free: 328 kB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001289/0.006536, allocations: 230.5 kB / 380.4 MB, free: 76 kB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 9.718e-06/0.006545, allocations: 29.7 kB / 380.4 MB, free: 40 kB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.051e-05/0.006616, allocations: 150.8 kB / 380.6 MB, free: 15.89 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.453e-05/0.00664, allocations: 27.78 kB / 380.6 MB, free: 15.86 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.271e-05/0.006673, allocations: 31.38 kB / 380.6 MB, free: 15.82 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001128/0.006786, allocations: 0.5 MB / 381.1 MB, free: 15.31 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.097e-05/0.006807, allocations: 7.984 kB / 381.2 MB, free: 15.3 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.677e-05/0.006824, allocations: 8 kB / 381.2 MB, free: 15.29 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.816e-05/0.006872, allocations: 43.95 kB / 381.2 MB, free: 15.25 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.82e-07/0.006873, allocations: 0 / 381.2 MB, free: 15.25 MB / 362.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 8.341e-05/0.006956, allocations: 81.53 kB / 381.3 MB, free: 15.16 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.088e-05/0.006967, allocations: 4 kB / 381.3 MB, free: 15.16 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.817e-06/0.006971, allocations: 0 / 381.3 MB, free: 15.16 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.487e-05/0.006986, allocations: 0 / 381.3 MB, free: 15.16 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.012e-05/0.007056, allocations: 23.98 kB / 381.3 MB, free: 15.13 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.759e-06/0.00706, allocations: 0 / 381.3 MB, free: 15.13 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.682e-05/0.007077, allocations: 0 / 381.3 MB, free: 15.13 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.716e-06/0.007086, allocations: 8 kB / 381.3 MB, free: 15.12 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * 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 6.046e-05/0.007146, allocations: 160.5 kB / 381.5 MB, free: 14.96 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.291e-05/0.007169, allocations: 19.91 kB / 381.5 MB, free: 14.94 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001239/0.007293, allocations: 83.12 kB / 381.6 MB, free: 14.85 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.959e-06/0.007298, allocations: 8.422 kB / 381.6 MB, free: 14.84 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.096e-06/0.007301, allocations: 0 / 381.6 MB, free: 14.84 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.805e-06/0.007304, allocations: 0 / 381.6 MB, free: 14.84 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002764/0.007581, allocations: 377 kB / 382 MB, free: 14.43 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.007582, allocations: 0 / 382 MB, free: 14.43 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.657e-05/0.007619, allocations: 15.98 kB / 382 MB, free: 14.41 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.647e-06/0.007622, allocations: 7.984 kB / 382 MB, free: 14.41 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.091e-06/0.007629, allocations: 0 / 382 MB, free: 14.41 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.234e-06/0.007631, allocations: 3.938 kB / 382 MB, free: 14.4 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.007632, allocations: 3.938 kB / 382 MB, free: 14.4 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001129/0.007745, allocations: 247.4 kB / 382.2 MB, free: 14.13 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.384e-06/0.007752, allocations: 7.953 kB / 382.2 MB, free: 14.12 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.146e-05/0.007764, allocations: 4 kB / 382.2 MB, free: 14.12 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.09e-05/0.007794, allocations: 4.031 kB / 382.2 MB, free: 14.12 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.25e-05/0.007827, allocations: 15.92 kB / 382.3 MB, free: 14.1 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.168e-06/0.007831, allocations: 4 kB / 382.3 MB, free: 14.1 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.495e-05/0.007896, allocations: 163.9 kB / 382.4 MB, free: 13.94 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007896, allocations: 0 / 382.4 MB, free: 13.94 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000159/0.008055, allocations: 23.94 kB / 382.4 MB, free: 13.91 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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 Backend phase and start with SimCode phase: time 0.0008641/0.008919, allocations: 427 kB / 382.9 MB, free: 13.65 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001007/0.00902, allocations: 47.64 kB / 382.9 MB, free: 13.6 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.252e-06/0.009021, allocations: 4 kB / 382.9 MB, free: 13.6 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.912e-05/0.00905, allocations: 31.61 kB / 382.9 MB, free: 13.56 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002001/0.00925, allocations: 16 kB / 383 MB, free: 13.55 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003368/0.009587, allocations: 230.2 kB / 383.2 MB, free: 13.29 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.195e-05/0.009629, allocations: 67.34 kB / 383.2 MB, free: 13.2 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.208e-05/0.009671, allocations: 29 kB / 383.3 MB, free: 13.17 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.687e-05/0.009698, allocations: 20.56 kB / 383.3 MB, free: 13.15 MB / 362.7 MB Notification: Performance of SimCode: time 7.42e-07/0.009699, allocations: 0 / 383.3 MB, free: 13.15 MB / 362.7 MB Notification: Performance of Templates: time 0.002991/0.01269, allocations: 1.408 MB / 384.7 MB, free: 11.76 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test3/Test3.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.183860327117145]