Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1.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.001881/0.001881, allocations: 106.2 kB / 19.81 MB, free: 2.516 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.002221/0.002221, allocations: 191.3 kB / 22.97 MB, free: 5.617 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.473/1.473, allocations: 225.6 MB / 251.6 MB, free: 13.34 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.2717/0.2717, allocations: 44.91 MB / 351.6 MB, free: 12.23 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.CombiTable2Dv.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001989/0.001989, allocations: 63.89 kB / 495.3 MB, free: 1.84 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4179/0.4199, allocations: 64.25 MB / 0.5464 GB, free: 13.22 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test1): time 0.003326/0.4232, allocations: 1.669 MB / 0.548 GB, free: 11.91 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.000897/0.4241, allocations: 465.8 kB / 0.5485 GB, free: 11.57 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.541e-05/0.4242, allocations: 1.219 kB / 0.5485 GB, free: 11.57 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006332/0.4248, allocations: 456.2 kB / 0.5489 GB, free: 11.36 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003697/0.4252, allocations: 251 kB / 0.5492 GB, free: 11.25 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004433/0.4256, allocations: 173.4 kB / 0.5493 GB, free: 11.14 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002679/0.4259, allocations: 175.6 kB / 0.5495 GB, free: 11.05 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001049/0.426, allocations: 13.97 kB / 0.5495 GB, free: 11.05 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001268/0.4261, allocations: 117.3 kB / 0.5496 GB, free: 10.99 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003236/0.4265, allocations: 251.4 kB / 0.5499 GB, free: 10.9 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.096e-05/0.4265, allocations: 3.375 kB / 0.5499 GB, free: 10.9 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001107/0.4266, allocations: 47.73 kB / 0.5499 GB, free: 10.88 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001119/0.4267, allocations: 87.67 kB / 0.55 GB, free: 10.84 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 9.66e-05/0.4268, allocations: 102.6 kB / 0.5501 GB, free: 10.75 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003516/0.4272, allocations: 264.1 kB / 0.5503 GB, free: 10.59 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.4272, allocations: 0 / 0.5503 GB, free: 10.59 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.344e-06/0.4272, allocations: 1.125 kB / 0.5503 GB, free: 10.59 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.373e-05/0.4272, allocations: 7.984 kB / 0.5503 GB, free: 10.59 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.000838/0.428, allocations: 0.6531 MB / 0.551 GB, free: 9.973 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.117e-05/0.4281, allocations: 10.19 kB / 0.551 GB, free: 9.973 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.838e-05/0.4281, allocations: 46.55 kB / 0.551 GB, free: 9.945 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000301/0.4284, allocations: 299.1 kB / 0.5513 GB, free: 9.648 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.309e-05/0.4284, allocations: 2.5 kB / 0.5513 GB, free: 9.648 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.505e-05/0.4285, allocations: 6.594 kB / 0.5513 GB, free: 9.645 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001741/0.4286, allocations: 66.11 kB / 0.5514 GB, free: 9.59 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.277e-05/0.4287, allocations: 5.094 kB / 0.5514 GB, free: 9.586 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.004e-05/0.4287, allocations: 0 / 0.5514 GB, free: 9.586 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.442e-06/0.4287, allocations: 5.109 kB / 0.5514 GB, free: 9.582 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001117/0.4288, allocations: 35.34 kB / 0.5514 GB, free: 9.566 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005607/0.4293, allocations: 411.5 kB / 0.5518 GB, free: 9.191 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001134/0.4295, allocations: 39.09 kB / 0.5519 GB, free: 9.16 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.422e-05/0.4295, allocations: 24.88 kB / 0.5519 GB, free: 9.141 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.702e-05/0.4296, allocations: 1.125 kB / 0.5519 GB, free: 9.141 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.502e-05/0.4296, allocations: 30.56 kB / 0.5519 GB, free: 9.102 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.142e-06/0.4296, allocations: 1.125 kB / 0.5519 GB, free: 9.102 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.001018/0.4306, allocations: 326.4 kB / 0.5522 GB, free: 8.91 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.664e-05/0.4307, allocations: 63.33 kB / 0.5523 GB, free: 8.836 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001037/0.4317, allocations: 0.8585 MB / 0.5531 GB, free: 8.422 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.196e-05/0.4317, allocations: 25.7 kB / 0.5532 GB, free: 8.391 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002232/0.432, allocations: 225.8 kB / 0.5534 GB, free: 8.195 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.954e-05/0.432, allocations: 31.14 kB / 0.5534 GB, free: 8.168 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.61e-05/0.432, allocations: 24.3 kB / 0.5534 GB, free: 8.145 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002059/0.4323, allocations: 367.4 kB / 0.5538 GB, free: 7.793 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.113e-05/0.4323, allocations: 33.38 kB / 0.5538 GB, free: 7.777 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.766e-05/0.4324, allocations: 28.39 kB / 0.5538 GB, free: 7.766 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001729/0.4326, allocations: 74.47 kB / 0.5539 GB, free: 7.727 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.92e-07/0.4326, allocations: 1.156 kB / 0.5539 GB, free: 7.727 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002598/0.4329, allocations: 146.4 kB / 0.554 GB, free: 7.637 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.804e-05/0.4329, allocations: 5.844 kB / 0.5541 GB, free: 7.637 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.71e-06/0.4329, allocations: 3.938 kB / 0.5541 GB, free: 7.633 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.52e-05/0.4329, allocations: 1.062 kB / 0.5541 GB, free: 7.633 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001111/0.433, allocations: 17.52 kB / 0.5541 GB, free: 7.629 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.079e-05/0.433, allocations: 9.062 kB / 0.5541 GB, free: 7.621 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.73e-05/0.4331, allocations: 7.344 kB / 0.5541 GB, free: 7.617 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.979e-06/0.4331, allocations: 2.219 kB / 0.5541 GB, free: 7.617 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.0002203/0.4333, allocations: 219.4 kB / 0.5543 GB, free: 7.461 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.455e-05/0.4334, allocations: 42.03 kB / 0.5543 GB, free: 7.438 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003744/0.4338, allocations: 177 kB / 0.5545 GB, free: 7.297 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.906e-06/0.4338, allocations: 0 / 0.5545 GB, free: 7.297 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.834e-06/0.4338, allocations: 3.938 kB / 0.5545 GB, free: 7.293 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.016e-06/0.4338, allocations: 0 / 0.5545 GB, free: 7.293 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007813/0.4346, allocations: 0.5148 MB / 0.555 GB, free: 6.719 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.348e-06/0.4346, allocations: 3.938 kB / 0.555 GB, free: 6.715 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.925e-05/0.4346, allocations: 19.98 kB / 0.555 GB, free: 6.695 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.445e-06/0.4346, allocations: 0 / 0.555 GB, free: 6.695 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.748e-06/0.4346, allocations: 0 / 0.555 GB, free: 6.695 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.454e-06/0.4346, allocations: 0 / 0.555 GB, free: 6.695 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.499e-06/0.4347, allocations: 4 kB / 0.555 GB, free: 6.691 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003189/0.435, allocations: 252 kB / 0.5553 GB, free: 6.426 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.928e-05/0.4351, allocations: 116.8 kB / 0.5554 GB, free: 6.293 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.26e-05/0.4351, allocations: 4 kB / 0.5554 GB, free: 6.289 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.16e-05/0.4352, allocations: 4 kB / 0.5554 GB, free: 6.285 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.642e-05/0.4352, allocations: 8.406 kB / 0.5554 GB, free: 6.277 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.504e-06/0.4352, allocations: 4 kB / 0.5554 GB, free: 6.273 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0006633/0.4359, allocations: 0.6511 MB / 0.556 GB, free: 5.625 MB / 398.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4359, allocations: 4 kB / 0.5561 GB, free: 5.621 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000275/0.4362, allocations: 31.92 kB / 0.5561 GB, free: 5.59 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.001698/0.4379, allocations: 466.6 kB / 0.5565 GB, free: 5.316 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002617/0.4381, allocations: 71.89 kB / 0.5566 GB, free: 5.246 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.488e-06/0.4381, allocations: 4 kB / 0.5566 GB, free: 5.242 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 9.402e-05/0.4382, allocations: 36.08 kB / 0.5566 GB, free: 5.207 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004618/0.4387, allocations: 37.44 kB / 0.5567 GB, free: 5.172 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001321/0.44, allocations: 0.8308 MB / 0.5575 GB, free: 4.309 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005313/0.4405, allocations: 0.8376 MB / 0.5583 GB, free: 3.445 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.628e-05/0.4406, allocations: 20.41 kB / 0.5583 GB, free: 3.426 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.13e-05/0.4407, allocations: 19.42 kB / 0.5583 GB, free: 3.406 MB / 398.1 MB Notification: Performance of SimCode: time 6.51e-07/0.4407, allocations: 0 / 0.5583 GB, free: 3.406 MB / 398.1 MB Notification: Performance of Templates: time 0.005931/0.4466, allocations: 1.772 MB / 0.5601 GB, free: 1.641 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test1/Test1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1.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: 5.371042577549815]