Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test2.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.0009693/0.0009693, allocations: 80.92 kB / 21.49 MB, free: 2.996 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.001032/0.001032, allocations: 169.9 kB / 24.91 MB, free: 8.723 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 0.98/0.98, allocations: 177.1 MB / 205.3 MB, free: 5.105 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.2692/0.2692, allocations: 32.81 MB / 294.6 MB, free: 1.188 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.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test2") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.243e-06/1.243e-06, allocations: 0 / 323.3 MB, free: 9.656 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.633e-05/1.757e-05, allocations: 3.672 kB / 323.3 MB, free: 9.652 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test2): time 0.005565/0.005582, allocations: 1.672 MB / 325 MB, free: 7.969 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008256/0.006408, allocations: 0.5413 MB / 325.5 MB, free: 7.422 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.242e-05/0.00646, allocations: 0 / 325.5 MB, free: 7.422 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001819/0.006642, allocations: 23.86 kB / 325.5 MB, free: 7.398 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000217/0.006859, allocations: 79.55 kB / 325.6 MB, free: 7.32 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004911/0.007351, allocations: 115.6 kB / 325.7 MB, free: 7.207 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.003135/0.01049, allocations: 63.78 kB / 325.8 MB, free: 7.145 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.616e-05/0.01056, allocations: 15.97 kB / 325.8 MB, free: 7.129 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.434e-05/0.01062, allocations: 23.92 kB / 325.8 MB, free: 7.105 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.145e-05/0.01067, allocations: 19.92 kB / 325.8 MB, free: 7.086 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.252e-05/0.01068, allocations: 4 kB / 325.8 MB, free: 7.082 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.345e-05/0.01074, allocations: 27.98 kB / 325.9 MB, free: 7.055 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.618e-05/0.01078, allocations: 19.92 kB / 325.9 MB, free: 7.035 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.039e-05/0.0108, allocations: 11.94 kB / 325.9 MB, free: 7.023 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001253/0.01093, allocations: 67.69 kB / 326 MB, free: 6.957 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.533e-06/0.01093, allocations: 0 / 326 MB, free: 6.957 MB / 298.7 MB Notification: Performance of FrontEnd: time 5.51e-07/0.01093, allocations: 0 / 326 MB, free: 6.957 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.629e-06/0.01093, allocations: 4 kB / 326 MB, free: 6.953 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0002841/0.01122, allocations: 289.7 kB / 326.3 MB, free: 6.648 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.921e-05/0.01125, allocations: 8.031 kB / 326.3 MB, free: 6.641 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.73e-05/0.01127, allocations: 8.922 kB / 326.3 MB, free: 6.633 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001272/0.0114, allocations: 129.7 kB / 326.4 MB, free: 6.48 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.053e-06/0.01141, allocations: 4.375 kB / 326.4 MB, free: 6.477 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.659e-05/0.01142, allocations: 8.375 kB / 326.4 MB, free: 6.469 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.977e-05/0.0115, allocations: 58.89 kB / 326.5 MB, free: 6.402 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.376e-06/0.01151, allocations: 4.125 kB / 326.5 MB, free: 6.398 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.993e-06/0.01152, allocations: 8.125 kB / 326.5 MB, free: 6.391 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.529e-06/0.01152, allocations: 0 / 326.5 MB, free: 6.391 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.96e-05/0.01154, allocations: 4 kB / 326.5 MB, free: 6.387 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002007/0.01174, allocations: 163.8 kB / 326.6 MB, free: 6.211 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001142/0.01186, allocations: 29.39 kB / 326.7 MB, free: 6.172 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.711e-05/0.01187, allocations: 12.8 kB / 326.7 MB, free: 6.156 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.083e-05/0.01189, allocations: 4 kB / 326.7 MB, free: 6.152 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.077e-05/0.01191, allocations: 34.56 kB / 326.7 MB, free: 6.109 MB / 298.7 MB Notification: Performance of pre-optimization done (n=3): time 8.51e-07/0.01191, allocations: 0 / 326.7 MB, free: 6.109 MB / 298.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002504/0.01216, allocations: 93.5 kB / 326.8 MB, free: 6.012 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.669e-05/0.01218, allocations: 55.41 kB / 326.9 MB, free: 5.945 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.531e-05/0.01228, allocations: 140.3 kB / 327 MB, free: 5.793 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 9.908e-06/0.01229, allocations: 25.7 kB / 327 MB, free: 5.762 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.293e-05/0.01232, allocations: 92.11 kB / 327.1 MB, free: 5.668 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.021e-05/0.01234, allocations: 19.8 kB / 327.1 MB, free: 5.648 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.288e-05/0.01238, allocations: 17.7 kB / 327.2 MB, free: 5.625 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.41e-05/0.01246, allocations: 322.8 kB / 327.5 MB, free: 5.301 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.21e-05/0.01247, allocations: 4 kB / 327.5 MB, free: 5.297 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.228e-05/0.01248, allocations: 7.984 kB / 327.5 MB, free: 5.289 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.507e-05/0.01252, allocations: 27.66 kB / 327.5 MB, free: 5.258 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.91e-07/0.01252, allocations: 0 / 327.5 MB, free: 5.258 MB / 298.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 6.394e-05/0.01258, allocations: 53.56 kB / 327.6 MB, free: 5.199 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.107e-05/0.01259, allocations: 6.344 kB / 327.6 MB, free: 5.195 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.148e-06/0.0126, allocations: 0 / 327.6 MB, free: 5.195 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.109e-05/0.01261, allocations: 0 / 327.6 MB, free: 5.195 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.36e-05/0.01265, allocations: 8 kB / 327.6 MB, free: 5.188 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.099e-06/0.01266, allocations: 15.97 kB / 327.6 MB, free: 5.172 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.59e-05/0.01268, allocations: 256 / 327.6 MB, free: 5.172 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.358e-06/0.01269, allocations: 0 / 327.6 MB, free: 5.172 MB / 298.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 (5): * Single equations (assignments): 5 * 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 5.689e-05/0.01275, allocations: 116.7 kB / 327.7 MB, free: 5.047 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.261e-05/0.01277, allocations: 7.938 kB / 327.7 MB, free: 5.039 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.15e-05/0.01286, allocations: 62.08 kB / 327.8 MB, free: 4.973 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.01286, allocations: 288 / 327.8 MB, free: 4.973 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.723e-06/0.01286, allocations: 3.938 kB / 327.8 MB, free: 4.969 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.515e-06/0.01287, allocations: 4 kB / 327.8 MB, free: 4.965 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001986/0.01306, allocations: 210.8 kB / 328 MB, free: 4.734 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.903e-06/0.01307, allocations: 7.938 kB / 328 MB, free: 4.727 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.333e-05/0.0131, allocations: 15.92 kB / 328 MB, free: 4.711 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.182e-06/0.0131, allocations: 0 / 328 MB, free: 4.711 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.589e-06/0.01311, allocations: 0 / 328 MB, free: 4.711 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.01311, allocations: 0 / 328 MB, free: 4.711 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.01311, allocations: 4 kB / 328 MB, free: 4.707 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.083e-05/0.01319, allocations: 147.5 kB / 328.2 MB, free: 4.547 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003016/0.0162, allocations: 11.89 kB / 328.2 MB, free: 4.535 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.315e-05/0.01622, allocations: 4 kB / 328.2 MB, free: 4.531 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.747e-05/0.01626, allocations: 0 / 328.2 MB, free: 4.531 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.967e-05/0.01628, allocations: 3.984 kB / 328.2 MB, free: 4.527 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.126e-06/0.01629, allocations: 8 kB / 328.2 MB, free: 4.52 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.626e-05/0.01632, allocations: 38.23 kB / 328.2 MB, free: 4.48 MB / 298.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.01632, allocations: 0 / 328.2 MB, free: 4.48 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001867/0.01651, allocations: 8 kB / 328.2 MB, free: 4.473 MB / 298.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * 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.001158/0.01767, allocations: 0.5047 MB / 328.7 MB, free: 4.234 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 6.224e-05/0.01773, allocations: 24.84 kB / 328.8 MB, free: 4.207 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.01773, allocations: 0 / 328.8 MB, free: 4.207 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.129e-05/0.01775, allocations: 12.86 kB / 328.8 MB, free: 4.191 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001794/0.01793, allocations: 27.86 kB / 328.8 MB, free: 4.164 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002629/0.0182, allocations: 175.1 kB / 329 MB, free: 3.961 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.851e-05/0.01823, allocations: 63.34 kB / 329 MB, free: 3.879 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.209e-05/0.01827, allocations: 11.97 kB / 329 MB, free: 3.867 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.219e-05/0.01832, allocations: 55.38 kB / 329.1 MB, free: 3.812 MB / 298.7 MB Notification: Performance of SimCode: time 4.31e-07/0.01832, allocations: 4 kB / 329.1 MB, free: 3.809 MB / 298.7 MB Notification: Performance of Templates: time 0.005989/0.02431, allocations: 1.244 MB / 330.3 MB, free: 2.574 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test2.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test2.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test2 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test2/Test2.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: 2.8639430082403123]