Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Math.TestVectors.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.Math.TestVectors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Math.TestVectors") translateModel(ModelicaTest.Math.TestVectors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Math.TestVectors") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001806/0.001806, allocations: 117.7 kB / 18.46 MB, free: 4.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002289/0.002289, allocations: 204.8 kB / 19.4 MB, free: 3.645 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.479/1.479, allocations: 227.4 MB / 247.6 MB, free: 10.47 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2552/0.2552, allocations: 46.1 MB / 344.9 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001342/0.001342, allocations: 71.88 kB / 482 MB, free: 4.086 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4508/0.4521, allocations: 62.44 MB / 0.5316 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestVectors): time 0.001704/0.4539, allocations: 0.489 MB / 0.5321 GB, free: 13.24 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001465/0.4554, allocations: 0.7613 MB / 0.5329 GB, free: 12.66 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.682e-05/0.4554, allocations: 0 / 0.5329 GB, free: 12.66 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.508e-05/0.4554, allocations: 0.875 kB / 0.5329 GB, free: 12.66 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 6.432e-06/0.4554, allocations: 0 / 0.5329 GB, free: 12.66 MB / 398.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/Math.mo:612:3-661:14:writable] Warning: Pure function 'ModelicaTest.Math.Vectors' contains a call to impure function 'Modelica.Utilities.Streams.print'. Notification: Performance of NFTyping.typeClassSections: time 0.001886/0.4573, allocations: 0.6605 MB / 0.5335 GB, free: 12.21 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 4.549e-05/0.4574, allocations: 1.688 kB / 0.5335 GB, free: 12.21 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.102e-05/0.4574, allocations: 1.281 kB / 0.5335 GB, free: 12.21 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.75e-05/0.4575, allocations: 9.297 kB / 0.5335 GB, free: 12.21 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.64e-05/0.4575, allocations: 0 / 0.5335 GB, free: 12.21 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.74e-06/0.4575, allocations: 0 / 0.5335 GB, free: 12.21 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006689/0.4582, allocations: 388.2 kB / 0.5339 GB, free: 12 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.983e-06/0.4582, allocations: 0 / 0.5339 GB, free: 12 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.363e-05/0.4582, allocations: 5.359 kB / 0.5339 GB, free: 12 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004751/0.4587, allocations: 349 kB / 0.5342 GB, free: 11.8 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.4587, allocations: 0 / 0.5342 GB, free: 11.8 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.4587, allocations: 0 / 0.5342 GB, free: 11.8 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.142e-06/0.4587, allocations: 0 / 0.5342 GB, free: 11.8 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0004162/0.4591, allocations: 385.8 kB / 0.5346 GB, free: 11.38 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.799e-05/0.4592, allocations: 9.625 kB / 0.5346 GB, free: 11.38 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.972e-05/0.4592, allocations: 0.9375 kB / 0.5346 GB, free: 11.38 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001053/0.4593, allocations: 168.4 kB / 0.5348 GB, free: 11.18 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.012e-05/0.4594, allocations: 5.688 kB / 0.5348 GB, free: 11.18 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.085e-05/0.4594, allocations: 5.688 kB / 0.5348 GB, free: 11.17 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.366e-05/0.4595, allocations: 27.64 kB / 0.5348 GB, free: 11.14 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.404e-06/0.4595, allocations: 192 / 0.5348 GB, free: 11.14 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.839e-06/0.4595, allocations: 5.312 kB / 0.5348 GB, free: 11.14 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.368e-06/0.4595, allocations: 4 kB / 0.5348 GB, free: 11.13 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.724e-05/0.4595, allocations: 1.375 kB / 0.5348 GB, free: 11.13 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001418/0.4597, allocations: 143.1 kB / 0.5349 GB, free: 10.95 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.338e-05/0.4597, allocations: 23.94 kB / 0.535 GB, free: 10.91 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.422e-05/0.4597, allocations: 10.17 kB / 0.535 GB, free: 10.9 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.913e-06/0.4598, allocations: 1.375 kB / 0.535 GB, free: 10.9 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.225e-05/0.4598, allocations: 65.58 kB / 0.535 GB, free: 10.82 MB / 398.1 MB Notification: Performance of pre-optimization done (n=1): time 1.022e-06/0.4598, allocations: 0 / 0.535 GB, free: 10.82 MB / 398.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001735/0.46, allocations: 62.22 kB / 0.5351 GB, free: 10.76 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.654e-05/0.46, allocations: 82.47 kB / 0.5352 GB, free: 10.66 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.184e-05/0.4601, allocations: 93.86 kB / 0.5353 GB, free: 10.56 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.935e-05/0.4601, allocations: 25.7 kB / 0.5353 GB, free: 10.53 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.981e-05/0.4602, allocations: 81.52 kB / 0.5354 GB, free: 10.45 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.032e-05/0.4602, allocations: 0 / 0.5354 GB, free: 10.45 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.699e-05/0.4602, allocations: 12.47 kB / 0.5354 GB, free: 10.43 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001093/0.4603, allocations: 315 kB / 0.5357 GB, free: 10.11 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.175e-05/0.4603, allocations: 5.312 kB / 0.5357 GB, free: 10.11 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.133e-06/0.4604, allocations: 5.375 kB / 0.5357 GB, free: 10.11 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.367e-05/0.4604, allocations: 63.02 kB / 0.5358 GB, free: 10.03 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.268e-06/0.4604, allocations: 3.984 kB / 0.5358 GB, free: 10.03 MB / 398.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.41e-05/0.4605, allocations: 58.28 kB / 0.5358 GB, free: 9.965 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.95e-05/0.4605, allocations: 31.2 kB / 0.5358 GB, free: 9.934 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.248e-06/0.4605, allocations: 96 / 0.5358 GB, free: 9.934 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.71e-05/0.4606, allocations: 9.312 kB / 0.5359 GB, free: 9.926 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.22e-07/0.4606, allocations: 0 / 0.5359 GB, free: 9.926 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.019e-06/0.4606, allocations: 0 / 0.5359 GB, free: 9.926 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.697e-05/0.4606, allocations: 1.375 kB / 0.5359 GB, free: 9.926 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.782e-06/0.4606, allocations: 0 / 0.5359 GB, free: 9.926 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: 1 (result) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.184e-05/0.4607, allocations: 146.2 kB / 0.536 GB, free: 9.77 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.747e-06/0.4607, allocations: 1.375 kB / 0.536 GB, free: 9.77 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.628e-06/0.4607, allocations: 7.062 kB / 0.536 GB, free: 9.766 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.253e-06/0.4607, allocations: 4 kB / 0.536 GB, free: 9.762 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.347e-06/0.4607, allocations: 1.375 kB / 0.536 GB, free: 9.762 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.294e-06/0.4608, allocations: 0 / 0.536 GB, free: 9.762 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001056/0.4609, allocations: 151 kB / 0.5362 GB, free: 9.566 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.42e-07/0.4609, allocations: 0 / 0.5362 GB, free: 9.566 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.51e-07/0.4609, allocations: 1.375 kB / 0.5362 GB, free: 9.566 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.463e-06/0.4609, allocations: 3.938 kB / 0.5362 GB, free: 9.562 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.001e-05/0.4609, allocations: 5.312 kB / 0.5362 GB, free: 9.559 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/0.4609, allocations: 0 / 0.5362 GB, free: 9.559 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.4609, allocations: 0 / 0.5362 GB, free: 9.559 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.727e-05/0.461, allocations: 101.7 kB / 0.5363 GB, free: 9.445 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.186e-05/0.4611, allocations: 81.05 kB / 0.5363 GB, free: 9.348 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.331e-05/0.4611, allocations: 5.312 kB / 0.5363 GB, free: 9.344 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.457e-06/0.4611, allocations: 1.375 kB / 0.5363 GB, free: 9.344 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.544e-05/0.4611, allocations: 0 / 0.5363 GB, free: 9.344 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.98e-06/0.4611, allocations: 1.375 kB / 0.5363 GB, free: 9.344 MB / 398.1 MB Notification: Performance of sorting global known variables: time 2.861e-05/0.4612, allocations: 79.22 kB / 0.5364 GB, free: 9.266 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4612, allocations: 0 / 0.5364 GB, free: 9.266 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003629/0.4615, allocations: 87.14 kB / 0.5365 GB, free: 9.238 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: 1 (result) * Number of discrete states: 1 (result) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.0005388/0.4621, allocations: 225.2 kB / 0.5367 GB, free: 9.086 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001021/0.4622, allocations: 61.62 kB / 0.5368 GB, free: 9.02 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.4622, allocations: 0 / 0.5368 GB, free: 9.02 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 3.12e-05/0.4622, allocations: 54.03 kB / 0.5368 GB, free: 8.957 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001242/0.4624, allocations: 2.25 kB / 0.5368 GB, free: 8.957 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002013/0.4626, allocations: 110.9 kB / 0.5369 GB, free: 8.824 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002562/0.4628, allocations: 0.6701 MB / 0.5376 GB, free: 8.129 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.106e-05/0.4629, allocations: 8.625 kB / 0.5376 GB, free: 8.121 MB / 398.1 MB Notification: Performance of SimCode: time 4.81e-07/0.4629, allocations: 0 / 0.5376 GB, free: 8.121 MB / 398.1 MB Notification: Performance of Templates: time 0.004309/0.4672, allocations: 1.779 MB / 0.5393 GB, free: 7.227 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Math.TestVectors.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Math.TestVectors.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Math.TestVectors.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Math.TestVectors.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Math.TestVectors.sim & ./ModelicaTest_trunk_ModelicaTest.Math.TestVectors -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Math.TestVectors.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Math.TestVectors_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Math/TestVectors/TestVectors.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Math.TestVectors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches