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.001231/0.001231, allocations: 122.8 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.001395/0.001395, allocations: 202 kB / 18.73 MB, free: 4.34 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.47 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2633/0.2633, allocations: 46.09 MB / 344.3 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00153/0.00153, allocations: 75.88 kB / 481.3 MB, free: 4.086 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4303/0.4318, allocations: 62.43 MB / 0.531 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Sensors): time 0.003872/0.4357, allocations: 1.927 MB / 0.5329 GB, free: 12.12 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001053/0.4368, allocations: 0.6002 MB / 0.5334 GB, free: 11.63 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.512e-05/0.4369, allocations: 5.906 kB / 0.5334 GB, free: 11.63 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001889/0.4371, allocations: 40.72 kB / 0.5335 GB, free: 11.6 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001179/0.4373, allocations: 33.48 kB / 0.5335 GB, free: 11.57 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001637/0.4374, allocations: 45.88 kB / 0.5336 GB, free: 11.53 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001976/0.4376, allocations: 155.2 kB / 0.5337 GB, free: 11.44 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001639/0.4378, allocations: 56.41 kB / 0.5338 GB, free: 11.41 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.865e-05/0.4379, allocations: 60.39 kB / 0.5338 GB, free: 11.37 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.843e-05/0.438, allocations: 64.2 kB / 0.5339 GB, free: 11.32 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.861e-05/0.4381, allocations: 13.75 kB / 0.5339 GB, free: 11.32 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.671e-05/0.4381, allocations: 13.75 kB / 0.5339 GB, free: 11.32 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 3.924e-05/0.4381, allocations: 28.05 kB / 0.5339 GB, free: 11.3 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.965e-05/0.4382, allocations: 70.91 kB / 0.534 GB, free: 11.25 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001985/0.4384, allocations: 164.8 kB / 0.5342 GB, free: 11.13 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.262e-06/0.4384, allocations: 0 / 0.5342 GB, free: 11.13 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.034e-06/0.4384, allocations: 5.375 kB / 0.5342 GB, free: 11.12 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.252e-05/0.4384, allocations: 0 / 0.5342 GB, free: 11.12 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.0007311/0.4392, allocations: 447.5 kB / 0.5346 GB, free: 10.69 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.961e-05/0.4392, allocations: 9.625 kB / 0.5346 GB, free: 10.69 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.333e-05/0.4393, allocations: 15.62 kB / 0.5346 GB, free: 10.68 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002958/0.4396, allocations: 199.1 kB / 0.5348 GB, free: 10.46 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.06e-05/0.4396, allocations: 10.16 kB / 0.5348 GB, free: 10.45 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.86e-05/0.4397, allocations: 16.62 kB / 0.5348 GB, free: 10.45 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003565/0.44, allocations: 151.8 kB / 0.535 GB, free: 10.34 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.162e-05/0.44, allocations: 0 / 0.535 GB, free: 10.34 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.982e-05/0.4401, allocations: 5.375 kB / 0.535 GB, free: 10.34 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.081e-05/0.4401, allocations: 4.125 kB / 0.535 GB, free: 10.34 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003232/0.4404, allocations: 100.4 kB / 0.5351 GB, free: 10.3 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001118/0.4415, allocations: 0.6167 MB / 0.5357 GB, free: 9.719 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002771/0.4418, allocations: 71.11 kB / 0.5357 GB, free: 9.672 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000111/0.442, allocations: 30.55 kB / 0.5358 GB, free: 9.652 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.26e-05/0.442, allocations: 5.188 kB / 0.5358 GB, free: 9.648 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.421e-05/0.442, allocations: 35.58 kB / 0.5358 GB, free: 9.605 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 4.077e-06/0.442, allocations: 3.984 kB / 0.5358 GB, free: 9.602 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004421/0.4425, allocations: 106.8 kB / 0.5359 GB, free: 9.535 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.844e-05/0.4425, allocations: 52.38 kB / 0.536 GB, free: 9.473 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000153/0.4427, allocations: 148.4 kB / 0.5361 GB, free: 9.34 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.199e-05/0.4427, allocations: 34.81 kB / 0.5361 GB, free: 9.301 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.703e-05/0.4428, allocations: 131.5 kB / 0.5363 GB, free: 9.176 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.331e-05/0.4429, allocations: 22.05 kB / 0.5363 GB, free: 9.156 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.832e-05/0.4429, allocations: 28.34 kB / 0.5363 GB, free: 9.129 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001522/0.4431, allocations: 321.2 kB / 0.5366 GB, free: 8.809 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001138/0.4432, allocations: 27.83 kB / 0.5367 GB, free: 8.797 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001356/0.4434, allocations: 64.45 kB / 0.5367 GB, free: 8.738 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002322/0.4436, allocations: 90.66 kB / 0.5368 GB, free: 8.668 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.4436, allocations: 5.062 kB / 0.5368 GB, free: 8.664 MB / 398.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002991/0.4439, allocations: 126.7 kB / 0.5369 GB, free: 8.586 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.698e-05/0.4439, allocations: 5.188 kB / 0.5369 GB, free: 8.586 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.611e-06/0.444, allocations: 2.125 kB / 0.5369 GB, free: 8.586 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.36e-05/0.444, allocations: 1.062 kB / 0.5369 GB, free: 8.586 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001265/0.4441, allocations: 28.42 kB / 0.537 GB, free: 8.578 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.548e-06/0.4441, allocations: 6.188 kB / 0.537 GB, free: 8.574 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.351e-05/0.4442, allocations: 18.39 kB / 0.537 GB, free: 8.562 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.036e-05/0.4442, allocations: 3.438 kB / 0.537 GB, free: 8.562 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 9.141e-05/0.4443, allocations: 123.2 kB / 0.5371 GB, free: 8.438 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.183e-05/0.4444, allocations: 16.41 kB / 0.5371 GB, free: 8.426 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.413e-05/0.4444, allocations: 14.73 kB / 0.5371 GB, free: 8.41 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.899e-06/0.4444, allocations: 5.469 kB / 0.5371 GB, free: 8.406 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.12e-06/0.4444, allocations: 0 / 0.5371 GB, free: 8.406 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.855e-06/0.4444, allocations: 4 kB / 0.5371 GB, free: 8.402 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002136/0.4447, allocations: 212.1 kB / 0.5373 GB, free: 8.172 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.4447, allocations: 0 / 0.5373 GB, free: 8.172 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.725e-05/0.4448, allocations: 14.95 kB / 0.5374 GB, free: 8.168 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.513e-06/0.4448, allocations: 0 / 0.5374 GB, free: 8.168 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.889e-06/0.4448, allocations: 5.422 kB / 0.5374 GB, free: 8.164 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.915e-06/0.4448, allocations: 3.938 kB / 0.5374 GB, free: 8.16 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.4448, allocations: 1.359 kB / 0.5374 GB, free: 8.16 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002761/0.4451, allocations: 190.1 kB / 0.5376 GB, free: 7.992 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.693e-05/0.4451, allocations: 87.98 kB / 0.5376 GB, free: 7.891 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.553e-05/0.4452, allocations: 0 / 0.5376 GB, free: 7.891 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001038/0.4453, allocations: 11.73 kB / 0.5376 GB, free: 7.883 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.881e-05/0.4453, allocations: 2.5 kB / 0.5376 GB, free: 7.883 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.37e-06/0.4453, allocations: 1.094 kB / 0.5376 GB, free: 7.883 MB / 398.1 MB Notification: Performance of sorting global known variables: time 7.807e-05/0.4454, allocations: 116.3 kB / 0.5378 GB, free: 7.789 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4454, allocations: 0 / 0.5378 GB, free: 7.789 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002409/0.4457, allocations: 27.94 kB / 0.5378 GB, free: 7.781 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 9.724e-05/0.4458, allocations: 93.88 kB / 0.5379 GB, free: 7.691 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002884/0.4461, allocations: 74 kB / 0.5379 GB, free: 7.66 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.4461, allocations: 0 / 0.5379 GB, free: 7.66 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001176/0.4462, allocations: 29.47 kB / 0.538 GB, free: 7.648 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002727/0.4465, allocations: 15.19 kB / 0.538 GB, free: 7.637 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006079/0.4471, allocations: 259.5 kB / 0.5382 GB, free: 7.445 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003377/0.4474, allocations: 0.7066 MB / 0.5389 GB, free: 6.734 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 4.394e-05/0.4475, allocations: 7.984 kB / 0.5389 GB, free: 6.73 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.781e-05/0.4475, allocations: 15.7 kB / 0.5389 GB, free: 6.719 MB / 398.1 MB Notification: Performance of SimCode: time 2.3e-07/0.4475, allocations: 0 / 0.5389 GB, free: 6.719 MB / 398.1 MB Notification: Performance of Templates: time 0.00323/0.4508, allocations: 0.7379 MB / 0.5397 GB, free: 6.34 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