Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Sensors.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.Magnetic.FluxTubes.Sensors,tolerance=1e-05,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|magneticPotentialDifferenceSensor.Phi|magneticFluxSensor.Phi|magneticPotentialDifferenceSensor.V_m",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Sensors") translateModel(ModelicaTest.Magnetic.FluxTubes.Sensors,tolerance=1e-05,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|magneticPotentialDifferenceSensor.Phi|magneticFluxSensor.Phi|magneticPotentialDifferenceSensor.V_m",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Sensors") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00157/0.00157, allocations: 118.2 kB / 17.79 MB, free: 5.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002171/0.002172, allocations: 202 kB / 18.74 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.495/1.495, 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.2496/0.2496, allocations: 46.11 MB / 344.3 MB, free: 11.53 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001364/0.001364, allocations: 71.89 kB / 481.3 MB, free: 4.121 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4554/0.4568, allocations: 62.44 MB / 0.531 GB, free: 13.62 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Sensors): time 0.003171/0.46, allocations: 1.929 MB / 0.5329 GB, free: 12.13 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001002/0.461, allocations: 0.593 MB / 0.5334 GB, free: 11.65 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.122e-05/0.4612, allocations: 2.5 kB / 0.5334 GB, free: 11.65 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001954/0.4614, allocations: 48.48 kB / 0.5335 GB, free: 11.61 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001226/0.4615, allocations: 34.64 kB / 0.5335 GB, free: 11.59 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001942/0.4617, allocations: 44.52 kB / 0.5336 GB, free: 11.55 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002208/0.4619, allocations: 155.4 kB / 0.5337 GB, free: 11.46 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001772/0.4621, allocations: 59.95 kB / 0.5338 GB, free: 11.42 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001177/0.4622, allocations: 57.47 kB / 0.5338 GB, free: 11.39 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001087/0.4624, allocations: 64.08 kB / 0.5339 GB, free: 11.34 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.424e-05/0.4624, allocations: 12.81 kB / 0.5339 GB, free: 11.34 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.176e-05/0.4624, allocations: 18.34 kB / 0.5339 GB, free: 11.34 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 3.607e-05/0.4625, allocations: 26.67 kB / 0.5339 GB, free: 11.31 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 9.663e-05/0.4626, allocations: 72.28 kB / 0.534 GB, free: 11.26 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002348/0.4628, allocations: 159.6 kB / 0.5342 GB, free: 11.14 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.915e-06/0.4628, allocations: 0 / 0.5342 GB, free: 11.14 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.144e-06/0.4628, allocations: 3.938 kB / 0.5342 GB, free: 11.14 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.903e-06/0.4628, allocations: 0 / 0.5342 GB, free: 11.14 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: 33 * Number of variables: 33 Notification: Performance of Generate backend data structure: time 0.0007065/0.4636, allocations: 456.6 kB / 0.5346 GB, free: 10.7 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.527e-05/0.4636, allocations: 8.25 kB / 0.5346 GB, free: 10.7 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.645e-05/0.4637, allocations: 17.09 kB / 0.5346 GB, free: 10.69 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002836/0.464, allocations: 201.8 kB / 0.5348 GB, free: 10.46 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.617e-05/0.464, allocations: 14.14 kB / 0.5348 GB, free: 10.45 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.128e-05/0.464, allocations: 14 kB / 0.5348 GB, free: 10.45 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003344/0.4644, allocations: 151.7 kB / 0.535 GB, free: 10.35 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.527e-06/0.4644, allocations: 0 / 0.535 GB, free: 10.35 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.058e-05/0.4644, allocations: 5.375 kB / 0.535 GB, free: 10.34 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.367e-06/0.4644, allocations: 8.125 kB / 0.535 GB, free: 10.34 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003136/0.4647, allocations: 101.2 kB / 0.5351 GB, free: 10.3 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001089/0.4658, allocations: 0.6079 MB / 0.5357 GB, free: 9.727 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002489/0.4661, allocations: 70.73 kB / 0.5358 GB, free: 9.68 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001036/0.4662, allocations: 26.61 kB / 0.5358 GB, free: 9.664 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.769e-05/0.4662, allocations: 1.281 kB / 0.5358 GB, free: 9.664 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.448e-05/0.4663, allocations: 40.17 kB / 0.5358 GB, free: 9.617 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.022e-06/0.4663, allocations: 0 / 0.5358 GB, free: 9.617 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004103/0.4667, allocations: 110.8 kB / 0.5359 GB, free: 9.547 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.102e-05/0.4668, allocations: 52.25 kB / 0.536 GB, free: 9.484 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001462/0.4669, allocations: 164 kB / 0.5361 GB, free: 9.34 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.507e-05/0.4669, allocations: 25.7 kB / 0.5362 GB, free: 9.309 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.601e-05/0.467, allocations: 131.2 kB / 0.5363 GB, free: 9.184 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.52e-05/0.467, allocations: 19.17 kB / 0.5363 GB, free: 9.168 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.806e-05/0.4671, allocations: 28.95 kB / 0.5363 GB, free: 9.141 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001197/0.4672, allocations: 325.4 kB / 0.5366 GB, free: 8.816 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001053/0.4673, allocations: 27.47 kB / 0.5367 GB, free: 8.805 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000122/0.4675, allocations: 59.34 kB / 0.5367 GB, free: 8.75 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002276/0.4677, allocations: 95.22 kB / 0.5368 GB, free: 8.676 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.4677, allocations: 1.125 kB / 0.5368 GB, free: 8.676 MB / 398.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002864/0.468, allocations: 126.4 kB / 0.5369 GB, free: 8.598 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.478e-05/0.468, allocations: 9.719 kB / 0.5369 GB, free: 8.594 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.242e-06/0.468, allocations: 2.656 kB / 0.5369 GB, free: 8.594 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.932e-05/0.4681, allocations: 1.094 kB / 0.5369 GB, free: 8.594 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001285/0.4682, allocations: 36.05 kB / 0.537 GB, free: 8.578 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.446e-06/0.4682, allocations: 2.094 kB / 0.537 GB, free: 8.578 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.533e-05/0.4683, allocations: 25.59 kB / 0.537 GB, free: 8.559 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.849e-06/0.4683, allocations: 4.562 kB / 0.537 GB, free: 8.559 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (11): * Single equations (assignments): 11 * 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.0001036/0.4684, allocations: 123.5 kB / 0.5371 GB, free: 8.434 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.859e-05/0.4685, allocations: 11.36 kB / 0.5371 GB, free: 8.426 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.504e-05/0.4685, allocations: 14.67 kB / 0.5372 GB, free: 8.41 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.306e-06/0.4685, allocations: 4.969 kB / 0.5372 GB, free: 8.406 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/0.4685, allocations: 1.031 kB / 0.5372 GB, free: 8.406 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.284e-06/0.4685, allocations: 0 / 0.5372 GB, free: 8.406 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002164/0.4688, allocations: 203 kB / 0.5374 GB, free: 8.184 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.4688, allocations: 0 / 0.5374 GB, free: 8.184 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.731e-05/0.4689, allocations: 15.52 kB / 0.5374 GB, free: 8.18 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.797e-06/0.4689, allocations: 5.078 kB / 0.5374 GB, free: 8.176 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.019e-05/0.4689, allocations: 5.188 kB / 0.5374 GB, free: 8.172 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.875e-06/0.4689, allocations: 7.875 kB / 0.5374 GB, free: 8.164 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.4689, allocations: 0 / 0.5374 GB, free: 8.164 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002855/0.4692, allocations: 179.2 kB / 0.5376 GB, free: 8.008 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.353e-05/0.4693, allocations: 91.19 kB / 0.5376 GB, free: 7.902 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.841e-05/0.4693, allocations: 1.25 kB / 0.5376 GB, free: 7.902 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.691e-05/0.4694, allocations: 15.45 kB / 0.5377 GB, free: 7.891 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.435e-05/0.4694, allocations: 6.125 kB / 0.5377 GB, free: 7.887 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.232e-06/0.4695, allocations: 1.031 kB / 0.5377 GB, free: 7.887 MB / 398.1 MB Notification: Performance of sorting global known variables: time 9.705e-05/0.4696, allocations: 117.7 kB / 0.5378 GB, free: 7.793 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4696, allocations: 1.031 kB / 0.5378 GB, free: 7.793 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002721/0.4698, allocations: 23.61 kB / 0.5378 GB, free: 7.789 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.0001218/0.47, allocations: 95.16 kB / 0.5379 GB, free: 7.699 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002865/0.4703, allocations: 72.05 kB / 0.538 GB, free: 7.668 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.4703, allocations: 1.062 kB / 0.538 GB, free: 7.668 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001031/0.4704, allocations: 29.38 kB / 0.538 GB, free: 7.656 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002437/0.4706, allocations: 6.875 kB / 0.538 GB, free: 7.652 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005299/0.4712, allocations: 263 kB / 0.5382 GB, free: 7.457 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002963/0.4715, allocations: 0.7064 MB / 0.5389 GB, free: 6.746 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 4.098e-05/0.4715, allocations: 8.688 kB / 0.5389 GB, free: 6.742 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.499e-05/0.4716, allocations: 11.38 kB / 0.539 GB, free: 6.734 MB / 398.1 MB Notification: Performance of SimCode: time 5.11e-07/0.4716, allocations: 4 kB / 0.539 GB, free: 6.73 MB / 398.1 MB Notification: Performance of Templates: time 0.003162/0.4748, allocations: 0.7245 MB / 0.5397 GB, free: 6.359 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Sensors.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Sensors.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Sensors.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Sensors.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Sensors.sim & ./ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Sensors -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Sensors.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Sensors_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Magnetic/FluxTubes/Sensors/Sensors.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Sensors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches