Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test34.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.001223/0.001223, allocations: 77.97 kB / 21.42 MB, free: 3.078 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.001103/0.001103, allocations: 170.3 kB / 24.82 MB, free: 9.328 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.9225/0.9225, allocations: 177.1 MB / 205.3 MB, free: 5.488 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.254/0.254, allocations: 32.8 MB / 294.6 MB, free: 1.238 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.CombiTable1Ds.Test34,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|d2_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test34") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test34,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|d2_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test34") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.373e-06/1.373e-06, allocations: 0 / 376.5 MB, free: 4.379 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.301e-05/2.439e-05, allocations: 2.312 kB / 376.5 MB, free: 4.375 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test34): time 0.002255/0.002279, allocations: 1.656 MB / 378.1 MB, free: 2.707 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006954/0.002975, allocations: 0.5259 MB / 378.7 MB, free: 2.176 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.156e-05/0.003036, allocations: 0 / 378.7 MB, free: 2.176 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002554/0.003292, allocations: 87.58 kB / 378.8 MB, free: 2.09 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002926/0.003584, allocations: 103.5 kB / 378.9 MB, free: 1.988 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002175/0.003802, allocations: 91.62 kB / 379 MB, free: 1.898 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001501/0.003952, allocations: 87.75 kB / 379 MB, free: 1.812 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000104/0.004056, allocations: 7.984 kB / 379 MB, free: 1.805 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.885e-05/0.004135, allocations: 47.89 kB / 379.1 MB, free: 1.758 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001185/0.004253, allocations: 55.86 kB / 379.1 MB, free: 1.703 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.996e-05/0.004273, allocations: 4 kB / 379.2 MB, free: 1.699 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001169/0.00439, allocations: 47.92 kB / 379.2 MB, free: 1.652 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 6.521e-05/0.004455, allocations: 23.92 kB / 379.2 MB, free: 1.629 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.209e-05/0.004487, allocations: 15.86 kB / 379.2 MB, free: 1.613 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001859/0.004673, allocations: 87.72 kB / 379.3 MB, free: 1.527 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.004677, allocations: 4 kB / 379.3 MB, free: 1.523 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.392e-06/0.004679, allocations: 0 / 379.3 MB, free: 1.523 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.497e-06/0.004682, allocations: 3.938 kB / 379.3 MB, free: 1.52 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.000399/0.005081, allocations: 439.9 kB / 379.8 MB, free: 1.055 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.014e-05/0.005121, allocations: 8.031 kB / 379.8 MB, free: 1.047 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.692e-05/0.005158, allocations: 16.84 kB / 379.8 MB, free: 1.031 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001702/0.005329, allocations: 153 kB / 379.9 MB, free: 0.8516 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.075e-05/0.005339, allocations: 384 / 379.9 MB, free: 0.8516 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.116e-05/0.005361, allocations: 4.375 kB / 379.9 MB, free: 0.8477 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001172/0.005478, allocations: 54.95 kB / 380 MB, free: 0.7852 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.023e-05/0.005488, allocations: 192 / 380 MB, free: 0.7852 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.076e-05/0.005499, allocations: 8.125 kB / 380 MB, free: 0.7773 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.282e-06/0.005505, allocations: 3.938 kB / 380 MB, free: 0.7734 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.739e-05/0.005532, allocations: 11.97 kB / 380 MB, free: 0.7617 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002974/0.00583, allocations: 268.4 kB / 380.3 MB, free: 484 kB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.041e-05/0.0059, allocations: 50.95 kB / 380.3 MB, free: 420 kB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.875e-05/0.005919, allocations: 15.69 kB / 380.3 MB, free: 400 kB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.549e-05/0.005944, allocations: 0 / 380.3 MB, free: 400 kB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.858e-05/0.005973, allocations: 41.33 kB / 380.4 MB, free: 348 kB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 9.92e-07/0.005974, allocations: 0 / 380.4 MB, free: 348 kB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004799/0.006454, allocations: 141.5 kB / 380.5 MB, free: 200 kB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.944e-05/0.006483, allocations: 55.41 kB / 380.6 MB, free: 132 kB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004252/0.006909, allocations: 238.3 kB / 380.8 MB, free: 15.88 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.329e-05/0.006922, allocations: 29.7 kB / 380.8 MB, free: 15.84 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.031e-05/0.006982, allocations: 158.7 kB / 381 MB, free: 15.68 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.692e-05/0.007009, allocations: 27.8 kB / 381 MB, free: 15.66 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.344e-05/0.007043, allocations: 31.36 kB / 381 MB, free: 15.62 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001126/0.007155, allocations: 0.4962 MB / 381.5 MB, free: 15.11 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.674e-05/0.007172, allocations: 4 kB / 381.5 MB, free: 15.11 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.097e-05/0.007193, allocations: 15.92 kB / 381.6 MB, free: 15.09 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.801e-05/0.007231, allocations: 23.69 kB / 381.6 MB, free: 15.06 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.007233, allocations: 3.938 kB / 381.6 MB, free: 15.06 MB / 362.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 8.047e-05/0.007313, allocations: 77.62 kB / 381.7 MB, free: 14.98 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.181e-05/0.007325, allocations: 8 kB / 381.7 MB, free: 14.97 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.91e-06/0.00733, allocations: 0 / 381.7 MB, free: 14.97 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.266e-05/0.007343, allocations: 0 / 381.7 MB, free: 14.97 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.953e-05/0.007412, allocations: 19.98 kB / 381.7 MB, free: 14.95 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.605e-06/0.007415, allocations: 7.875 kB / 381.7 MB, free: 14.94 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.757e-05/0.007433, allocations: 4 kB / 381.7 MB, free: 14.94 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.12e-06/0.007438, allocations: 0 / 381.7 MB, free: 14.94 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.686e-05/0.007504, allocations: 172.4 kB / 381.9 MB, free: 14.76 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.348e-05/0.007528, allocations: 15.91 kB / 381.9 MB, free: 14.74 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001235/0.007651, allocations: 79.14 kB / 382 MB, free: 14.66 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.474e-06/0.007654, allocations: 4 kB / 382 MB, free: 14.66 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.964e-06/0.007656, allocations: 0 / 382 MB, free: 14.66 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.007659, allocations: 0 / 382 MB, free: 14.66 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002724/0.007931, allocations: 349.5 kB / 382.3 MB, free: 14.28 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.246e-06/0.007935, allocations: 4 kB / 382.3 MB, free: 14.27 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.72e-05/0.007982, allocations: 19.92 kB / 382.3 MB, free: 14.25 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.036e-06/0.007985, allocations: 0 / 382.3 MB, free: 14.25 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.38e-06/0.00799, allocations: 0 / 382.3 MB, free: 14.25 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.845e-06/0.007993, allocations: 4.469 kB / 382.3 MB, free: 14.25 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.472e-06/0.007995, allocations: 4.031 kB / 382.3 MB, free: 14.25 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001226/0.008117, allocations: 231.5 kB / 382.6 MB, free: 14 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.046e-05/0.008128, allocations: 7.906 kB / 382.6 MB, free: 13.99 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.18e-05/0.008139, allocations: 8 kB / 382.6 MB, free: 13.98 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.751e-05/0.008177, allocations: 7.922 kB / 382.6 MB, free: 13.97 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.562e-05/0.008203, allocations: 4 kB / 382.6 MB, free: 13.97 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.382e-06/0.008209, allocations: 7.984 kB / 382.6 MB, free: 13.96 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.243e-05/0.008271, allocations: 163.1 kB / 382.8 MB, free: 13.8 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.008271, allocations: 0 / 382.8 MB, free: 13.8 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001591/0.00843, allocations: 16 kB / 382.8 MB, free: 13.79 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.0009077/0.009338, allocations: 449.3 kB / 383.2 MB, free: 13.51 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 8.832e-05/0.009426, allocations: 39.61 kB / 383.3 MB, free: 13.46 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.542e-06/0.009428, allocations: 0 / 383.3 MB, free: 13.46 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.401e-05/0.009452, allocations: 27.61 kB / 383.3 MB, free: 13.43 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002092/0.009661, allocations: 19.98 kB / 383.3 MB, free: 13.41 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003034/0.009965, allocations: 229.8 kB / 383.5 MB, free: 13.16 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.986e-05/0.01, allocations: 75.39 kB / 383.6 MB, free: 13.06 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.271e-05/0.01004, allocations: 17.03 kB / 383.6 MB, free: 13.05 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.958e-05/0.0101, allocations: 82.19 kB / 383.7 MB, free: 12.96 MB / 362.7 MB Notification: Performance of SimCode: time 5.01e-07/0.0101, allocations: 0 / 383.7 MB, free: 12.96 MB / 362.7 MB Notification: Performance of Templates: time 0.002974/0.01307, allocations: 1.502 MB / 385.2 MB, free: 11.47 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test34.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test34.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test34.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test34.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test34.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test34 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test34.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test34_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test34/Test34.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.8450231230817735]