Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test15.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.001274/0.001274, allocations: 80.31 kB / 22.21 MB, free: 2.293 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.0009385/0.0009385, allocations: 170.5 kB / 25.61 MB, free: 8.914 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.8724/0.8724, allocations: 177.1 MB / 206 MB, free: 4.5 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.131/0.131, allocations: 34.26 MB / 296.9 MB, free: 14.02 MB / 282.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.Test15,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test15") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test15,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test15") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 6.62e-07/6.62e-07, allocations: 0 / 379.3 MB, free: 23.4 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 8.646e-06/9.308e-06, allocations: 11.03 kB / 379.3 MB, free: 23.39 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test15): time 0.001542/0.001551, allocations: 1.638 MB / 381 MB, free: 21.74 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005195/0.002071, allocations: 0.5181 MB / 381.5 MB, free: 21.22 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.328e-05/0.002104, allocations: 0 / 381.5 MB, free: 21.22 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001291/0.002233, allocations: 87.61 kB / 381.6 MB, free: 21.13 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001579/0.002391, allocations: 103.5 kB / 381.7 MB, free: 21.03 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001459/0.002537, allocations: 91.62 kB / 381.8 MB, free: 20.94 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 7.788e-05/0.002615, allocations: 83.81 kB / 381.8 MB, free: 20.86 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.224e-05/0.002657, allocations: 15.98 kB / 381.9 MB, free: 20.84 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.681e-05/0.002694, allocations: 43.89 kB / 381.9 MB, free: 20.8 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.961e-05/0.002744, allocations: 55.86 kB / 381.9 MB, free: 20.75 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 7.063e-06/0.002751, allocations: 4 kB / 382 MB, free: 20.74 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.08e-05/0.002802, allocations: 43.92 kB / 382 MB, free: 20.7 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 2.244e-05/0.002824, allocations: 27.86 kB / 382 MB, free: 20.67 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 1.391e-05/0.002838, allocations: 19.86 kB / 382 MB, free: 20.65 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 8.309e-05/0.002921, allocations: 91.66 kB / 382.1 MB, free: 20.56 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.102e-06/0.002922, allocations: 0 / 382.1 MB, free: 20.56 MB / 314.7 MB Notification: Performance of FrontEnd: time 3.9e-07/0.002923, allocations: 0 / 382.1 MB, free: 20.56 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.605e-06/0.002925, allocations: 4 kB / 382.1 MB, free: 20.56 MB / 314.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.0001718/0.003097, allocations: 435.9 kB / 382.6 MB, free: 20.1 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 1.816e-05/0.003115, allocations: 12.03 kB / 382.6 MB, free: 20.09 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.377e-05/0.003139, allocations: 12.84 kB / 382.6 MB, free: 20.07 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.749e-05/0.003206, allocations: 157 kB / 382.7 MB, free: 19.89 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.469e-06/0.003211, allocations: 384 / 382.7 MB, free: 19.89 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.906e-06/0.00322, allocations: 4.375 kB / 382.7 MB, free: 19.89 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 4.722e-05/0.003267, allocations: 58.94 kB / 382.8 MB, free: 19.82 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.469e-06/0.003271, allocations: 192 / 382.8 MB, free: 19.82 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.549e-06/0.003276, allocations: 8.109 kB / 382.8 MB, free: 19.81 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.565e-06/0.003278, allocations: 0 / 382.8 MB, free: 19.81 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.623e-05/0.003295, allocations: 15.98 kB / 382.8 MB, free: 19.8 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001197/0.003414, allocations: 268.3 kB / 383.1 MB, free: 19.51 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.198e-05/0.003446, allocations: 43.03 kB / 383.1 MB, free: 19.45 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.698e-06/0.003456, allocations: 11.69 kB / 383.1 MB, free: 19.44 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.414e-06/0.003463, allocations: 4 kB / 383.1 MB, free: 19.43 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.019e-05/0.003474, allocations: 37.33 kB / 383.2 MB, free: 19.39 MB / 314.7 MB Notification: Performance of pre-optimization done (n=4): time 5.81e-07/0.003474, allocations: 0 / 383.2 MB, free: 19.39 MB / 314.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002741/0.003748, allocations: 157.4 kB / 383.3 MB, free: 19.23 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.411e-05/0.003762, allocations: 51.41 kB / 383.4 MB, free: 19.16 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.797e-05/0.00383, allocations: 238.8 kB / 383.6 MB, free: 18.91 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 4.478e-06/0.003835, allocations: 25.7 kB / 383.6 MB, free: 18.88 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.823e-05/0.003863, allocations: 158.8 kB / 383.8 MB, free: 18.72 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.35e-05/0.003877, allocations: 27.75 kB / 383.8 MB, free: 18.7 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.331e-05/0.0039, allocations: 31.34 kB / 383.9 MB, free: 18.66 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 4.775e-05/0.003948, allocations: 0.4923 MB / 384.3 MB, free: 18.15 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.035e-05/0.003958, allocations: 8 kB / 384.4 MB, free: 18.14 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.082e-05/0.003969, allocations: 11.97 kB / 384.4 MB, free: 18.13 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.555e-05/0.003994, allocations: 27.69 kB / 384.4 MB, free: 18.1 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.323e-06/0.003996, allocations: 7.938 kB / 384.4 MB, free: 18.09 MB / 314.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 5.598e-05/0.004052, allocations: 73.58 kB / 384.5 MB, free: 18.02 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.366e-05/0.004065, allocations: 4 kB / 384.5 MB, free: 18.01 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.114e-06/0.004067, allocations: 0 / 384.5 MB, free: 18.01 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.418e-06/0.004072, allocations: 0 / 384.5 MB, free: 18.01 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.053e-05/0.004112, allocations: 19.98 kB / 384.5 MB, free: 17.99 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.263e-06/0.004114, allocations: 3.938 kB / 384.5 MB, free: 17.99 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.589e-05/0.00413, allocations: 0 / 384.5 MB, free: 17.99 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.326e-06/0.004133, allocations: 4 kB / 384.5 MB, free: 17.98 MB / 314.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 3.765e-05/0.004171, allocations: 168.5 kB / 384.7 MB, free: 17.81 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.041e-05/0.004191, allocations: 19.91 kB / 384.7 MB, free: 17.79 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.415e-05/0.004275, allocations: 91.38 kB / 384.8 MB, free: 17.69 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.052e-06/0.004276, allocations: 0 / 384.8 MB, free: 17.69 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.363e-06/0.004278, allocations: 0 / 384.8 MB, free: 17.69 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.565e-06/0.00428, allocations: 0 / 384.8 MB, free: 17.69 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001747/0.004455, allocations: 345.6 kB / 385.1 MB, free: 17.32 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.41e-07/0.004456, allocations: 0 / 385.1 MB, free: 17.32 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.92e-05/0.004485, allocations: 19.98 kB / 385.1 MB, free: 17.3 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.62e-07/0.004486, allocations: 0 / 385.1 MB, free: 17.3 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.877e-06/0.00449, allocations: 4 kB / 385.1 MB, free: 17.29 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.71e-07/0.00449, allocations: 4.031 kB / 385.1 MB, free: 17.29 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.004491, allocations: 0 / 385.1 MB, free: 17.29 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.296e-05/0.004564, allocations: 231.4 kB / 385.4 MB, free: 17.04 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.727e-06/0.004573, allocations: 16.31 kB / 385.4 MB, free: 17.02 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.228e-06/0.004582, allocations: 7.984 kB / 385.4 MB, free: 17.02 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.237e-05/0.004614, allocations: 4 kB / 385.4 MB, free: 17.01 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.898e-05/0.004633, allocations: 4 kB / 385.4 MB, free: 17.01 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.308e-06/0.004638, allocations: 3.984 kB / 385.4 MB, free: 17 MB / 314.7 MB Notification: Performance of sorting global known variables: time 5.551e-05/0.004693, allocations: 163.1 kB / 385.6 MB, free: 16.84 MB / 314.7 MB Notification: Performance of sort global known variables: time 1e-07/0.004693, allocations: 0 / 385.6 MB, free: 16.84 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002495/0.004943, allocations: 27.94 kB / 385.6 MB, free: 16.82 MB / 314.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.0008144/0.005757, allocations: 446.7 kB / 386 MB, free: 16.54 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 5.625e-05/0.005813, allocations: 31.67 kB / 386.1 MB, free: 16.5 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 9.52e-07/0.005814, allocations: 0 / 386.1 MB, free: 16.5 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 1.882e-05/0.005833, allocations: 31.55 kB / 386.1 MB, free: 16.47 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001673/0.006, allocations: 27.14 kB / 386.1 MB, free: 16.45 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001861/0.006186, allocations: 231.9 kB / 386.3 MB, free: 16.19 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.112e-05/0.006208, allocations: 71.19 kB / 386.4 MB, free: 16.1 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 2.581e-05/0.006233, allocations: 8.734 kB / 386.4 MB, free: 16.09 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.578e-05/0.006269, allocations: 82.19 kB / 386.5 MB, free: 16.01 MB / 314.7 MB Notification: Performance of SimCode: time 4.31e-07/0.00627, allocations: 0 / 386.5 MB, free: 16.01 MB / 314.7 MB Notification: Performance of Templates: time 0.002298/0.008567, allocations: 1.531 MB / 388 MB, free: 14.49 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test15.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test15.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test15.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test15.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test15.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test15 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test15.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test15_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test15/Test15.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.9370487057603896]