Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test7.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.001395/0.001395, allocations: 77.97 kB / 21.42 MB, free: 3.07 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.001765/0.001765, allocations: 166.7 kB / 24.82 MB, free: 9.266 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.13/1.13, allocations: 177.1 MB / 205.3 MB, free: 5.52 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.3989/0.3989, allocations: 34.26 MB / 296.1 MB, free: 0.7344 MB / 266.7 MB " [Timeout remaining time 179] 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.CombiTable1Dv.Test7,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.CombiTable1Dv.Test7") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test7,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.CombiTable1Dv.Test7") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.633e-06/1.633e-06, allocations: 0 / 378.5 MB, free: 2.395 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.448e-05/2.611e-05, allocations: 6.312 kB / 378.5 MB, free: 2.387 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test7): time 0.00243/0.002456, allocations: 1.625 MB / 380.1 MB, free: 0.75 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008079/0.003264, allocations: 0.5297 MB / 380.7 MB, free: 220 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.731e-05/0.003321, allocations: 0 / 380.7 MB, free: 220 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001902/0.003512, allocations: 27.86 kB / 380.7 MB, free: 192 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002615/0.003773, allocations: 79.55 kB / 380.8 MB, free: 112 kB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002796/0.004053, allocations: 115.8 kB / 380.9 MB, free: 15.99 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001298/0.004182, allocations: 67.78 kB / 381 MB, free: 15.93 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.643e-05/0.004269, allocations: 7.984 kB / 381 MB, free: 15.92 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.314e-05/0.004332, allocations: 31.91 kB / 381 MB, free: 15.89 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001753/0.004507, allocations: 19.92 kB / 381 MB, free: 15.87 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.285e-05/0.00452, allocations: 0 / 381 MB, free: 15.87 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.948e-05/0.00459, allocations: 31.98 kB / 381 MB, free: 15.84 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 3.761e-05/0.004627, allocations: 19.92 kB / 381.1 MB, free: 15.82 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 2.149e-05/0.004649, allocations: 15.92 kB / 381.1 MB, free: 15.8 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001273/0.004776, allocations: 71.69 kB / 381.2 MB, free: 15.73 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.445e-06/0.004778, allocations: 0 / 381.2 MB, free: 15.73 MB / 362.7 MB Notification: Performance of FrontEnd: time 9.81e-07/0.004779, allocations: 0 / 381.2 MB, free: 15.73 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.057e-06/0.004784, allocations: 4 kB / 381.2 MB, free: 15.73 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003124/0.005096, allocations: 412.1 kB / 381.6 MB, free: 15.29 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.32e-05/0.005129, allocations: 12.02 kB / 381.6 MB, free: 15.28 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.799e-05/0.005157, allocations: 12.89 kB / 381.6 MB, free: 15.27 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001223/0.005279, allocations: 136.4 kB / 381.7 MB, free: 15.11 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.997e-06/0.005288, allocations: 12.36 kB / 381.7 MB, free: 15.09 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.395e-05/0.005302, allocations: 384 / 381.7 MB, free: 15.09 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.979e-05/0.005392, allocations: 58.89 kB / 381.8 MB, free: 15.03 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.823e-06/0.005399, allocations: 192 / 381.8 MB, free: 15.03 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.783e-06/0.005406, allocations: 4.125 kB / 381.8 MB, free: 15.02 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.237e-06/0.00541, allocations: 0 / 381.8 MB, free: 15.02 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.944e-05/0.005429, allocations: 7.984 kB / 381.8 MB, free: 15.02 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002117/0.005641, allocations: 256.4 kB / 382.1 MB, free: 14.74 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001116/0.005753, allocations: 47.05 kB / 382.1 MB, free: 14.68 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.589e-05/0.005769, allocations: 11.69 kB / 382.1 MB, free: 14.66 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.951e-05/0.005788, allocations: 8.078 kB / 382.1 MB, free: 14.66 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.831e-05/0.005806, allocations: 37.33 kB / 382.2 MB, free: 14.61 MB / 362.7 MB Notification: Performance of pre-optimization done (n=3): time 1.613e-06/0.005808, allocations: 0 / 382.2 MB, free: 14.61 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002332/0.006041, allocations: 85.52 kB / 382.2 MB, free: 14.52 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.287e-05/0.006064, allocations: 55.41 kB / 382.3 MB, free: 14.45 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.928e-05/0.006163, allocations: 208.8 kB / 382.5 MB, free: 14.23 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 9.638e-06/0.006173, allocations: 25.7 kB / 382.5 MB, free: 14.2 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.704e-05/0.00622, allocations: 146.8 kB / 382.7 MB, free: 14.05 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.083e-05/0.006241, allocations: 19.84 kB / 382.7 MB, free: 14.04 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.756e-05/0.006268, allocations: 23.38 kB / 382.7 MB, free: 14 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001068/0.006375, allocations: 0.4923 MB / 383.2 MB, free: 13.5 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.175e-05/0.006387, allocations: 4 kB / 383.2 MB, free: 13.5 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.05e-05/0.006398, allocations: 4 kB / 383.2 MB, free: 13.49 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.145e-05/0.006429, allocations: 27.66 kB / 383.2 MB, free: 13.46 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.006431, allocations: 7.938 kB / 383.2 MB, free: 13.45 MB / 362.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 6.347e-05/0.006494, allocations: 53.59 kB / 383.3 MB, free: 13.39 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.578e-06/0.006504, allocations: 4 kB / 383.3 MB, free: 13.39 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.543e-06/0.00651, allocations: 7.984 kB / 383.3 MB, free: 13.38 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.853e-06/0.006517, allocations: 0 / 383.3 MB, free: 13.38 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.915e-05/0.006566, allocations: 8 kB / 383.3 MB, free: 13.38 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.525e-06/0.006569, allocations: 4 kB / 383.3 MB, free: 13.37 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.095e-05/0.00659, allocations: 8 kB / 383.3 MB, free: 13.36 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.539e-06/0.006594, allocations: 3.984 kB / 383.3 MB, free: 13.36 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.769e-05/0.006662, allocations: 156.5 kB / 383.5 MB, free: 13.2 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.967e-05/0.006682, allocations: 15.89 kB / 383.5 MB, free: 13.18 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000101/0.006783, allocations: 74.06 kB / 383.6 MB, free: 13.1 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.944e-06/0.006785, allocations: 0 / 383.6 MB, free: 13.1 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.372e-06/0.006786, allocations: 0 / 383.6 MB, free: 13.1 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.006789, allocations: 320 / 383.6 MB, free: 13.1 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002115/0.007, allocations: 294 kB / 383.9 MB, free: 12.78 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.007002, allocations: 4 kB / 383.9 MB, free: 12.78 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.898e-05/0.007031, allocations: 11.94 kB / 383.9 MB, free: 12.77 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/0.007034, allocations: 4 kB / 383.9 MB, free: 12.76 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.658e-06/0.007039, allocations: 4 kB / 383.9 MB, free: 12.76 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.669e-06/0.007043, allocations: 3.984 kB / 383.9 MB, free: 12.75 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.007044, allocations: 0 / 383.9 MB, free: 12.75 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.495e-05/0.007139, allocations: 207.8 kB / 384.1 MB, free: 12.53 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.947e-06/0.007148, allocations: 7.953 kB / 384.1 MB, free: 12.52 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.726e-06/0.007157, allocations: 288 / 384.1 MB, free: 12.52 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.969e-05/0.007187, allocations: 4 kB / 384.1 MB, free: 12.52 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.981e-05/0.007206, allocations: 11.98 kB / 384.1 MB, free: 12.51 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.015e-06/0.007209, allocations: 0 / 384.1 MB, free: 12.51 MB / 362.7 MB Notification: Performance of sorting global known variables: time 5.021e-05/0.00726, allocations: 150.3 kB / 384.3 MB, free: 12.36 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.00726, allocations: 0 / 384.3 MB, free: 12.36 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001522/0.007412, allocations: 23.86 kB / 384.3 MB, free: 12.34 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.0007189/0.008131, allocations: 377.8 kB / 384.6 MB, free: 12.1 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 7.021e-05/0.008201, allocations: 27.67 kB / 384.7 MB, free: 12.07 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.463e-06/0.008202, allocations: 0 / 384.7 MB, free: 12.07 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.092e-05/0.008223, allocations: 23.61 kB / 384.7 MB, free: 12.04 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001911/0.008414, allocations: 30.91 kB / 384.7 MB, free: 12.02 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002598/0.008674, allocations: 178.6 kB / 384.9 MB, free: 11.81 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.598e-05/0.00871, allocations: 63.34 kB / 385 MB, free: 11.73 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 2.589e-05/0.008736, allocations: 11.98 kB / 385 MB, free: 11.71 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.246e-05/0.008789, allocations: 78.2 kB / 385.1 MB, free: 11.64 MB / 362.7 MB Notification: Performance of SimCode: time 1.112e-06/0.00879, allocations: 3.938 kB / 385.1 MB, free: 11.63 MB / 362.7 MB Notification: Performance of Templates: time 0.002949/0.01174, allocations: 1.288 MB / 386.3 MB, free: 10.36 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test7.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test7.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test7.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test7.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test7.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test7 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test7.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test7_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test7/Test7.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.4240834969095886]