Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test1.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.000987/0.000987, allocations: 83.58 kB / 21.19 MB, free: 3.379 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.0009392/0.0009392, 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.9756/0.9756, allocations: 177.1 MB / 205 MB, free: 5.637 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.2653/0.2653, allocations: 34.26 MB / 295.7 MB, free: 0.7812 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.CombiTable1Ds.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test1") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.284e-06/2.284e-06, allocations: 0 / 378 MB, free: 2.668 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.36e-05/3.589e-05, allocations: 5.547 kB / 378 MB, free: 2.664 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test1): time 0.002495/0.002531, allocations: 1.642 MB / 379.7 MB, free: 1.008 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008157/0.003346, allocations: 0.5298 MB / 380.2 MB, free: 484 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.681e-05/0.003413, allocations: 7.938 kB / 380.2 MB, free: 476 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00024/0.003653, allocations: 19.8 kB / 380.2 MB, free: 456 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003212/0.003974, allocations: 83.55 kB / 380.3 MB, free: 372 kB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002459/0.00422, allocations: 83.7 kB / 380.4 MB, free: 288 kB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001233/0.004343, allocations: 71.77 kB / 380.5 MB, free: 216 kB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.647e-05/0.00444, allocations: 11.98 kB / 380.5 MB, free: 204 kB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.976e-05/0.00449, allocations: 27.92 kB / 380.5 MB, free: 176 kB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.949e-05/0.004539, allocations: 23.91 kB / 380.5 MB, free: 152 kB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.429e-05/0.004553, allocations: 4 kB / 380.5 MB, free: 148 kB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.323e-05/0.004617, allocations: 31.92 kB / 380.6 MB, free: 116 kB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 4.207e-05/0.004659, allocations: 11.94 kB / 380.6 MB, free: 104 kB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 2.644e-05/0.004685, allocations: 11.92 kB / 380.6 MB, free: 92 kB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001384/0.004824, allocations: 71.73 kB / 380.7 MB, free: 20 kB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.404e-06/0.004826, allocations: 3.938 kB / 380.7 MB, free: 16 kB / 346.7 MB Notification: Performance of FrontEnd: time 1.242e-06/0.004827, allocations: 0 / 380.7 MB, free: 16 kB / 346.7 MB Notification: Performance of Transformations before backend: time 3.967e-06/0.004831, allocations: 0 / 380.7 MB, free: 16 kB / 346.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.0003846/0.005216, allocations: 400.2 kB / 381.1 MB, free: 15.59 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.802e-05/0.005254, allocations: 16.03 kB / 381.1 MB, free: 15.57 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.964e-05/0.005293, allocations: 12.89 kB / 381.1 MB, free: 15.56 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001226/0.005416, allocations: 132.5 kB / 381.2 MB, free: 15.41 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.566e-06/0.005425, allocations: 8.375 kB / 381.2 MB, free: 15.4 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.689e-05/0.005442, allocations: 384 / 381.2 MB, free: 15.4 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001028/0.005544, allocations: 54.95 kB / 381.3 MB, free: 15.34 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.687e-06/0.005553, allocations: 192 / 381.3 MB, free: 15.34 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.307e-06/0.005562, allocations: 4.125 kB / 381.3 MB, free: 15.33 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.692e-06/0.005569, allocations: 11.88 kB / 381.3 MB, free: 15.32 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.622e-05/0.005595, allocations: 7.984 kB / 381.3 MB, free: 15.31 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002728/0.005868, allocations: 275.8 kB / 381.6 MB, free: 15.01 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001488/0.006017, allocations: 35.06 kB / 381.6 MB, free: 14.96 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.342e-05/0.00604, allocations: 23.7 kB / 381.6 MB, free: 14.93 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.207e-05/0.006062, allocations: 3.938 kB / 381.6 MB, free: 14.93 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.049e-05/0.006083, allocations: 37.39 kB / 381.7 MB, free: 14.88 MB / 362.7 MB Notification: Performance of pre-optimization done (n=3): time 1.252e-06/0.006084, allocations: 0 / 381.7 MB, free: 14.88 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003191/0.006403, allocations: 101.5 kB / 381.8 MB, free: 14.78 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.66e-05/0.00643, allocations: 51.41 kB / 381.8 MB, free: 14.71 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.999e-05/0.00653, allocations: 200.5 kB / 382 MB, free: 14.5 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.049e-05/0.00654, allocations: 29.7 kB / 382.1 MB, free: 14.47 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.704e-05/0.006587, allocations: 142.9 kB / 382.2 MB, free: 14.32 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.075e-05/0.006608, allocations: 23.78 kB / 382.2 MB, free: 14.3 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.798e-05/0.006636, allocations: 23.38 kB / 382.2 MB, free: 14.27 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001133/0.006749, allocations: 0.4923 MB / 382.7 MB, free: 13.77 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.688e-05/0.006766, allocations: 4 kB / 382.7 MB, free: 13.76 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.372e-05/0.00678, allocations: 8.062 kB / 382.7 MB, free: 13.75 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.781e-05/0.006818, allocations: 19.69 kB / 382.8 MB, free: 13.73 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.61e-07/0.006819, allocations: 0 / 382.8 MB, free: 13.73 MB / 362.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 7.661e-05/0.006895, allocations: 69.52 kB / 382.8 MB, free: 13.66 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.258e-05/0.006908, allocations: 9.875 kB / 382.8 MB, free: 13.65 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.887e-06/0.006912, allocations: 4 kB / 382.8 MB, free: 13.64 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.09e-05/0.006923, allocations: 0 / 382.8 MB, free: 13.64 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.464e-05/0.006967, allocations: 11.98 kB / 382.9 MB, free: 13.63 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.308e-06/0.006972, allocations: 0 / 382.9 MB, free: 13.63 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.751e-05/0.006989, allocations: 4 kB / 382.9 MB, free: 13.63 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.999e-06/0.006994, allocations: 0 / 382.9 MB, free: 13.63 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 (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 6.334e-05/0.007057, allocations: 160.6 kB / 383 MB, free: 13.46 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.059e-05/0.007078, allocations: 15.88 kB / 383 MB, free: 13.45 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001106/0.007189, allocations: 66.08 kB / 383.1 MB, free: 13.38 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.007191, allocations: 0 / 383.1 MB, free: 13.38 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.007194, allocations: 8 kB / 383.1 MB, free: 13.37 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.007198, allocations: 0 / 383.1 MB, free: 13.37 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000214/0.007412, allocations: 317.4 kB / 383.4 MB, free: 13.02 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.007413, allocations: 3.938 kB / 383.4 MB, free: 13.01 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.213e-05/0.007445, allocations: 16.23 kB / 383.4 MB, free: 13 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.727e-06/0.007449, allocations: 4 kB / 383.4 MB, free: 12.99 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.175e-06/0.007457, allocations: 4 kB / 383.4 MB, free: 12.99 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.372e-06/0.007459, allocations: 0 / 383.4 MB, free: 12.99 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.00746, allocations: 0 / 383.4 MB, free: 12.99 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001074/0.007567, allocations: 207.8 kB / 383.6 MB, free: 12.77 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.935e-06/0.007575, allocations: 7.953 kB / 383.6 MB, free: 12.76 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.181e-05/0.007587, allocations: 8 kB / 383.7 MB, free: 12.75 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.028e-05/0.007617, allocations: 4 kB / 383.7 MB, free: 12.75 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.545e-05/0.007653, allocations: 3.984 kB / 383.7 MB, free: 12.74 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.308e-06/0.007657, allocations: 4 kB / 383.7 MB, free: 12.74 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.11e-05/0.007718, allocations: 143.2 kB / 383.8 MB, free: 12.6 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.007718, allocations: 0 / 383.8 MB, free: 12.6 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001608/0.007879, allocations: 15.98 kB / 383.8 MB, free: 12.58 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: 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.0007903/0.008669, allocations: 388.4 kB / 384.2 MB, free: 12.34 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 9.236e-05/0.008762, allocations: 23.69 kB / 384.2 MB, free: 12.31 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.013e-06/0.008764, allocations: 4 kB / 384.2 MB, free: 12.3 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.212e-05/0.008786, allocations: 23.67 kB / 384.3 MB, free: 12.28 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002107/0.008996, allocations: 19.92 kB / 384.3 MB, free: 12.26 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002997/0.009296, allocations: 186.5 kB / 384.5 MB, free: 12.04 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.45e-05/0.009331, allocations: 59.34 kB / 384.5 MB, free: 11.96 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 2.571e-05/0.009356, allocations: 8 kB / 384.5 MB, free: 11.96 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.579e-05/0.009382, allocations: 16.48 kB / 384.5 MB, free: 11.94 MB / 362.7 MB Notification: Performance of SimCode: time 4.81e-07/0.009383, allocations: 0 / 384.5 MB, free: 11.94 MB / 362.7 MB Notification: Performance of Templates: time 0.002969/0.01235, allocations: 1.239 MB / 385.8 MB, free: 10.71 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test1.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test1.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test1 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test1/Test1.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.0814938908442855]