Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5.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.001292/0.001292, allocations: 79.75 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.001446/0.001446, allocations: 161 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.9616/0.9616, allocations: 177.1 MB / 205 MB, free: 5.625 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.2426/0.2426, allocations: 32.8 MB / 294.3 MB, free: 1.281 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.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.683e-06/1.683e-06, allocations: 0 / 376 MB, free: 4.66 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.433e-05/2.601e-05, allocations: 6.25 kB / 376 MB, free: 4.652 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test5): time 0.002313/0.002339, allocations: 1.701 MB / 377.7 MB, free: 2.938 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007608/0.0031, allocations: 0.5413 MB / 378.3 MB, free: 2.391 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.435e-05/0.003154, allocations: 0 / 378.3 MB, free: 2.391 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000451/0.003605, allocations: 455.1 kB / 378.7 MB, free: 1.945 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005389/0.004144, allocations: 295.2 kB / 379 MB, free: 1.656 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003159/0.00446, allocations: 135.5 kB / 379.1 MB, free: 1.523 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002352/0.004695, allocations: 167.7 kB / 379.3 MB, free: 1.359 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001006/0.004796, allocations: 11.97 kB / 379.3 MB, free: 1.348 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001306/0.004927, allocations: 115.8 kB / 379.4 MB, free: 1.234 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001953/0.005122, allocations: 243.5 kB / 379.7 MB, free: 0.9961 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.931e-05/0.005141, allocations: 4 kB / 379.7 MB, free: 0.9922 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.921e-05/0.00523, allocations: 39.92 kB / 379.7 MB, free: 0.9531 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 8.826e-05/0.005319, allocations: 79.72 kB / 379.8 MB, free: 0.875 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.91e-05/0.005358, allocations: 39.73 kB / 379.8 MB, free: 0.8359 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002252/0.005583, allocations: 199.2 kB / 380 MB, free: 0.6406 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.424e-06/0.005585, allocations: 0 / 380 MB, free: 0.6406 MB / 346.7 MB Notification: Performance of FrontEnd: time 9.31e-07/0.005586, allocations: 3.938 kB / 380 MB, free: 0.6367 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.31e-06/0.005592, allocations: 0 / 380 MB, free: 0.6367 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.0006439/0.006236, allocations: 0.6932 MB / 380.7 MB, free: 15.9 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.709e-05/0.006273, allocations: 8.031 kB / 380.7 MB, free: 15.89 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.559e-05/0.006338, allocations: 44.66 kB / 380.8 MB, free: 15.85 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001976/0.006536, allocations: 244.8 kB / 381 MB, free: 15.59 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.139e-05/0.006547, allocations: 4.375 kB / 381 MB, free: 15.59 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.083e-05/0.006568, allocations: 4.375 kB / 381 MB, free: 15.58 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001232/0.006691, allocations: 58.94 kB / 381.1 MB, free: 15.52 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.075e-05/0.006702, allocations: 192 / 381.1 MB, free: 15.52 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.116e-05/0.006713, allocations: 12.06 kB / 381.1 MB, free: 15.5 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.908e-06/0.006723, allocations: 4 kB / 381.1 MB, free: 15.5 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.511e-05/0.006758, allocations: 7.984 kB / 381.1 MB, free: 15.49 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004099/0.007168, allocations: 423.6 kB / 381.5 MB, free: 15.04 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001802/0.007348, allocations: 46.94 kB / 381.6 MB, free: 14.98 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.644e-05/0.007375, allocations: 19.75 kB / 381.6 MB, free: 14.96 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.944e-05/0.007394, allocations: 4 kB / 381.6 MB, free: 14.96 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.504e-05/0.007419, allocations: 41.39 kB / 381.6 MB, free: 14.91 MB / 362.7 MB Notification: Performance of pre-optimization done (n=3): time 9.92e-07/0.00742, allocations: 0 / 381.6 MB, free: 14.91 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004037/0.007824, allocations: 180.8 kB / 381.8 MB, free: 14.72 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.116e-05/0.007855, allocations: 51.41 kB / 381.8 MB, free: 14.66 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006618/0.008517, allocations: 0.6316 MB / 382.5 MB, free: 14.01 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.306e-05/0.00853, allocations: 25.7 kB / 382.5 MB, free: 13.98 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001334/0.008663, allocations: 290.7 kB / 382.8 MB, free: 13.69 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.015e-05/0.008683, allocations: 11.84 kB / 382.8 MB, free: 13.68 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.738e-05/0.008721, allocations: 27.38 kB / 382.8 MB, free: 13.64 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001426/0.008863, allocations: 0.5547 MB / 383.4 MB, free: 13.08 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.175e-05/0.008885, allocations: 8 kB / 383.4 MB, free: 13.07 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.393e-05/0.008899, allocations: 7.984 kB / 383.4 MB, free: 13.06 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.089e-05/0.00894, allocations: 27.56 kB / 383.4 MB, free: 13.03 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.41e-07/0.008941, allocations: 0 / 383.4 MB, free: 13.03 MB / 362.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.48e-05/0.009036, allocations: 101.6 kB / 383.5 MB, free: 12.93 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.338e-05/0.009049, allocations: 4 kB / 383.5 MB, free: 12.92 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.639e-06/0.009054, allocations: 0 / 383.5 MB, free: 12.92 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.221e-05/0.009066, allocations: 0 / 383.5 MB, free: 12.92 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.781e-05/0.009114, allocations: 12 kB / 383.5 MB, free: 12.91 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.709e-06/0.009118, allocations: 4 kB / 383.5 MB, free: 12.91 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.497e-05/0.009143, allocations: 3.984 kB / 383.5 MB, free: 12.9 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.541e-06/0.009149, allocations: 4 kB / 383.6 MB, free: 12.9 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 (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 6.931e-05/0.009218, allocations: 156.5 kB / 383.7 MB, free: 12.73 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.376e-05/0.009252, allocations: 47.72 kB / 383.8 MB, free: 12.69 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001301/0.009382, allocations: 97.12 kB / 383.8 MB, free: 12.58 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.156e-06/0.009385, allocations: 4 kB / 383.8 MB, free: 12.58 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.466e-06/0.009389, allocations: 0 / 383.8 MB, free: 12.58 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.009392, allocations: 0 / 383.8 MB, free: 12.58 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003181/0.00971, allocations: 465.3 kB / 384.3 MB, free: 12.08 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.009711, allocations: 4 kB / 384.3 MB, free: 12.08 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.387e-05/0.009745, allocations: 15.98 kB / 384.3 MB, free: 12.06 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.542e-06/0.009747, allocations: 0 / 384.3 MB, free: 12.06 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.053e-06/0.009754, allocations: 4 kB / 384.3 MB, free: 12.06 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.009755, allocations: 0 / 384.3 MB, free: 12.06 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.009757, allocations: 0 / 384.3 MB, free: 12.06 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001148/0.009872, allocations: 247.6 kB / 384.6 MB, free: 11.8 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.228e-05/0.009894, allocations: 31.72 kB / 384.6 MB, free: 11.77 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.67e-05/0.009911, allocations: 8.234 kB / 384.6 MB, free: 11.76 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.773e-05/0.009948, allocations: 0 / 384.6 MB, free: 11.76 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.795e-05/0.009976, allocations: 12 kB / 384.6 MB, free: 11.75 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.705e-06/0.009979, allocations: 0 / 384.6 MB, free: 11.75 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002364/0.01022, allocations: 434.7 kB / 385 MB, free: 11.32 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01022, allocations: 3.938 kB / 385 MB, free: 11.32 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001669/0.01038, allocations: 23.94 kB / 385.1 MB, free: 11.3 MB / 362.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.0007689/0.01115, allocations: 396 kB / 385.5 MB, free: 11.05 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 9.171e-05/0.01124, allocations: 27.67 kB / 385.5 MB, free: 11.02 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.342e-06/0.01124, allocations: 0 / 385.5 MB, free: 11.02 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.318e-05/0.01127, allocations: 27.61 kB / 385.5 MB, free: 10.99 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002323/0.0115, allocations: 25.95 kB / 385.5 MB, free: 10.96 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005888/0.01209, allocations: 0.5651 MB / 386.1 MB, free: 10.37 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.546e-05/0.01215, allocations: 119.2 kB / 386.2 MB, free: 10.23 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 2.857e-05/0.01218, allocations: 8 kB / 386.2 MB, free: 10.22 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.743e-05/0.01221, allocations: 20.5 kB / 386.2 MB, free: 10.2 MB / 362.7 MB Notification: Performance of SimCode: time 6.41e-07/0.01221, allocations: 0 / 386.2 MB, free: 10.2 MB / 362.7 MB Notification: Performance of Templates: time 0.003862/0.01607, allocations: 1.455 MB / 387.7 MB, free: 8.758 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test5/Test5.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.989770903252065]