Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test12.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable1Dv.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test12") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test12") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001542/0.001543, allocations: 117.8 kB / 17.79 MB, free: 5.305 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002078/0.002078, allocations: 199.8 kB / 18.73 MB, free: 4.363 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.442/1.442, allocations: 227.4 MB / 246.9 MB, free: 10.52 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2292/0.2292, allocations: 46.09 MB / 344.3 MB, free: 11.53 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002187/0.002187, allocations: 75.88 kB / 481.3 MB, free: 4.094 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4549/0.4571, allocations: 62.44 MB / 0.531 GB, free: 13.64 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test12): time 0.002968/0.4601, allocations: 1.601 MB / 0.5326 GB, free: 12.39 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009923/0.4611, allocations: 0.5436 MB / 0.5331 GB, free: 11.97 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.089e-05/0.4612, allocations: 3.938 kB / 0.5331 GB, free: 11.96 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002194/0.4614, allocations: 26.91 kB / 0.5331 GB, free: 11.95 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002661/0.4617, allocations: 77.16 kB / 0.5332 GB, free: 11.89 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000294/0.462, allocations: 111.4 kB / 0.5333 GB, free: 11.82 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001446/0.4621, allocations: 65.67 kB / 0.5334 GB, free: 11.78 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001042/0.4623, allocations: 15.45 kB / 0.5334 GB, free: 11.77 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.266e-05/0.4623, allocations: 24.14 kB / 0.5334 GB, free: 11.76 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.148e-05/0.4624, allocations: 18.56 kB / 0.5334 GB, free: 11.75 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.502e-05/0.4624, allocations: 3.281 kB / 0.5334 GB, free: 11.75 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.001e-05/0.4625, allocations: 40.12 kB / 0.5335 GB, free: 11.73 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.025e-05/0.4625, allocations: 17.77 kB / 0.5335 GB, free: 11.71 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.664e-05/0.4626, allocations: 28.59 kB / 0.5335 GB, free: 11.69 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001552/0.4628, allocations: 85.86 kB / 0.5336 GB, free: 11.64 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.282e-06/0.4628, allocations: 0 / 0.5336 GB, free: 11.64 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.4628, allocations: 5.062 kB / 0.5336 GB, free: 11.63 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.601e-06/0.4628, allocations: 0 / 0.5336 GB, free: 11.63 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004696/0.4633, allocations: 388.9 kB / 0.534 GB, free: 11.23 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.321e-05/0.4633, allocations: 8.844 kB / 0.534 GB, free: 11.23 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.925e-05/0.4633, allocations: 8.438 kB / 0.534 GB, free: 11.23 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001822/0.4635, allocations: 202.4 kB / 0.5342 GB, free: 11.01 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.018e-05/0.4636, allocations: 5.531 kB / 0.5342 GB, free: 11 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.247e-05/0.4636, allocations: 5.406 kB / 0.5342 GB, free: 11 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001463/0.4637, allocations: 49.78 kB / 0.5342 GB, free: 10.96 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.698e-06/0.4638, allocations: 0 / 0.5342 GB, free: 10.96 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.09e-05/0.4638, allocations: 4 kB / 0.5342 GB, free: 10.95 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.439e-06/0.4638, allocations: 1.719 kB / 0.5342 GB, free: 10.95 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.445e-05/0.4639, allocations: 24.75 kB / 0.5343 GB, free: 10.94 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003923/0.4643, allocations: 285.7 kB / 0.5345 GB, free: 10.64 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002009/0.4645, allocations: 48.11 kB / 0.5346 GB, free: 10.6 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.404e-05/0.4646, allocations: 16.17 kB / 0.5346 GB, free: 10.59 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.208e-05/0.4646, allocations: 1.25 kB / 0.5346 GB, free: 10.59 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.526e-05/0.4646, allocations: 35.95 kB / 0.5346 GB, free: 10.54 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 1.283e-06/0.4646, allocations: 0 / 0.5346 GB, free: 10.54 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005667/0.4652, allocations: 162.5 kB / 0.5348 GB, free: 10.44 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.643e-05/0.4652, allocations: 52.78 kB / 0.5348 GB, free: 10.38 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001732/0.4654, allocations: 175.9 kB / 0.535 GB, free: 10.24 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.37e-05/0.4654, allocations: 25.7 kB / 0.535 GB, free: 10.21 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.519e-05/0.4655, allocations: 104.2 kB / 0.5351 GB, free: 10.11 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.461e-05/0.4655, allocations: 14.56 kB / 0.5351 GB, free: 10.09 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.744e-05/0.4656, allocations: 21.78 kB / 0.5352 GB, free: 10.07 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001191/0.4657, allocations: 321.6 kB / 0.5355 GB, free: 9.75 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.354e-05/0.4658, allocations: 20.36 kB / 0.5355 GB, free: 9.742 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.211e-05/0.4659, allocations: 20.36 kB / 0.5355 GB, free: 9.734 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001533/0.466, allocations: 59.06 kB / 0.5356 GB, free: 9.699 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.41e-07/0.466, allocations: 0 / 0.5356 GB, free: 9.699 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001882/0.4662, allocations: 91.95 kB / 0.5357 GB, free: 9.637 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.451e-05/0.4662, allocations: 5.5 kB / 0.5357 GB, free: 9.637 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.4663, allocations: 0 / 0.5357 GB, free: 9.637 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.595e-05/0.4663, allocations: 5.359 kB / 0.5357 GB, free: 9.633 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.159e-05/0.4663, allocations: 9.625 kB / 0.5357 GB, free: 9.633 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.378e-06/0.4664, allocations: 0 / 0.5357 GB, free: 9.633 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.884e-05/0.4664, allocations: 15.98 kB / 0.5357 GB, free: 9.621 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.522e-06/0.4664, allocations: 1.375 kB / 0.5357 GB, free: 9.621 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 (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 0.0001012/0.4665, allocations: 124.7 kB / 0.5358 GB, free: 9.496 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.297e-05/0.4666, allocations: 8.031 kB / 0.5358 GB, free: 9.492 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002457/0.4668, allocations: 101.5 kB / 0.5359 GB, free: 9.422 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.505e-06/0.4668, allocations: 0 / 0.5359 GB, free: 9.422 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.087e-06/0.4668, allocations: 1.062 kB / 0.5359 GB, free: 9.422 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.821e-06/0.4668, allocations: 3.938 kB / 0.5359 GB, free: 9.418 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004408/0.4673, allocations: 361.8 kB / 0.5363 GB, free: 9.059 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.4673, allocations: 0 / 0.5363 GB, free: 9.059 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.603e-05/0.4674, allocations: 13.59 kB / 0.5363 GB, free: 9.055 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.835e-06/0.4674, allocations: 1.156 kB / 0.5363 GB, free: 9.055 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.07e-05/0.4674, allocations: 5 kB / 0.5363 GB, free: 9.051 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.4674, allocations: 0 / 0.5363 GB, free: 9.051 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.096e-06/0.4674, allocations: 3.984 kB / 0.5363 GB, free: 9.047 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002547/0.4677, allocations: 187.8 kB / 0.5365 GB, free: 8.883 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.307e-05/0.4677, allocations: 87.69 kB / 0.5366 GB, free: 8.781 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.101e-05/0.4678, allocations: 8 kB / 0.5366 GB, free: 8.773 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.805e-05/0.4678, allocations: 3.531 kB / 0.5366 GB, free: 8.773 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.156e-05/0.4679, allocations: 6.391 kB / 0.5366 GB, free: 8.77 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.09e-06/0.4679, allocations: 5.031 kB / 0.5366 GB, free: 8.766 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001084/0.468, allocations: 136.4 kB / 0.5367 GB, free: 8.668 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.468, allocations: 0 / 0.5367 GB, free: 8.668 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002474/0.4683, allocations: 18.56 kB / 0.5367 GB, free: 8.66 MB / 398.1 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.0009174/0.4692, allocations: 403 kB / 0.5371 GB, free: 8.445 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002083/0.4694, allocations: 50.39 kB / 0.5372 GB, free: 8.426 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/0.4694, allocations: 4 kB / 0.5372 GB, free: 8.422 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.999e-05/0.4695, allocations: 28.77 kB / 0.5372 GB, free: 8.41 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000345/0.4699, allocations: 21.17 kB / 0.5372 GB, free: 8.402 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004574/0.4703, allocations: 203.1 kB / 0.5374 GB, free: 8.242 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002767/0.4706, allocations: 0.6984 MB / 0.5381 GB, free: 7.535 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.347e-05/0.4707, allocations: 19.78 kB / 0.5381 GB, free: 7.523 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.294e-05/0.4707, allocations: 11.91 kB / 0.5381 GB, free: 7.516 MB / 398.1 MB Notification: Performance of SimCode: time 2.1e-07/0.4707, allocations: 1.125 kB / 0.5381 GB, free: 7.516 MB / 398.1 MB Notification: Performance of Templates: time 0.003791/0.4745, allocations: 1.152 MB / 0.5392 GB, free: 6.918 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test12.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test12.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test12.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test12.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test12.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test12 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test12.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test12_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test12/Test12.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test12.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches