Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test3.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.001032/0.001032, allocations: 91.33 kB / 20.42 MB, free: 4.141 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.001036/0.001036, allocations: 165 kB / 23.8 MB, free: 0.7734 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.002/1.002, allocations: 158.6 MB / 185.7 MB, free: 2.895 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1268/0.1268, allocations: 32.37 MB / 270.4 MB, free: 14.69 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test3") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.392e-06/1.392e-06, allocations: 0 / 347.7 MB, free: 9.426 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.62e-05/1.759e-05, allocations: 2.312 kB / 347.7 MB, free: 9.422 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test3): time 0.001807/0.001824, allocations: 1.606 MB / 349.3 MB, free: 7.812 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004065/0.002231, allocations: 319.4 kB / 349.6 MB, free: 7.496 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.086e-05/0.002282, allocations: 0 / 349.6 MB, free: 7.496 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000257/0.002539, allocations: 75.7 kB / 349.7 MB, free: 7.422 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001791/0.002718, allocations: 59.69 kB / 349.7 MB, free: 7.363 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000161/0.002879, allocations: 67.84 kB / 349.8 MB, free: 7.297 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001153/0.002994, allocations: 71.81 kB / 349.9 MB, free: 7.227 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.667e-05/0.003081, allocations: 8 kB / 349.9 MB, free: 7.219 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.514e-05/0.003136, allocations: 39.83 kB / 349.9 MB, free: 7.18 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.709e-05/0.003223, allocations: 43.89 kB / 350 MB, free: 7.137 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.543e-05/0.003239, allocations: 4 kB / 350 MB, free: 7.133 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.475e-05/0.003293, allocations: 27.92 kB / 350 MB, free: 7.105 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.619e-05/0.003339, allocations: 19.92 kB / 350 MB, free: 7.086 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.57e-05/0.003365, allocations: 15.92 kB / 350 MB, free: 7.07 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001374/0.003503, allocations: 71.75 kB / 350.1 MB, free: 7 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.884e-06/0.003504, allocations: 0 / 350.1 MB, free: 7 MB / 282.7 MB Notification: Performance of FrontEnd: time 8.71e-07/0.003505, allocations: 0 / 350.1 MB, free: 7 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.777e-06/0.003509, allocations: 4 kB / 350.1 MB, free: 6.996 MB / 282.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.0003179/0.003827, allocations: 420.1 kB / 350.5 MB, free: 6.551 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.486e-05/0.003862, allocations: 8.031 kB / 350.5 MB, free: 6.543 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.723e-05/0.003899, allocations: 16.78 kB / 350.5 MB, free: 6.527 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001052/0.004004, allocations: 140.3 kB / 350.7 MB, free: 6.363 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.827e-06/0.004013, allocations: 4.375 kB / 350.7 MB, free: 6.359 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.347e-05/0.004037, allocations: 4.375 kB / 350.7 MB, free: 6.355 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.761e-05/0.004134, allocations: 54.95 kB / 350.7 MB, free: 6.293 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.406e-06/0.004143, allocations: 192 / 350.7 MB, free: 6.293 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.907e-06/0.004151, allocations: 4.125 kB / 350.7 MB, free: 6.289 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.623e-06/0.004158, allocations: 4 kB / 350.7 MB, free: 6.285 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.819e-05/0.004186, allocations: 7.984 kB / 350.7 MB, free: 6.277 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002338/0.00442, allocations: 279.8 kB / 351 MB, free: 5.969 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001507/0.004571, allocations: 39.16 kB / 351.1 MB, free: 5.918 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.763e-05/0.004588, allocations: 15.61 kB / 351.1 MB, free: 5.898 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.977e-05/0.004608, allocations: 7.938 kB / 351.1 MB, free: 5.891 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.424e-05/0.004622, allocations: 33.39 kB / 351.1 MB, free: 5.848 MB / 282.7 MB Notification: Performance of pre-optimization done (n=3): time 9.52e-07/0.004623, allocations: 0 / 351.1 MB, free: 5.848 MB / 282.7 MB Notification: Performance of matching and sorting (n=5): time 0.000302/0.004925, allocations: 105.4 kB / 351.2 MB, free: 5.738 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.176e-05/0.004947, allocations: 55.41 kB / 351.3 MB, free: 5.672 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.278e-05/0.00504, allocations: 226.9 kB / 351.5 MB, free: 5.434 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 4.639e-06/0.005045, allocations: 25.7 kB / 351.5 MB, free: 5.402 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.362e-05/0.005078, allocations: 154.9 kB / 351.7 MB, free: 5.246 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.555e-05/0.005094, allocations: 11.86 kB / 351.7 MB, free: 5.234 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.312e-05/0.005117, allocations: 23.38 kB / 351.7 MB, free: 5.203 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 4.395e-05/0.005161, allocations: 0.4923 MB / 352.2 MB, free: 4.699 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.415e-05/0.005175, allocations: 8 kB / 352.2 MB, free: 4.691 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.143e-05/0.005186, allocations: 7.984 kB / 352.2 MB, free: 4.684 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.735e-05/0.005214, allocations: 27.88 kB / 352.2 MB, free: 4.652 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.52e-07/0.005215, allocations: 0 / 352.2 MB, free: 4.652 MB / 282.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 5.781e-05/0.005273, allocations: 65.58 kB / 352.3 MB, free: 4.582 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.025e-05/0.005283, allocations: 4 kB / 352.3 MB, free: 4.578 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.238e-06/0.005287, allocations: 0 / 352.3 MB, free: 4.578 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.554e-05/0.005303, allocations: 3.938 kB / 352.3 MB, free: 4.574 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.313e-05/0.005346, allocations: 8 kB / 352.3 MB, free: 4.566 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.519e-06/0.00535, allocations: 0 / 352.3 MB, free: 4.566 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.583e-05/0.005366, allocations: 11.98 kB / 352.3 MB, free: 4.555 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.238e-06/0.00537, allocations: 0 / 352.3 MB, free: 4.555 MB / 282.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 3.886e-05/0.005409, allocations: 160.5 kB / 352.5 MB, free: 4.387 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.709e-05/0.005426, allocations: 11.89 kB / 352.5 MB, free: 4.375 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.679e-05/0.005513, allocations: 74.14 kB / 352.6 MB, free: 4.297 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.163e-06/0.005514, allocations: 0 / 352.6 MB, free: 4.297 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.035e-06/0.005517, allocations: 0 / 352.6 MB, free: 4.297 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.00552, allocations: 0 / 352.6 MB, free: 4.297 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001533/0.005674, allocations: 329.3 kB / 352.9 MB, free: 3.934 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.005675, allocations: 4.281 kB / 352.9 MB, free: 3.93 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.268e-05/0.005698, allocations: 11.98 kB / 352.9 MB, free: 3.918 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.202e-06/0.005699, allocations: 0 / 352.9 MB, free: 3.918 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.36e-06/0.005704, allocations: 192 / 352.9 MB, free: 3.918 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.253e-06/0.005705, allocations: 7.938 kB / 352.9 MB, free: 3.91 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.005706, allocations: 4 kB / 352.9 MB, free: 3.906 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.422e-05/0.00577, allocations: 223.7 kB / 353.1 MB, free: 3.668 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.372e-06/0.005777, allocations: 3.953 kB / 353.1 MB, free: 3.664 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.058e-05/0.005787, allocations: 4 kB / 353.1 MB, free: 3.66 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.804e-05/0.005815, allocations: 3.984 kB / 353.1 MB, free: 3.656 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.883e-05/0.005844, allocations: 4 kB / 353.2 MB, free: 3.652 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.064e-06/0.005846, allocations: 0 / 353.2 MB, free: 3.652 MB / 282.7 MB Notification: Performance of sorting global known variables: time 4.106e-05/0.005887, allocations: 159.2 kB / 353.3 MB, free: 3.496 MB / 282.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.005887, allocations: 0 / 353.3 MB, free: 3.496 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001448/0.006032, allocations: 16 kB / 353.3 MB, free: 3.48 MB / 282.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.0006589/0.006691, allocations: 368.7 kB / 353.7 MB, free: 3.207 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 8.185e-05/0.006773, allocations: 35.61 kB / 353.7 MB, free: 3.168 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.462e-06/0.006774, allocations: 0 / 353.7 MB, free: 3.168 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 1.879e-05/0.006793, allocations: 23.69 kB / 353.7 MB, free: 3.141 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001958/0.006989, allocations: 21.17 kB / 353.8 MB, free: 3.121 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002667/0.007256, allocations: 186.2 kB / 353.9 MB, free: 2.91 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.426e-05/0.00728, allocations: 63.34 kB / 354 MB, free: 2.828 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 2.186e-05/0.007302, allocations: 7.984 kB / 354 MB, free: 2.82 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.339e-05/0.007325, allocations: 16.48 kB / 354 MB, free: 2.805 MB / 282.7 MB Notification: Performance of SimCode: time 5.11e-07/0.007326, allocations: 4 kB / 354 MB, free: 2.801 MB / 282.7 MB Notification: Performance of Templates: time 0.002406/0.009732, allocations: 1.156 MB / 355.2 MB, free: 1.656 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test3.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test3.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test3 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test3/Test3.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.0494137117639184]