Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.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.001329/0.001329, allocations: 84.55 kB / 20.68 MB, free: 1.023 MB / 14.72 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.00138/0.00138, allocations: 163.9 kB / 23.95 MB, free: 4.156 MB / 14.72 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.389/1.389, allocations: 177.1 MB / 204.3 MB, free: 9.188 MB / 190.1 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.1947/0.1947, allocations: 32.82 MB / 293.5 MB, free: 48 kB / 270.1 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.CombiTable1Ds.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test7") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test7") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.484e-06/2.484e-06, allocations: 0 / 440.1 MB, free: 8.16 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.286e-05/3.535e-05, allocations: 2.281 kB / 440.1 MB, free: 8.156 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test7): time 0.00301/0.003046, allocations: 1.587 MB / 441.7 MB, free: 6.562 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001083/0.004129, allocations: 0.5259 MB / 442.2 MB, free: 6.031 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.17e-05/0.004211, allocations: 0 / 442.2 MB, free: 6.031 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002227/0.004433, allocations: 23.84 kB / 442.2 MB, free: 6.008 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003199/0.004753, allocations: 83.56 kB / 442.3 MB, free: 5.926 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002963/0.00505, allocations: 94.12 kB / 442.4 MB, free: 5.836 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001513/0.005201, allocations: 67.77 kB / 442.5 MB, free: 5.77 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.682e-05/0.005288, allocations: 11.98 kB / 442.5 MB, free: 5.758 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.572e-05/0.005354, allocations: 27.92 kB / 442.5 MB, free: 5.73 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.983e-05/0.005413, allocations: 15.92 kB / 442.5 MB, free: 5.715 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.624e-05/0.00543, allocations: 4 kB / 442.5 MB, free: 5.711 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.291e-05/0.005523, allocations: 43.84 kB / 442.6 MB, free: 5.668 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 4.789e-05/0.00557, allocations: 19.88 kB / 442.6 MB, free: 5.648 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 2.694e-05/0.005597, allocations: 4 kB / 442.6 MB, free: 5.645 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001756/0.005773, allocations: 87.7 kB / 442.7 MB, free: 5.559 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.416e-06/0.005776, allocations: 3.938 kB / 442.7 MB, free: 5.555 MB / 366.1 MB Notification: Performance of FrontEnd: time 9.22e-07/0.005777, allocations: 0 / 442.7 MB, free: 5.555 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.588e-06/0.005782, allocations: 0 / 442.7 MB, free: 5.555 MB / 366.1 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.0004679/0.00625, allocations: 309.8 kB / 443 MB, free: 5.223 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.942e-05/0.006289, allocations: 12.03 kB / 443 MB, free: 5.211 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.247e-05/0.006332, allocations: 12.89 kB / 443 MB, free: 5.199 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001789/0.006511, allocations: 136.4 kB / 443.2 MB, free: 5.043 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.428e-06/0.00652, allocations: 384 / 443.2 MB, free: 5.043 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.007e-05/0.00654, allocations: 8.312 kB / 443.2 MB, free: 5.035 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001418/0.006682, allocations: 50.25 kB / 443.2 MB, free: 4.98 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.266e-05/0.006694, allocations: 192 / 443.2 MB, free: 4.98 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.2e-05/0.006706, allocations: 4.125 kB / 443.2 MB, free: 4.977 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.987e-06/0.00671, allocations: 0 / 443.2 MB, free: 4.977 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.657e-05/0.006807, allocations: 19.98 kB / 443.2 MB, free: 4.957 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000319/0.007126, allocations: 220.6 kB / 443.5 MB, free: 4.711 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002099/0.007336, allocations: 46.5 kB / 443.5 MB, free: 4.656 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.138e-05/0.007387, allocations: 16.94 kB / 443.5 MB, free: 4.637 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.478e-05/0.007412, allocations: 3.938 kB / 443.5 MB, free: 4.633 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.929e-05/0.007441, allocations: 34.56 kB / 443.6 MB, free: 4.59 MB / 366.1 MB Notification: Performance of pre-optimization done (n=3): time 1.012e-06/0.007442, allocations: 0 / 443.6 MB, free: 4.59 MB / 366.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005743/0.008017, allocations: 145.4 kB / 443.7 MB, free: 4.441 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.279e-05/0.008059, allocations: 59.41 kB / 443.8 MB, free: 4.371 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00016/0.008219, allocations: 157.8 kB / 443.9 MB, free: 4.207 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.639e-05/0.008236, allocations: 25.7 kB / 443.9 MB, free: 4.176 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.329e-05/0.008299, allocations: 96.14 kB / 444 MB, free: 4.078 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.476e-05/0.008324, allocations: 23.77 kB / 444.1 MB, free: 4.055 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.947e-05/0.008363, allocations: 17.72 kB / 444.1 MB, free: 4.031 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001479/0.008511, allocations: 322.8 kB / 444.4 MB, free: 3.707 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.179e-05/0.008583, allocations: 19.98 kB / 444.4 MB, free: 3.688 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.058e-05/0.008644, allocations: 15.98 kB / 444.4 MB, free: 3.672 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001365/0.00878, allocations: 52.78 kB / 444.5 MB, free: 3.617 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.72e-07/0.008781, allocations: 0 / 444.5 MB, free: 3.617 MB / 366.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002035/0.008984, allocations: 85.56 kB / 444.6 MB, free: 3.527 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.476e-05/0.008999, allocations: 4 kB / 444.6 MB, free: 3.523 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.18e-06/0.009004, allocations: 256 / 444.6 MB, free: 3.523 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.547e-05/0.00902, allocations: 0 / 444.6 MB, free: 3.523 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.341e-05/0.009093, allocations: 19.98 kB / 444.6 MB, free: 3.504 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.268e-06/0.009097, allocations: 0 / 444.6 MB, free: 3.504 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.373e-05/0.009141, allocations: 12 kB / 444.6 MB, free: 3.492 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.731e-06/0.009147, allocations: 3.938 kB / 444.6 MB, free: 3.488 MB / 366.1 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 0.0001021/0.009249, allocations: 122.4 kB / 444.7 MB, free: 3.359 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.577e-05/0.009285, allocations: 7.953 kB / 444.7 MB, free: 3.352 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000266/0.009551, allocations: 94.33 kB / 444.8 MB, free: 3.25 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.09e-06/0.009556, allocations: 4 kB / 444.8 MB, free: 3.246 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.988e-06/0.00956, allocations: 0 / 444.8 MB, free: 3.246 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.911e-06/0.009566, allocations: 3.984 kB / 444.8 MB, free: 3.242 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004513/0.01002, allocations: 298.1 kB / 445.1 MB, free: 2.914 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.01002, allocations: 0 / 445.1 MB, free: 2.914 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.974e-05/0.01008, allocations: 11.98 kB / 445.1 MB, free: 2.902 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.701e-06/0.01008, allocations: 4 kB / 445.1 MB, free: 2.898 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.758e-06/0.01009, allocations: 0 / 445.1 MB, free: 2.898 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.0101, allocations: 0 / 445.1 MB, free: 2.898 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.021e-06/0.0101, allocations: 0 / 445.1 MB, free: 2.898 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002826/0.01038, allocations: 179.4 kB / 445.3 MB, free: 2.707 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.469e-05/0.01039, allocations: 11.95 kB / 445.3 MB, free: 2.695 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.772e-05/0.01041, allocations: 0 / 445.3 MB, free: 2.695 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.341e-05/0.01049, allocations: 7.984 kB / 445.3 MB, free: 2.688 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.485e-05/0.01052, allocations: 0 / 445.3 MB, free: 2.688 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.649e-06/0.01052, allocations: 4.188 kB / 445.3 MB, free: 2.684 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001278/0.01065, allocations: 130.4 kB / 445.5 MB, free: 2.559 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.01065, allocations: 3.938 kB / 445.5 MB, free: 2.555 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002535/0.01091, allocations: 23.88 kB / 445.5 MB, free: 2.531 MB / 366.1 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.001668/0.01257, allocations: 432.1 kB / 445.9 MB, free: 2.285 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002158/0.01279, allocations: 47.95 kB / 446 MB, free: 2.238 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.01279, allocations: 0 / 446 MB, free: 2.238 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 8.333e-05/0.01288, allocations: 27.92 kB / 446 MB, free: 2.211 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00033/0.01321, allocations: 13.39 kB / 446 MB, free: 2.203 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005497/0.01376, allocations: 197.3 kB / 446.2 MB, free: 1.977 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001175/0.01387, allocations: 83.33 kB / 446.3 MB, free: 1.875 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 4.259e-05/0.01392, allocations: 4 kB / 446.3 MB, free: 1.871 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.407e-05/0.01396, allocations: 16.48 kB / 446.3 MB, free: 1.855 MB / 366.1 MB Notification: Performance of SimCode: time 6.21e-07/0.01396, allocations: 0 / 446.3 MB, free: 1.855 MB / 366.1 MB Notification: Performance of Templates: time 0.004935/0.01889, allocations: 1.141 MB / 447.4 MB, free: 0.7227 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test7.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test7.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test7 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test7_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test7/Test7.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test7.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.562179382890463]