Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test8.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.Test8,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.Test8") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test8,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.Test8") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001428/0.001428, allocations: 121.6 kB / 17.79 MB, free: 5.258 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00137/0.00137, allocations: 204.7 kB / 18.73 MB, free: 4.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.352/1.352, allocations: 227.4 MB / 246.9 MB, free: 10.53 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2137/0.2137, allocations: 46.1 MB / 344.3 MB, free: 11.53 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001545/0.001545, allocations: 71.89 kB / 481.3 MB, free: 4.074 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3898/0.3913, allocations: 62.44 MB / 0.531 GB, free: 13.62 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test8): time 0.003038/0.3944, allocations: 1.604 MB / 0.5326 GB, free: 12.37 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00103/0.3955, allocations: 0.5336 MB / 0.5331 GB, free: 11.96 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.006e-05/0.3955, allocations: 3.938 kB / 0.5331 GB, free: 11.95 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002664/0.3958, allocations: 26.72 kB / 0.5331 GB, free: 11.93 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002893/0.3961, allocations: 80.44 kB / 0.5332 GB, free: 11.88 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003524/0.3965, allocations: 110 kB / 0.5333 GB, free: 11.8 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001652/0.3967, allocations: 57.97 kB / 0.5334 GB, free: 11.77 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001221/0.3968, allocations: 16.23 kB / 0.5334 GB, free: 11.77 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.574e-05/0.3969, allocations: 28.11 kB / 0.5334 GB, free: 11.75 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.982e-05/0.3969, allocations: 22.73 kB / 0.5334 GB, free: 11.73 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.556e-05/0.397, allocations: 2.75 kB / 0.5334 GB, free: 11.73 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.66e-05/0.3971, allocations: 36.61 kB / 0.5335 GB, free: 11.71 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.391e-05/0.3971, allocations: 12.05 kB / 0.5335 GB, free: 11.71 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.444e-05/0.3972, allocations: 29.3 kB / 0.5335 GB, free: 11.68 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001678/0.3974, allocations: 76.61 kB / 0.5336 GB, free: 11.64 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.3974, allocations: 0 / 0.5336 GB, free: 11.64 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.3974, allocations: 0 / 0.5336 GB, free: 11.64 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.303e-06/0.3974, allocations: 5.359 kB / 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.0004719/0.3979, allocations: 382.9 kB / 0.5339 GB, free: 11.24 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.335e-05/0.3979, allocations: 9.625 kB / 0.534 GB, free: 11.24 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.469e-05/0.398, allocations: 15.58 kB / 0.534 GB, free: 11.23 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002178/0.3982, allocations: 189.7 kB / 0.5341 GB, free: 11.01 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.309e-05/0.3982, allocations: 13.67 kB / 0.5342 GB, free: 11 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.516e-05/0.3983, allocations: 3.125 kB / 0.5342 GB, free: 11 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001578/0.3984, allocations: 59.3 kB / 0.5342 GB, free: 10.95 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.652e-05/0.3985, allocations: 1.375 kB / 0.5342 GB, free: 10.95 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.065e-05/0.3985, allocations: 0 / 0.5342 GB, free: 10.95 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.849e-06/0.3985, allocations: 5.375 kB / 0.5342 GB, free: 10.94 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.745e-05/0.3986, allocations: 21.73 kB / 0.5342 GB, free: 10.93 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004421/0.399, allocations: 284.1 kB / 0.5345 GB, free: 10.63 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002306/0.3993, allocations: 45.22 kB / 0.5346 GB, free: 10.59 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.677e-05/0.3993, allocations: 20.22 kB / 0.5346 GB, free: 10.58 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.419e-05/0.3994, allocations: 4 kB / 0.5346 GB, free: 10.57 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.763e-05/0.3994, allocations: 31.53 kB / 0.5346 GB, free: 10.54 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 1.222e-06/0.3994, allocations: 1.156 kB / 0.5346 GB, free: 10.54 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006478/0.4001, allocations: 158.5 kB / 0.5348 GB, free: 10.44 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.931e-05/0.4001, allocations: 52.78 kB / 0.5348 GB, free: 10.38 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001761/0.4003, allocations: 170 kB / 0.535 GB, free: 10.24 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.308e-05/0.4003, allocations: 25.7 kB / 0.535 GB, free: 10.21 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.329e-05/0.4004, allocations: 100.9 kB / 0.5351 GB, free: 10.11 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.259e-05/0.4004, allocations: 9.125 kB / 0.5351 GB, free: 10.11 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.823e-05/0.4005, allocations: 17.84 kB / 0.5351 GB, free: 10.09 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001151/0.4006, allocations: 321.4 kB / 0.5354 GB, free: 9.766 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.657e-05/0.4007, allocations: 20.11 kB / 0.5355 GB, free: 9.758 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.177e-05/0.4008, allocations: 29 kB / 0.5355 GB, free: 9.742 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000145/0.4009, allocations: 58.73 kB / 0.5355 GB, free: 9.707 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/0.4009, allocations: 1.188 kB / 0.5355 GB, free: 9.707 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002215/0.4012, allocations: 78.55 kB / 0.5356 GB, free: 9.656 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.371e-05/0.4012, allocations: 9.453 kB / 0.5356 GB, free: 9.652 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.833e-06/0.4012, allocations: 1.125 kB / 0.5356 GB, free: 9.652 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.578e-05/0.4012, allocations: 0 / 0.5356 GB, free: 9.652 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.603e-05/0.4013, allocations: 18.31 kB / 0.5356 GB, free: 9.645 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.793e-06/0.4013, allocations: 0 / 0.5356 GB, free: 9.645 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.515e-05/0.4014, allocations: 11.2 kB / 0.5356 GB, free: 9.637 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.103e-06/0.4014, allocations: 1.156 kB / 0.5357 GB, free: 9.637 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 9.753e-05/0.4015, allocations: 116.2 kB / 0.5358 GB, free: 9.52 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.717e-05/0.4015, allocations: 8.406 kB / 0.5358 GB, free: 9.516 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002891/0.4018, allocations: 105.1 kB / 0.5359 GB, free: 9.438 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.055e-06/0.4019, allocations: 4 kB / 0.5359 GB, free: 9.434 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.4019, allocations: 1.156 kB / 0.5359 GB, free: 9.434 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.119e-06/0.4019, allocations: 3.938 kB / 0.5359 GB, free: 9.43 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004689/0.4024, allocations: 352.1 kB / 0.5362 GB, free: 9.078 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/0.4024, allocations: 1.031 kB / 0.5362 GB, free: 9.078 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.165e-05/0.4024, allocations: 12.95 kB / 0.5362 GB, free: 9.074 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.796e-06/0.4024, allocations: 1.062 kB / 0.5362 GB, free: 9.074 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.236e-05/0.4025, allocations: 4.844 kB / 0.5362 GB, free: 9.07 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.684e-06/0.4025, allocations: 7.938 kB / 0.5362 GB, free: 9.062 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.4025, allocations: 1.281 kB / 0.5362 GB, free: 9.062 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002418/0.4027, allocations: 194.1 kB / 0.5364 GB, free: 8.891 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.877e-05/0.4028, allocations: 83.38 kB / 0.5365 GB, free: 8.793 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.026e-05/0.4028, allocations: 5.5 kB / 0.5365 GB, free: 8.789 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.615e-05/0.4029, allocations: 2.75 kB / 0.5365 GB, free: 8.789 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.103e-05/0.4029, allocations: 6.812 kB / 0.5365 GB, free: 8.785 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.1e-05/0.4029, allocations: 9.266 kB / 0.5365 GB, free: 8.777 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001036/0.403, allocations: 128.9 kB / 0.5367 GB, free: 8.68 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.4031, allocations: 0 / 0.5367 GB, free: 8.68 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002509/0.4033, allocations: 18.91 kB / 0.5367 GB, free: 8.672 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.0009077/0.4042, allocations: 399 kB / 0.5371 GB, free: 8.461 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002256/0.4045, allocations: 58.38 kB / 0.5371 GB, free: 8.434 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.4045, allocations: 0 / 0.5371 GB, free: 8.434 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.156e-05/0.4046, allocations: 32.75 kB / 0.5371 GB, free: 8.418 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003556/0.4049, allocations: 20.73 kB / 0.5372 GB, free: 8.41 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004611/0.4054, allocations: 193.2 kB / 0.5373 GB, free: 8.25 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002633/0.4057, allocations: 0.6966 MB / 0.538 GB, free: 7.543 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.106e-05/0.4057, allocations: 20.3 kB / 0.538 GB, free: 7.531 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.583e-05/0.4058, allocations: 15.86 kB / 0.5381 GB, free: 7.52 MB / 398.1 MB Notification: Performance of SimCode: time 2.41e-07/0.4058, allocations: 1.094 kB / 0.5381 GB, free: 7.52 MB / 398.1 MB Notification: Performance of Templates: time 0.004214/0.41, allocations: 1.14 MB / 0.5392 GB, free: 6.934 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test8.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test8.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test8.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test8.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test8.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test8 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test8.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test8_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test8/Test8.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test8.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches