Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001241/0.001241, allocations: 109.8 kB / 21.1 MB, free: 0.7656 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001364/0.001364, allocations: 191.8 kB / 24.36 MB, free: 4.207 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.364/1.364, allocations: 225.6 MB / 253.1 MB, free: 13.03 MB / 206.1 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.2259/0.2259, allocations: 44.91 MB / 353.2 MB, free: 11.83 MB / 286.1 MB " [Timeout remaining time 179] 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable1Ds.Test32,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test32,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001966/0.001966, allocations: 68.11 kB / 497.3 MB, free: 1.082 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3378/0.3398, allocations: 64.3 MB / 0.5485 GB, free: 13.09 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test32): time 0.003123/0.3429, allocations: 1.604 MB / 0.55 GB, free: 11.84 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007948/0.3437, allocations: 424.3 kB / 0.5504 GB, free: 11.53 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.289e-05/0.3437, allocations: 0 / 0.5504 GB, free: 11.53 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003106/0.344, allocations: 106.3 kB / 0.5505 GB, free: 11.47 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002119/0.3442, allocations: 82.17 kB / 0.5506 GB, free: 11.43 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002556/0.3445, allocations: 90.55 kB / 0.5507 GB, free: 11.37 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001636/0.3447, allocations: 76.56 kB / 0.5508 GB, free: 11.33 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001089/0.3448, allocations: 15.95 kB / 0.5508 GB, free: 11.32 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.785e-05/0.3448, allocations: 47.14 kB / 0.5508 GB, free: 11.29 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001276/0.345, allocations: 70.39 kB / 0.5509 GB, free: 11.26 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.788e-05/0.345, allocations: 7.094 kB / 0.5509 GB, free: 11.26 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.115e-05/0.3451, allocations: 47.36 kB / 0.5509 GB, free: 11.24 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.668e-05/0.3451, allocations: 26.06 kB / 0.551 GB, free: 11.22 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.029e-05/0.3452, allocations: 29.97 kB / 0.551 GB, free: 11.2 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000194/0.3454, allocations: 109.9 kB / 0.5511 GB, free: 11.13 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.3454, allocations: 0 / 0.5511 GB, free: 11.13 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.3454, allocations: 1.156 kB / 0.5511 GB, free: 11.13 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.55e-06/0.3454, allocations: 0 / 0.5511 GB, free: 11.13 MB / 398.1 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.0005269/0.3459, allocations: 348.4 kB / 0.5514 GB, free: 10.79 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.557e-05/0.3459, allocations: 13.73 kB / 0.5515 GB, free: 10.79 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.087e-05/0.346, allocations: 14.58 kB / 0.5515 GB, free: 10.78 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001892/0.3462, allocations: 147.8 kB / 0.5516 GB, free: 10.62 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.261e-05/0.3462, allocations: 1.531 kB / 0.5516 GB, free: 10.62 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.385e-05/0.3462, allocations: 2.656 kB / 0.5516 GB, free: 10.62 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001646/0.3464, allocations: 58.27 kB / 0.5517 GB, free: 10.57 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.268e-05/0.3464, allocations: 1.062 kB / 0.5517 GB, free: 10.57 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.746e-06/0.3464, allocations: 0 / 0.5517 GB, free: 10.57 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.318e-06/0.3464, allocations: 1.312 kB / 0.5517 GB, free: 10.57 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001061/0.3465, allocations: 23.14 kB / 0.5517 GB, free: 10.57 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003973/0.3469, allocations: 274.6 kB / 0.552 GB, free: 10.28 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001122/0.347, allocations: 37.66 kB / 0.552 GB, free: 10.25 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.325e-05/0.3471, allocations: 21.77 kB / 0.552 GB, free: 10.23 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.113e-05/0.3471, allocations: 0 / 0.552 GB, free: 10.23 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.194e-05/0.3471, allocations: 39.66 kB / 0.552 GB, free: 10.19 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 7.82e-07/0.3471, allocations: 0 / 0.552 GB, free: 10.19 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008749/0.348, allocations: 233.6 kB / 0.5523 GB, free: 10.05 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.211e-05/0.348, allocations: 56.47 kB / 0.5523 GB, free: 9.988 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002578/0.3483, allocations: 254.3 kB / 0.5526 GB, free: 9.812 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.696e-05/0.3483, allocations: 25.7 kB / 0.5526 GB, free: 9.781 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.724e-05/0.3484, allocations: 110.8 kB / 0.5527 GB, free: 9.676 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.618e-05/0.3484, allocations: 31.45 kB / 0.5527 GB, free: 9.648 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.553e-05/0.3485, allocations: 18.38 kB / 0.5527 GB, free: 9.629 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001515/0.3486, allocations: 323.3 kB / 0.5531 GB, free: 9.309 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.726e-05/0.3487, allocations: 26.27 kB / 0.5531 GB, free: 9.297 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.346e-05/0.3488, allocations: 29.78 kB / 0.5531 GB, free: 9.281 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001448/0.3489, allocations: 55.84 kB / 0.5532 GB, free: 9.254 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.996e-06/0.3489, allocations: 3.984 kB / 0.5532 GB, free: 9.25 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002178/0.3491, allocations: 100.4 kB / 0.5533 GB, free: 9.188 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.828e-05/0.3492, allocations: 4.844 kB / 0.5533 GB, free: 9.188 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.631e-06/0.3492, allocations: 1.312 kB / 0.5533 GB, free: 9.188 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.749e-05/0.3492, allocations: 0 / 0.5533 GB, free: 9.188 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001221/0.3493, allocations: 26.45 kB / 0.5533 GB, free: 9.176 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.048e-05/0.3493, allocations: 7.875 kB / 0.5533 GB, free: 9.168 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.191e-05/0.3494, allocations: 3.5 kB / 0.5533 GB, free: 9.168 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.297e-05/0.3494, allocations: 6.328 kB / 0.5533 GB, free: 9.164 MB / 398.1 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.000126/0.3495, allocations: 131 kB / 0.5534 GB, free: 9.039 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.157e-05/0.3496, allocations: 13.94 kB / 0.5534 GB, free: 9.031 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002999/0.3499, allocations: 124.8 kB / 0.5536 GB, free: 8.945 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.026e-06/0.3499, allocations: 5.031 kB / 0.5536 GB, free: 8.941 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.062e-06/0.3499, allocations: 3.938 kB / 0.5536 GB, free: 8.938 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.41e-06/0.3499, allocations: 5.109 kB / 0.5536 GB, free: 8.934 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005527/0.3504, allocations: 370.1 kB / 0.5539 GB, free: 8.586 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.3504, allocations: 1.062 kB / 0.5539 GB, free: 8.586 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.987e-05/0.3505, allocations: 21.36 kB / 0.554 GB, free: 8.578 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.815e-06/0.3505, allocations: 1.125 kB / 0.554 GB, free: 8.578 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.357e-06/0.3505, allocations: 9.125 kB / 0.554 GB, free: 8.57 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.3505, allocations: 1.719 kB / 0.554 GB, free: 8.57 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.759e-06/0.3505, allocations: 4.969 kB / 0.554 GB, free: 8.566 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000267/0.3508, allocations: 200.9 kB / 0.5542 GB, free: 8.395 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.025e-05/0.3508, allocations: 15.03 kB / 0.5542 GB, free: 8.383 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.693e-05/0.3508, allocations: 1.125 kB / 0.5542 GB, free: 8.383 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.356e-05/0.3509, allocations: 15.39 kB / 0.5542 GB, free: 8.371 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.261e-05/0.3509, allocations: 7.234 kB / 0.5542 GB, free: 8.367 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.51e-06/0.3509, allocations: 2.25 kB / 0.5542 GB, free: 8.367 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000158/0.3511, allocations: 185.7 kB / 0.5544 GB, free: 8.25 MB / 398.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3511, allocations: 0 / 0.5544 GB, free: 8.25 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002476/0.3513, allocations: 22.14 kB / 0.5544 GB, free: 8.242 MB / 398.1 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.001643/0.353, allocations: 466.2 kB / 0.5548 GB, free: 8.016 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002344/0.3532, allocations: 57.06 kB / 0.5549 GB, free: 7.996 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.3532, allocations: 0 / 0.5549 GB, free: 7.996 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 9.256e-05/0.3533, allocations: 39.69 kB / 0.5549 GB, free: 7.977 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003576/0.3537, allocations: 23.11 kB / 0.555 GB, free: 7.965 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005498/0.3542, allocations: 273.3 kB / 0.5552 GB, free: 7.766 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003541/0.3546, allocations: 0.7169 MB / 0.5559 GB, free: 7.047 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.698e-05/0.3546, allocations: 19.5 kB / 0.5559 GB, free: 7.031 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.496e-05/0.3547, allocations: 13.69 kB / 0.5559 GB, free: 7.023 MB / 398.1 MB Notification: Performance of SimCode: time 3.71e-07/0.3547, allocations: 0 / 0.5559 GB, free: 7.023 MB / 398.1 MB Notification: Performance of Templates: time 0.004741/0.3594, allocations: 1.389 MB / 0.5573 GB, free: 6.203 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test32/Test32.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32.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.880293745547533]