Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2.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.001883/0.001883, allocations: 87.67 kB / 20.96 MB, free: 3.586 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.002083/0.002083, allocations: 161.3 kB / 24.27 MB, free: 280 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 1.547/1.547, allocations: 177.1 MB / 204.6 MB, free: 5.586 MB / 186.7 MB " [Timeout remaining time 178] 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.3583/0.3583, allocations: 32.81 MB / 293.9 MB, free: 1.203 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.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.673e-06/1.673e-06, allocations: 0 / 375.3 MB, free: 4.953 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.786e-05/2.954e-05, allocations: 2.312 kB / 375.3 MB, free: 4.949 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test2): time 0.003315/0.003345, allocations: 1.678 MB / 377 MB, free: 3.258 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001237/0.004582, allocations: 0.5453 MB / 377.5 MB, free: 2.707 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.57e-05/0.004638, allocations: 4 kB / 377.5 MB, free: 2.703 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001307/0.005945, allocations: 455 kB / 378 MB, free: 2.258 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005309/0.006476, allocations: 295.2 kB / 378.3 MB, free: 1.969 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003403/0.006816, allocations: 127.6 kB / 378.4 MB, free: 1.844 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002681/0.007084, allocations: 175.6 kB / 378.6 MB, free: 1.672 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.827e-05/0.007183, allocations: 12 kB / 378.6 MB, free: 1.66 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001955/0.007378, allocations: 131.7 kB / 378.7 MB, free: 1.531 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002962/0.007674, allocations: 231.7 kB / 378.9 MB, free: 1.305 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 3.078e-05/0.007705, allocations: 7.938 kB / 378.9 MB, free: 1.297 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001276/0.007833, allocations: 55.86 kB / 379 MB, free: 1.242 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001331/0.007966, allocations: 83.7 kB / 379.1 MB, free: 1.16 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 6.844e-05/0.008034, allocations: 39.73 kB / 379.1 MB, free: 1.121 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003853/0.008419, allocations: 247.1 kB / 379.3 MB, free: 0.8789 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.136e-06/0.008423, allocations: 4 kB / 379.3 MB, free: 0.875 MB / 346.7 MB Notification: Performance of FrontEnd: time 8.42e-07/0.008423, allocations: 0 / 379.3 MB, free: 0.875 MB / 346.7 MB Notification: Performance of Transformations before backend: time 6.161e-06/0.00843, allocations: 3.938 kB / 379.3 MB, free: 0.8711 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.0009594/0.009389, allocations: 0.7201 MB / 380.1 MB, free: 116 kB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.509e-05/0.009424, allocations: 15.97 kB / 380.1 MB, free: 100 kB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.794e-05/0.009512, allocations: 48.66 kB / 380.1 MB, free: 52 kB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003529/0.009865, allocations: 244.9 kB / 380.4 MB, free: 15.79 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.39e-05/0.009879, allocations: 4.375 kB / 380.4 MB, free: 15.78 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.361e-05/0.009902, allocations: 4.375 kB / 380.4 MB, free: 15.78 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001516/0.01005, allocations: 54.25 kB / 380.4 MB, free: 15.72 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.386e-05/0.01007, allocations: 8.172 kB / 380.4 MB, free: 15.71 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.344e-05/0.01008, allocations: 8.125 kB / 380.4 MB, free: 15.7 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.368e-06/0.01009, allocations: 3.938 kB / 380.5 MB, free: 15.7 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.581e-05/0.01018, allocations: 23.98 kB / 380.5 MB, free: 15.68 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007002/0.01088, allocations: 471.6 kB / 380.9 MB, free: 15.18 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001288/0.01101, allocations: 55.02 kB / 381 MB, free: 15.11 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.143e-05/0.01106, allocations: 19.69 kB / 381 MB, free: 15.09 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.347e-05/0.01109, allocations: 0 / 381 MB, free: 15.09 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.152e-05/0.01113, allocations: 37.48 kB / 381 MB, free: 15.04 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 7.72e-07/0.01113, allocations: 0 / 381 MB, free: 15.04 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0009444/0.01207, allocations: 296.6 kB / 381.3 MB, free: 14.75 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.89e-05/0.01212, allocations: 55.41 kB / 381.4 MB, free: 14.68 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008104/0.01293, allocations: 0.6745 MB / 382.1 MB, free: 13.99 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.523e-05/0.01296, allocations: 25.7 kB / 382.1 MB, free: 13.96 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003102/0.01327, allocations: 306.7 kB / 382.4 MB, free: 13.65 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.484e-05/0.0133, allocations: 23.81 kB / 382.4 MB, free: 13.63 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.061e-05/0.01336, allocations: 35.36 kB / 382.4 MB, free: 13.59 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0003699/0.01373, allocations: 0.5742 MB / 383 MB, free: 13 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.537e-05/0.01381, allocations: 23.98 kB / 383 MB, free: 12.98 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.849e-05/0.01387, allocations: 19.98 kB / 383.1 MB, free: 12.96 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001439/0.01401, allocations: 59.91 kB / 383.1 MB, free: 12.89 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.91e-07/0.01401, allocations: 3.938 kB / 383.1 MB, free: 12.89 MB / 362.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002576/0.01427, allocations: 137.4 kB / 383.3 MB, free: 12.75 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.489e-05/0.01428, allocations: 4 kB / 383.3 MB, free: 12.75 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.408e-06/0.01429, allocations: 3.938 kB / 383.3 MB, free: 12.74 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.475e-05/0.0143, allocations: 4 kB / 383.3 MB, free: 12.74 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001002/0.0144, allocations: 19.98 kB / 383.3 MB, free: 12.72 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.589e-06/0.01441, allocations: 0 / 383.3 MB, free: 12.72 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.59e-05/0.01445, allocations: 0 / 383.3 MB, free: 12.72 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.03e-05/0.01446, allocations: 4 kB / 383.3 MB, free: 12.71 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 0.000144/0.01461, allocations: 164.5 kB / 383.5 MB, free: 12.54 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.285e-05/0.01468, allocations: 47.72 kB / 383.5 MB, free: 12.5 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003172/0.015, allocations: 137.4 kB / 383.6 MB, free: 12.35 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.889e-06/0.015, allocations: 8 kB / 383.6 MB, free: 12.34 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.957e-06/0.01501, allocations: 0 / 383.6 MB, free: 12.34 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.915e-06/0.01501, allocations: 0 / 383.6 MB, free: 12.34 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008359/0.01585, allocations: 0.5672 MB / 384.2 MB, free: 11.73 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.01585, allocations: 0 / 384.2 MB, free: 11.73 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.179e-05/0.01592, allocations: 19.98 kB / 384.2 MB, free: 11.71 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.504e-06/0.01592, allocations: 0 / 384.2 MB, free: 11.71 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.588e-05/0.01594, allocations: 8 kB / 384.2 MB, free: 11.7 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.532e-06/0.01594, allocations: 0 / 384.2 MB, free: 11.7 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.386e-06/0.01594, allocations: 3.969 kB / 384.2 MB, free: 11.7 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003529/0.01629, allocations: 295.2 kB / 384.5 MB, free: 11.39 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.49e-05/0.01636, allocations: 35.72 kB / 384.6 MB, free: 11.35 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.451e-05/0.01638, allocations: 0 / 384.6 MB, free: 11.35 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.907e-05/0.01646, allocations: 4 kB / 384.6 MB, free: 11.35 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.015e-05/0.0165, allocations: 11.92 kB / 384.6 MB, free: 11.34 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.905e-06/0.01651, allocations: 4 kB / 384.6 MB, free: 11.33 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0007165/0.01723, allocations: 442.8 kB / 385 MB, free: 10.9 MB / 362.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01723, allocations: 0 / 385 MB, free: 10.9 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000262/0.01749, allocations: 24 kB / 385 MB, free: 10.88 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.003395/0.02088, allocations: 495.7 kB / 385.5 MB, free: 10.6 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002414/0.02113, allocations: 79.56 kB / 385.6 MB, free: 10.52 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.02113, allocations: 4 kB / 385.6 MB, free: 10.52 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 9.688e-05/0.02122, allocations: 43.61 kB / 385.6 MB, free: 10.47 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003607/0.02159, allocations: 29.7 kB / 385.7 MB, free: 10.45 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001065/0.02265, allocations: 0.6235 MB / 386.3 MB, free: 9.789 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000256/0.02291, allocations: 208.1 kB / 386.5 MB, free: 9.57 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 6.155e-05/0.02297, allocations: 16.72 kB / 386.5 MB, free: 9.551 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.902e-05/0.02301, allocations: 12.5 kB / 386.5 MB, free: 9.539 MB / 362.7 MB Notification: Performance of SimCode: time 1.132e-06/0.02301, allocations: 0 / 386.5 MB, free: 9.539 MB / 362.7 MB Notification: Performance of Templates: time 0.005868/0.02888, allocations: 1.568 MB / 388.1 MB, free: 7.98 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test2/Test2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.981332411058247]