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.001261/0.001261, 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.001439/0.001439, 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.477/1.477, 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.2458/0.2458, allocations: 46.1 MB / 344.3 MB, free: 11.51 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001583/0.001583, allocations: 79.84 kB / 481.3 MB, free: 4.098 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4458/0.4474, allocations: 62.42 MB / 0.531 GB, free: 13.62 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Sensors): time 0.003151/0.4505, allocations: 1.935 MB / 0.5329 GB, free: 12.12 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009817/0.4515, allocations: 0.5967 MB / 0.5334 GB, free: 11.64 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.174e-05/0.4516, allocations: 2.219 kB / 0.5334 GB, free: 11.64 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001655/0.4518, allocations: 36.86 kB / 0.5335 GB, free: 11.61 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001149/0.4519, allocations: 33.48 kB / 0.5335 GB, free: 11.58 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001651/0.4521, allocations: 53.48 kB / 0.5336 GB, free: 11.54 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001963/0.4523, allocations: 142.7 kB / 0.5337 GB, free: 11.45 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000153/0.4525, allocations: 68.28 kB / 0.5338 GB, free: 11.41 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.225e-05/0.4526, allocations: 58.59 kB / 0.5338 GB, free: 11.38 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001019/0.4527, allocations: 70.45 kB / 0.5339 GB, free: 11.32 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.359e-05/0.4527, allocations: 13.94 kB / 0.5339 GB, free: 11.32 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.015e-05/0.4527, allocations: 13.19 kB / 0.5339 GB, free: 11.32 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 3.914e-05/0.4528, allocations: 32 kB / 0.5339 GB, free: 11.3 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 9.24e-05/0.4529, allocations: 67.48 kB / 0.534 GB, free: 11.25 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002256/0.4531, allocations: 164.1 kB / 0.5342 GB, free: 11.13 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.491e-06/0.4531, allocations: 0 / 0.5342 GB, free: 11.13 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.194e-06/0.4531, allocations: 0 / 0.5342 GB, free: 11.13 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.023e-06/0.4531, allocations: 0 / 0.5342 GB, free: 11.13 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.0006654/0.4538, allocations: 456.6 kB / 0.5346 GB, free: 10.68 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.394e-05/0.4539, allocations: 8.25 kB / 0.5346 GB, free: 10.68 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.079e-05/0.4539, allocations: 21.09 kB / 0.5346 GB, free: 10.67 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002494/0.4542, allocations: 201.8 kB / 0.5348 GB, free: 10.45 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.667e-05/0.4542, allocations: 10.16 kB / 0.5348 GB, free: 10.44 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.49e-05/0.4542, allocations: 12.62 kB / 0.5348 GB, free: 10.44 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003434/0.4546, allocations: 149.2 kB / 0.535 GB, free: 10.34 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.048e-05/0.4546, allocations: 0 / 0.535 GB, free: 10.34 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.001e-05/0.4546, allocations: 9.375 kB / 0.535 GB, free: 10.33 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.326e-06/0.4546, allocations: 2.75 kB / 0.535 GB, free: 10.33 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003026/0.4549, allocations: 105.1 kB / 0.5351 GB, free: 10.29 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001033/0.456, allocations: 0.6054 MB / 0.5357 GB, free: 9.719 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002588/0.4563, allocations: 67.42 kB / 0.5357 GB, free: 9.676 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001032/0.4564, allocations: 33.81 kB / 0.5358 GB, free: 9.652 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.182e-05/0.4564, allocations: 5 kB / 0.5358 GB, free: 9.648 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.101e-05/0.4564, allocations: 31.62 kB / 0.5358 GB, free: 9.609 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.242e-06/0.4564, allocations: 4 kB / 0.5358 GB, free: 9.605 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003731/0.4568, allocations: 108.3 kB / 0.5359 GB, free: 9.539 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.091e-05/0.4569, allocations: 51.41 kB / 0.536 GB, free: 9.477 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001589/0.457, allocations: 160.1 kB / 0.5361 GB, free: 9.332 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.669e-05/0.4571, allocations: 27.02 kB / 0.5362 GB, free: 9.301 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.711e-05/0.4572, allocations: 135.4 kB / 0.5363 GB, free: 9.172 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.661e-05/0.4572, allocations: 14.22 kB / 0.5363 GB, free: 9.16 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.007e-05/0.4572, allocations: 28.83 kB / 0.5363 GB, free: 9.133 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001263/0.4574, allocations: 321.9 kB / 0.5366 GB, free: 8.812 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001086/0.4575, allocations: 31.34 kB / 0.5367 GB, free: 8.797 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001267/0.4576, allocations: 64.77 kB / 0.5367 GB, free: 8.738 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002148/0.4578, allocations: 90.55 kB / 0.5368 GB, free: 8.668 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.4578, allocations: 0 / 0.5368 GB, free: 8.668 MB / 398.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002904/0.4581, allocations: 127.8 kB / 0.5369 GB, free: 8.59 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.5e-05/0.4582, allocations: 9.594 kB / 0.5369 GB, free: 8.586 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.662e-06/0.4582, allocations: 1.156 kB / 0.5369 GB, free: 8.586 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.541e-05/0.4582, allocations: 2.188 kB / 0.5369 GB, free: 8.586 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001306/0.4583, allocations: 35.75 kB / 0.537 GB, free: 8.57 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.546e-06/0.4584, allocations: 1.062 kB / 0.537 GB, free: 8.57 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.071e-05/0.4585, allocations: 18.67 kB / 0.537 GB, free: 8.559 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.073e-05/0.4585, allocations: 3.406 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.0001096/0.4586, allocations: 131.5 kB / 0.5371 GB, free: 8.426 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.938e-05/0.4586, allocations: 8.578 kB / 0.5371 GB, free: 8.422 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.687e-05/0.4587, allocations: 10.5 kB / 0.5371 GB, free: 8.41 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.438e-06/0.4587, allocations: 5.062 kB / 0.5371 GB, free: 8.406 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.231e-06/0.4587, allocations: 3.984 kB / 0.5371 GB, free: 8.402 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.065e-06/0.4587, allocations: 1.375 kB / 0.5371 GB, free: 8.402 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002182/0.4589, allocations: 210.3 kB / 0.5374 GB, free: 8.172 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/0.4589, allocations: 4 kB / 0.5374 GB, free: 8.168 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.885e-05/0.459, allocations: 20.33 kB / 0.5374 GB, free: 8.16 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.395e-06/0.459, allocations: 0.9688 kB / 0.5374 GB, free: 8.16 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.11e-05/0.459, allocations: 4 kB / 0.5374 GB, free: 8.156 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.938e-06/0.459, allocations: 4.844 kB / 0.5374 GB, free: 8.152 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.4591, allocations: 0 / 0.5374 GB, free: 8.152 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002737/0.4593, allocations: 179.3 kB / 0.5376 GB, free: 7.996 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.489e-05/0.4594, allocations: 87.28 kB / 0.5376 GB, free: 7.895 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.95e-05/0.4594, allocations: 13.05 kB / 0.5376 GB, free: 7.883 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.756e-05/0.4595, allocations: 11.38 kB / 0.5377 GB, free: 7.875 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.295e-05/0.4596, allocations: 6.234 kB / 0.5377 GB, free: 7.871 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.559e-06/0.4596, allocations: 1.188 kB / 0.5377 GB, free: 7.871 MB / 398.1 MB Notification: Performance of sorting global known variables: time 9.679e-05/0.4597, allocations: 113.7 kB / 0.5378 GB, free: 7.781 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4597, allocations: 0 / 0.5378 GB, free: 7.781 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002509/0.4599, allocations: 23.73 kB / 0.5378 GB, free: 7.777 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.0001285/0.4601, allocations: 98.52 kB / 0.5379 GB, free: 7.684 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002911/0.4604, allocations: 69.61 kB / 0.538 GB, free: 7.656 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.4604, allocations: 0 / 0.538 GB, free: 7.656 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001027/0.4605, allocations: 29.58 kB / 0.538 GB, free: 7.645 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002683/0.4608, allocations: 7.906 kB / 0.538 GB, free: 7.641 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006273/0.4614, allocations: 264.2 kB / 0.5382 GB, free: 7.445 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003489/0.4618, allocations: 0.7034 MB / 0.5389 GB, free: 6.738 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 4.2e-05/0.4618, allocations: 11.06 kB / 0.5389 GB, free: 6.73 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.228e-05/0.4619, allocations: 11.53 kB / 0.539 GB, free: 6.723 MB / 398.1 MB Notification: Performance of SimCode: time 2.4e-07/0.4619, allocations: 0 / 0.539 GB, free: 6.723 MB / 398.1 MB Notification: Performance of Templates: time 0.003157/0.465, allocations: 0.7308 MB / 0.5397 GB, free: 6.348 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