Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test29.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.CombiTable1Ds.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d_t_new2.y|clock.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test29") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d_t_new2.y|clock.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test29") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001403/0.001403, allocations: 114.2 kB / 17.78 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001927/0.001927, allocations: 205.2 kB / 18.74 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.516/1.516, allocations: 227.4 MB / 246.9 MB, free: 10.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2501/0.2501, allocations: 46.11 MB / 344.3 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001421/0.001421, allocations: 76.09 kB / 481.3 MB, free: 4.051 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4401/0.4416, allocations: 62.44 MB / 0.531 GB, free: 13.6 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test29): time 0.003215/0.4448, allocations: 1.647 MB / 0.5326 GB, free: 12.32 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001067/0.4459, allocations: 0.5457 MB / 0.5332 GB, free: 11.89 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.682e-05/0.446, allocations: 1.844 kB / 0.5332 GB, free: 11.89 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002902/0.4463, allocations: 36.73 kB / 0.5332 GB, free: 11.87 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003039/0.4466, allocations: 78.66 kB / 0.5333 GB, free: 11.82 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003012/0.4469, allocations: 98.44 kB / 0.5334 GB, free: 11.75 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001971/0.4472, allocations: 87.56 kB / 0.5335 GB, free: 11.7 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001366/0.4473, allocations: 26.98 kB / 0.5335 GB, free: 11.68 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.35e-05/0.4474, allocations: 32.23 kB / 0.5335 GB, free: 11.66 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001181/0.4475, allocations: 40.14 kB / 0.5335 GB, free: 11.64 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.92e-05/0.4475, allocations: 5.5 kB / 0.5336 GB, free: 11.64 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000104/0.4476, allocations: 42.23 kB / 0.5336 GB, free: 11.62 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.198e-05/0.4477, allocations: 29.41 kB / 0.5336 GB, free: 11.6 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.82e-05/0.4477, allocations: 30.62 kB / 0.5337 GB, free: 11.58 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002095/0.448, allocations: 109.2 kB / 0.5338 GB, free: 11.51 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.448, allocations: 0 / 0.5338 GB, free: 11.51 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.448, allocations: 0 / 0.5338 GB, free: 11.51 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.332e-06/0.448, allocations: 0 / 0.5338 GB, free: 11.51 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.0005578/0.4486, allocations: 422.1 kB / 0.5342 GB, free: 11.08 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.829e-05/0.4486, allocations: 10.52 kB / 0.5342 GB, free: 11.08 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.807e-05/0.4486, allocations: 14.34 kB / 0.5342 GB, free: 11.07 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002199/0.4489, allocations: 199.2 kB / 0.5344 GB, free: 10.85 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.193e-05/0.4489, allocations: 1.75 kB / 0.5344 GB, free: 10.85 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.91e-05/0.4489, allocations: 8.5 kB / 0.5344 GB, free: 10.84 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001791/0.4491, allocations: 69.03 kB / 0.5344 GB, free: 10.79 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.422e-05/0.4491, allocations: 1.375 kB / 0.5344 GB, free: 10.79 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.553e-05/0.4492, allocations: 5.375 kB / 0.5345 GB, free: 10.79 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.857e-06/0.4492, allocations: 1.375 kB / 0.5345 GB, free: 10.79 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001236/0.4493, allocations: 41.91 kB / 0.5345 GB, free: 10.77 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004542/0.4498, allocations: 323.1 kB / 0.5348 GB, free: 10.43 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001423/0.4499, allocations: 62 kB / 0.5349 GB, free: 10.39 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.929e-05/0.45, allocations: 27.78 kB / 0.5349 GB, free: 10.37 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.767e-05/0.45, allocations: 1.375 kB / 0.5349 GB, free: 10.37 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.821e-05/0.4501, allocations: 35.94 kB / 0.5349 GB, free: 10.33 MB / 398.1 MB Notification: Performance of pre-optimization done (n=7): time 2.655e-06/0.4501, allocations: 4.109 kB / 0.5349 GB, free: 10.32 MB / 398.1 MB Notification: Performance of matching and sorting (n=13): time 0.001165/0.4512, allocations: 306 kB / 0.5352 GB, free: 10.16 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.328e-05/0.4513, allocations: 52.78 kB / 0.5353 GB, free: 10.1 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002209/0.4515, allocations: 166.3 kB / 0.5354 GB, free: 9.969 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.242e-05/0.4516, allocations: 25.7 kB / 0.5355 GB, free: 9.938 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.128e-05/0.4516, allocations: 108.5 kB / 0.5356 GB, free: 9.832 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.783e-05/0.4517, allocations: 45.25 kB / 0.5356 GB, free: 9.793 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.519e-05/0.4518, allocations: 26.66 kB / 0.5356 GB, free: 9.77 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001351/0.4519, allocations: 322.2 kB / 0.5359 GB, free: 9.449 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.58e-05/0.452, allocations: 39.44 kB / 0.536 GB, free: 9.43 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.929e-05/0.4521, allocations: 36.11 kB / 0.536 GB, free: 9.414 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002019/0.4523, allocations: 93.64 kB / 0.5361 GB, free: 9.367 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.81e-07/0.4523, allocations: 0 / 0.5361 GB, free: 9.367 MB / 398.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002869/0.4526, allocations: 133.7 kB / 0.5362 GB, free: 9.289 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.957e-05/0.4526, allocations: 11.88 kB / 0.5362 GB, free: 9.285 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.969e-06/0.4526, allocations: 0 / 0.5362 GB, free: 9.285 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.514e-05/0.4527, allocations: 1.094 kB / 0.5362 GB, free: 9.285 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001431/0.4528, allocations: 28.67 kB / 0.5363 GB, free: 9.277 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.931e-06/0.4528, allocations: 5.156 kB / 0.5363 GB, free: 9.273 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.25e-05/0.4529, allocations: 3.062 kB / 0.5363 GB, free: 9.273 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.191e-05/0.4529, allocations: 3.125 kB / 0.5363 GB, free: 9.273 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.0001012/0.453, allocations: 125.7 kB / 0.5364 GB, free: 9.148 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.82e-05/0.4531, allocations: 16.06 kB / 0.5364 GB, free: 9.137 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003676/0.4534, allocations: 165.6 kB / 0.5366 GB, free: 9.035 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.308e-06/0.4534, allocations: 5.219 kB / 0.5366 GB, free: 9.031 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.64e-06/0.4535, allocations: 0 / 0.5366 GB, free: 9.031 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.23e-06/0.4535, allocations: 0.9688 kB / 0.5366 GB, free: 9.031 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006367/0.4541, allocations: 472.2 kB / 0.537 GB, free: 8.602 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.844e-06/0.4541, allocations: 0 / 0.537 GB, free: 8.602 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.706e-05/0.4542, allocations: 28.98 kB / 0.5371 GB, free: 8.594 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.859e-06/0.4542, allocations: 5.094 kB / 0.5371 GB, free: 8.59 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.455e-05/0.4543, allocations: 10.86 kB / 0.5371 GB, free: 8.582 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.804e-06/0.4543, allocations: 0 / 0.5371 GB, free: 8.582 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.4543, allocations: 1.406 kB / 0.5371 GB, free: 8.582 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002995/0.4546, allocations: 229.6 kB / 0.5373 GB, free: 8.398 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.657e-05/0.4546, allocations: 87.73 kB / 0.5374 GB, free: 8.297 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.237e-05/0.4547, allocations: 9.391 kB / 0.5374 GB, free: 8.289 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.168e-05/0.4547, allocations: 8.188 kB / 0.5374 GB, free: 8.285 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.378e-05/0.4548, allocations: 8.516 kB / 0.5374 GB, free: 8.281 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.538e-06/0.4548, allocations: 7.125 kB / 0.5374 GB, free: 8.277 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001091/0.4549, allocations: 131.6 kB / 0.5375 GB, free: 8.176 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.4549, allocations: 1.094 kB / 0.5375 GB, free: 8.176 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000264/0.4552, allocations: 24.94 kB / 0.5376 GB, free: 8.168 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.001069/0.4563, allocations: 460.9 kB / 0.538 GB, free: 7.93 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003328/0.4566, allocations: 105.7 kB / 0.5381 GB, free: 7.883 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.4566, allocations: 0 / 0.5381 GB, free: 7.883 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001247/0.4568, allocations: 52.45 kB / 0.5381 GB, free: 7.863 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00039/0.4572, allocations: 30.22 kB / 0.5382 GB, free: 7.848 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005423/0.4577, allocations: 242 kB / 0.5384 GB, free: 7.656 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000288/0.458, allocations: 0.7067 MB / 0.5391 GB, free: 6.945 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.798e-05/0.4581, allocations: 19.3 kB / 0.5391 GB, free: 6.934 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.202e-05/0.4581, allocations: 23.95 kB / 0.5391 GB, free: 6.922 MB / 398.1 MB Notification: Performance of SimCode: time 2.3e-07/0.4581, allocations: 1.125 kB / 0.5391 GB, free: 6.922 MB / 398.1 MB Notification: Performance of Templates: time 0.005009/0.4632, allocations: 1.523 MB / 0.5406 GB, free: 6.148 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test29.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test29.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test29.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test29.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test29.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test29 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test29.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test29_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test29/Test29.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test29.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches