Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test24.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.001412/0.001412, allocations: 83.58 kB / 21.19 MB, free: 3.379 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.00107/0.00107, allocations: 165 kB / 24.56 MB, free: 12 kB / 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.9693/0.9693, allocations: 177.1 MB / 205 MB, free: 5.238 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.2407/0.2407, allocations: 32.8 MB / 294.3 MB, free: 1.195 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.CombiTable2Ds.Test24,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test24") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test24,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test24") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.764e-06/1.764e-06, allocations: 0 / 376 MB, free: 4.648 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.726e-05/2.903e-05, allocations: 6.25 kB / 376 MB, free: 4.641 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test24): time 0.003073/0.003102, allocations: 1.717 MB / 377.8 MB, free: 2.91 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008932/0.003995, allocations: 0.553 MB / 378.3 MB, free: 2.352 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.334e-05/0.004049, allocations: 0 / 378.3 MB, free: 2.352 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000246/0.004295, allocations: 39.81 kB / 378.4 MB, free: 2.312 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003184/0.004613, allocations: 95.53 kB / 378.5 MB, free: 2.219 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003377/0.004951, allocations: 135.5 kB / 378.6 MB, free: 2.086 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001754/0.005126, allocations: 91.69 kB / 378.7 MB, free: 1.996 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001012/0.005227, allocations: 12.22 kB / 378.7 MB, free: 1.98 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.334e-05/0.005311, allocations: 39.89 kB / 378.7 MB, free: 1.941 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.914e-05/0.00541, allocations: 39.89 kB / 378.8 MB, free: 1.902 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.47e-05/0.005425, allocations: 4 kB / 378.8 MB, free: 1.898 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001099/0.005535, allocations: 55.91 kB / 378.8 MB, free: 1.844 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 7.101e-05/0.005606, allocations: 19.92 kB / 378.8 MB, free: 1.824 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.004e-05/0.005636, allocations: 15.92 kB / 378.9 MB, free: 1.809 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001967/0.005832, allocations: 95.67 kB / 378.9 MB, free: 1.715 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.005835, allocations: 0 / 378.9 MB, free: 1.715 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.173e-06/0.005837, allocations: 0 / 378.9 MB, free: 1.715 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.369e-06/0.005841, allocations: 0 / 378.9 MB, free: 1.715 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005058/0.006347, allocations: 443.9 kB / 379.4 MB, free: 1.246 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.002e-05/0.006387, allocations: 8.031 kB / 379.4 MB, free: 1.238 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.589e-05/0.006443, allocations: 16.84 kB / 379.4 MB, free: 1.223 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001644/0.006607, allocations: 147.9 kB / 379.6 MB, free: 1.055 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.127e-05/0.006618, allocations: 384 / 379.6 MB, free: 1.055 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.423e-05/0.006643, allocations: 8.375 kB / 379.6 MB, free: 1.047 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001506/0.006793, allocations: 70.69 kB / 379.6 MB, free: 0.9688 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.12e-05/0.006804, allocations: 0 / 379.6 MB, free: 0.9688 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.133e-05/0.006816, allocations: 4 kB / 379.6 MB, free: 0.9648 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.526e-06/0.006824, allocations: 0 / 379.6 MB, free: 0.9648 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.76e-05/0.006872, allocations: 15.98 kB / 379.6 MB, free: 0.9492 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003533/0.007225, allocations: 299.6 kB / 379.9 MB, free: 0.6211 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002056/0.007431, allocations: 47.05 kB / 380 MB, free: 0.5625 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.849e-05/0.007459, allocations: 11.78 kB / 380 MB, free: 0.5469 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.944e-05/0.007479, allocations: 3.938 kB / 380 MB, free: 0.543 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.593e-05/0.007505, allocations: 45.52 kB / 380 MB, free: 500 kB / 346.7 MB Notification: Performance of pre-optimization done (n=5): time 1.172e-06/0.007506, allocations: 0 / 380 MB, free: 500 kB / 346.7 MB Notification: Performance of matching and sorting (n=11): time 0.0007467/0.008252, allocations: 233.6 kB / 380.3 MB, free: 260 kB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.389e-05/0.008286, allocations: 55.41 kB / 380.3 MB, free: 192 kB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001565/0.008443, allocations: 220.5 kB / 380.5 MB, free: 15.96 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.451e-05/0.008457, allocations: 25.7 kB / 380.6 MB, free: 15.93 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.494e-05/0.008522, allocations: 158.8 kB / 380.7 MB, free: 15.77 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.079e-05/0.008563, allocations: 39.69 kB / 380.8 MB, free: 15.73 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.289e-05/0.008606, allocations: 31.31 kB / 380.8 MB, free: 15.69 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001275/0.008734, allocations: 0.4923 MB / 381.3 MB, free: 15.18 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.154e-05/0.008775, allocations: 23.92 kB / 381.3 MB, free: 15.16 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.007e-05/0.008805, allocations: 12 kB / 381.3 MB, free: 15.15 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.175e-05/0.008887, allocations: 47.67 kB / 381.4 MB, free: 15.1 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.233e-06/0.008888, allocations: 0 / 381.4 MB, free: 15.1 MB / 362.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001472/0.009035, allocations: 93.53 kB / 381.5 MB, free: 15 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.445e-05/0.00905, allocations: 4 kB / 381.5 MB, free: 15 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.669e-06/0.009054, allocations: 4 kB / 381.5 MB, free: 14.99 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.365e-05/0.009068, allocations: 4 kB / 381.5 MB, free: 14.99 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.733e-05/0.009155, allocations: 23.92 kB / 381.5 MB, free: 14.96 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.695e-06/0.009163, allocations: 7.984 kB / 381.5 MB, free: 14.96 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.344e-05/0.009197, allocations: 7.938 kB / 381.5 MB, free: 14.95 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.255e-06/0.009205, allocations: 0 / 381.5 MB, free: 14.95 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 (11): * Single equations (assignments): 11 * 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 7.837e-05/0.009283, allocations: 160.6 kB / 381.7 MB, free: 14.78 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.619e-05/0.009319, allocations: 15.95 kB / 381.7 MB, free: 14.77 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001938/0.009513, allocations: 110.8 kB / 381.8 MB, free: 14.65 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.785e-06/0.009516, allocations: 0 / 381.8 MB, free: 14.65 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.00952, allocations: 4 kB / 381.8 MB, free: 14.64 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.069e-06/0.009525, allocations: 7.922 kB / 381.8 MB, free: 14.64 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004102/0.009936, allocations: 412.6 kB / 382.2 MB, free: 14.18 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.009938, allocations: 0 / 382.2 MB, free: 14.18 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.717e-05/0.01001, allocations: 27.92 kB / 382.2 MB, free: 14.16 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.166e-06/0.01002, allocations: 0 / 382.2 MB, free: 14.16 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.025e-05/0.01003, allocations: 3.938 kB / 382.2 MB, free: 14.15 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.755e-06/0.01003, allocations: 4 kB / 382.2 MB, free: 14.15 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.01003, allocations: 0 / 382.2 MB, free: 14.15 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001946/0.01023, allocations: 263.3 kB / 382.5 MB, free: 13.86 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.453e-05/0.01024, allocations: 15.91 kB / 382.5 MB, free: 13.85 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.744e-05/0.01026, allocations: 7.922 kB / 382.5 MB, free: 13.84 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.767e-05/0.01033, allocations: 8 kB / 382.5 MB, free: 13.83 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.277e-05/0.01037, allocations: 12.17 kB / 382.5 MB, free: 13.82 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.476e-06/0.01038, allocations: 4 kB / 382.5 MB, free: 13.82 MB / 362.7 MB Notification: Performance of sorting global known variables: time 8.253e-05/0.01046, allocations: 165.5 kB / 382.7 MB, free: 13.66 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01046, allocations: 3.938 kB / 382.7 MB, free: 13.65 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002677/0.01073, allocations: 23.94 kB / 382.7 MB, free: 13.63 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.00123/0.01196, allocations: 432 kB / 383.2 MB, free: 13.37 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000168/0.01213, allocations: 63.59 kB / 383.2 MB, free: 13.3 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.01213, allocations: 0 / 383.2 MB, free: 13.3 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 6.239e-05/0.01219, allocations: 39.61 kB / 383.3 MB, free: 13.26 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003159/0.01251, allocations: 19.92 kB / 383.3 MB, free: 13.24 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005194/0.01303, allocations: 256 kB / 383.5 MB, free: 12.96 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.876e-05/0.01309, allocations: 71.45 kB / 383.6 MB, free: 12.87 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.601e-05/0.01314, allocations: 16.48 kB / 383.6 MB, free: 12.85 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.574e-05/0.01319, allocations: 20.48 kB / 383.6 MB, free: 12.83 MB / 362.7 MB Notification: Performance of SimCode: time 1.112e-06/0.01319, allocations: 0 / 383.6 MB, free: 12.83 MB / 362.7 MB Notification: Performance of Templates: time 0.004952/0.01814, allocations: 1.697 MB / 385.3 MB, free: 11.14 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test24.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test24.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test24.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test24.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test24.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test24 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test24.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test24_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test24/Test24.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.976598161738366]