Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4.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.001955/0.001955, allocations: 110 kB / 21.23 MB, free: 0.6602 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.002588/0.002588, allocations: 186.5 kB / 24.51 MB, free: 4.035 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.56/1.56, allocations: 225.6 MB / 253.3 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.2471/0.2471, allocations: 44.9 MB / 353.5 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.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002037/0.002037, allocations: 67.89 kB / 497.7 MB, free: 0.9883 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4322/0.4342, allocations: 64.3 MB / 0.5489 GB, free: 13.13 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test4): time 0.003637/0.4379, allocations: 1.628 MB / 0.5504 GB, free: 11.86 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001021/0.4389, allocations: 437.6 kB / 0.5509 GB, free: 11.53 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.726e-05/0.439, allocations: 1.156 kB / 0.5509 GB, free: 11.53 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004247/0.4394, allocations: 92.89 kB / 0.5509 GB, free: 11.48 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003085/0.4397, allocations: 77.88 kB / 0.551 GB, free: 11.43 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003335/0.44, allocations: 94.5 kB / 0.5511 GB, free: 11.37 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002458/0.4403, allocations: 91.5 kB / 0.5512 GB, free: 11.32 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001501/0.4404, allocations: 21.17 kB / 0.5512 GB, free: 11.31 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.514e-05/0.4405, allocations: 38.94 kB / 0.5513 GB, free: 11.29 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000167/0.4407, allocations: 73.95 kB / 0.5513 GB, free: 11.25 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.548e-05/0.4407, allocations: 4.188 kB / 0.5513 GB, free: 11.25 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001315/0.4408, allocations: 45.45 kB / 0.5514 GB, free: 11.23 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.571e-05/0.4409, allocations: 26.33 kB / 0.5514 GB, free: 11.21 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.361e-05/0.441, allocations: 44.36 kB / 0.5514 GB, free: 11.18 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000292/0.4413, allocations: 114.6 kB / 0.5516 GB, free: 11.11 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.478e-06/0.4413, allocations: 4 kB / 0.5516 GB, free: 11.11 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.894e-06/0.4413, allocations: 1.344 kB / 0.5516 GB, free: 11.11 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.965e-06/0.4413, allocations: 0 / 0.5516 GB, free: 11.11 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0006534/0.442, allocations: 347.3 kB / 0.5519 GB, free: 10.77 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.919e-05/0.442, allocations: 12.47 kB / 0.5519 GB, free: 10.77 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.484e-05/0.4421, allocations: 15.31 kB / 0.5519 GB, free: 10.76 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002314/0.4423, allocations: 155.5 kB / 0.5521 GB, free: 10.59 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.712e-05/0.4423, allocations: 6.625 kB / 0.5521 GB, free: 10.59 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.607e-05/0.4423, allocations: 3.719 kB / 0.5521 GB, free: 10.59 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001996/0.4425, allocations: 74.58 kB / 0.5521 GB, free: 10.53 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.776e-05/0.4425, allocations: 7.969 kB / 0.5522 GB, free: 10.52 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.34e-05/0.4426, allocations: 5.094 kB / 0.5522 GB, free: 10.52 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.032e-06/0.4426, allocations: 1.062 kB / 0.5522 GB, free: 10.52 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001278/0.4427, allocations: 42.16 kB / 0.5522 GB, free: 10.5 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004954/0.4432, allocations: 294.4 kB / 0.5525 GB, free: 10.21 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001503/0.4433, allocations: 60.12 kB / 0.5525 GB, free: 10.16 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.481e-05/0.4434, allocations: 22.78 kB / 0.5526 GB, free: 10.15 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.496e-05/0.4434, allocations: 5.188 kB / 0.5526 GB, free: 10.14 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.859e-05/0.4435, allocations: 39.58 kB / 0.5526 GB, free: 10.1 MB / 398.1 MB Notification: Performance of pre-optimization done (n=7): time 1.062e-06/0.4435, allocations: 0 / 0.5526 GB, free: 10.1 MB / 398.1 MB Notification: Performance of matching and sorting (n=13): time 0.001168/0.4446, allocations: 298.4 kB / 0.5529 GB, free: 9.941 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.476e-05/0.4447, allocations: 61.81 kB / 0.5529 GB, free: 9.871 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004256/0.4451, allocations: 232.6 kB / 0.5532 GB, free: 9.715 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.256e-05/0.4452, allocations: 30.55 kB / 0.5532 GB, free: 9.68 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001298/0.4453, allocations: 114.8 kB / 0.5533 GB, free: 9.57 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.285e-05/0.4454, allocations: 44.22 kB / 0.5533 GB, free: 9.531 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.309e-05/0.4454, allocations: 31.36 kB / 0.5534 GB, free: 9.504 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002179/0.4456, allocations: 326.2 kB / 0.5537 GB, free: 9.18 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001199/0.4458, allocations: 36.17 kB / 0.5537 GB, free: 9.164 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001066/0.4459, allocations: 36.25 kB / 0.5538 GB, free: 9.148 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002358/0.4461, allocations: 86.45 kB / 0.5538 GB, free: 9.105 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-06/0.4461, allocations: 0 / 0.5538 GB, free: 9.105 MB / 398.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003583/0.4465, allocations: 139.1 kB / 0.554 GB, free: 9.023 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.246e-05/0.4465, allocations: 4.531 kB / 0.554 GB, free: 9.023 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.008e-05/0.4465, allocations: 1.25 kB / 0.554 GB, free: 9.023 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.347e-05/0.4465, allocations: 7.938 kB / 0.554 GB, free: 9.016 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001683/0.4467, allocations: 29.05 kB / 0.554 GB, free: 9.008 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.127e-05/0.4467, allocations: 1.094 kB / 0.554 GB, free: 9.008 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.633e-05/0.4468, allocations: 11.73 kB / 0.554 GB, free: 9 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.492e-05/0.4468, allocations: 6.25 kB / 0.554 GB, free: 8.996 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 (13): * Single equations (assignments): 13 * 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.0001991/0.447, allocations: 135.8 kB / 0.5542 GB, free: 8.867 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.881e-05/0.447, allocations: 13.72 kB / 0.5542 GB, free: 8.859 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004576/0.4475, allocations: 166.8 kB / 0.5543 GB, free: 8.75 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.705e-06/0.4475, allocations: 5.094 kB / 0.5543 GB, free: 8.746 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.901e-06/0.4475, allocations: 0 / 0.5543 GB, free: 8.746 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.034e-06/0.4475, allocations: 1.125 kB / 0.5543 GB, free: 8.746 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009785/0.4485, allocations: 442.9 kB / 0.5548 GB, free: 8.355 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.778e-06/0.4485, allocations: 1.156 kB / 0.5548 GB, free: 8.355 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001067/0.4486, allocations: 32.45 kB / 0.5548 GB, free: 8.344 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.897e-06/0.4486, allocations: 1.031 kB / 0.5548 GB, free: 8.344 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.465e-05/0.4486, allocations: 2.562 kB / 0.5548 GB, free: 8.344 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.495e-06/0.4486, allocations: 0 / 0.5548 GB, free: 8.344 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.4486, allocations: 1.5 kB / 0.5548 GB, free: 8.344 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004503/0.4491, allocations: 245.8 kB / 0.555 GB, free: 8.145 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.53e-05/0.4491, allocations: 16.25 kB / 0.555 GB, free: 8.133 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.314e-05/0.4491, allocations: 5.125 kB / 0.5551 GB, free: 8.129 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.411e-05/0.4492, allocations: 4.219 kB / 0.5551 GB, free: 8.129 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.119e-05/0.4493, allocations: 11.42 kB / 0.5551 GB, free: 8.121 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.45e-05/0.4493, allocations: 8.453 kB / 0.5551 GB, free: 8.117 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002177/0.4495, allocations: 173 kB / 0.5552 GB, free: 8.004 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4495, allocations: 3.938 kB / 0.5552 GB, free: 8 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002987/0.4498, allocations: 22.06 kB / 0.5553 GB, free: 7.996 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 (13): * Single equations (assignments): 13 * 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.001815/0.4516, allocations: 467.7 kB / 0.5557 GB, free: 7.77 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003368/0.452, allocations: 97.41 kB / 0.5558 GB, free: 7.73 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.836e-06/0.452, allocations: 1.094 kB / 0.5558 GB, free: 7.73 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001254/0.4521, allocations: 52.89 kB / 0.5559 GB, free: 7.707 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004133/0.4525, allocations: 23.41 kB / 0.5559 GB, free: 7.695 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006895/0.4532, allocations: 304.5 kB / 0.5562 GB, free: 7.473 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003673/0.4536, allocations: 0.7169 MB / 0.5569 GB, free: 6.758 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.008e-05/0.4536, allocations: 18.89 kB / 0.5569 GB, free: 6.75 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.718e-05/0.4537, allocations: 19.5 kB / 0.5569 GB, free: 6.738 MB / 398.1 MB Notification: Performance of SimCode: time 5.31e-07/0.4537, allocations: 0 / 0.5569 GB, free: 6.738 MB / 398.1 MB Notification: Performance of Templates: time 0.005193/0.4589, allocations: 1.592 MB / 0.5585 GB, free: 5.434 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test4/Test4.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4.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.487668936140835]