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.001831/0.001831, allocations: 112.4 kB / 18.45 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002505/0.002505, allocations: 208 kB / 19.41 MB, free: 3.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.365/1.365, allocations: 227.4 MB / 247.6 MB, free: 10.41 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2055/0.2055, allocations: 46.11 MB / 345 MB, free: 11.45 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00156/0.00156, allocations: 75.86 kB / 482 MB, free: 4.039 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3371/0.3387, allocations: 62.42 MB / 0.5316 GB, free: 13.58 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Sensors): time 0.003143/0.3419, allocations: 1.931 MB / 0.5335 GB, free: 12.08 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009729/0.3429, allocations: 0.6087 MB / 0.5341 GB, free: 11.59 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.541e-05/0.343, allocations: 1.375 kB / 0.5341 GB, free: 11.59 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001869/0.3432, allocations: 33.34 kB / 0.5341 GB, free: 11.57 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001217/0.3433, allocations: 37.2 kB / 0.5342 GB, free: 11.54 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001606/0.3435, allocations: 49.44 kB / 0.5342 GB, free: 11.49 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001836/0.3437, allocations: 147.9 kB / 0.5344 GB, free: 11.41 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001675/0.3438, allocations: 59.64 kB / 0.5344 GB, free: 11.37 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.186e-05/0.3439, allocations: 57.66 kB / 0.5345 GB, free: 11.34 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.029e-05/0.344, allocations: 63.58 kB / 0.5345 GB, free: 11.29 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.98e-05/0.3441, allocations: 13.94 kB / 0.5346 GB, free: 11.29 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.805e-05/0.3441, allocations: 13.22 kB / 0.5346 GB, free: 11.29 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 3.397e-05/0.3441, allocations: 31.34 kB / 0.5346 GB, free: 11.26 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.82e-05/0.3442, allocations: 68.64 kB / 0.5347 GB, free: 11.21 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001942/0.3444, allocations: 159.9 kB / 0.5348 GB, free: 11.1 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.68e-06/0.3444, allocations: 1.281 kB / 0.5348 GB, free: 11.1 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.864e-06/0.3444, allocations: 0 / 0.5348 GB, free: 11.1 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.284e-06/0.3445, allocations: 0 / 0.5348 GB, free: 11.1 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.0006938/0.3452, allocations: 447.9 kB / 0.5352 GB, free: 10.66 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.901e-05/0.3452, allocations: 9.219 kB / 0.5353 GB, free: 10.66 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.594e-05/0.3453, allocations: 20.5 kB / 0.5353 GB, free: 10.65 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002945/0.3456, allocations: 210 kB / 0.5355 GB, free: 10.41 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.675e-05/0.3456, allocations: 14.19 kB / 0.5355 GB, free: 10.41 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.021e-05/0.3456, allocations: 12.22 kB / 0.5355 GB, free: 10.4 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003434/0.346, allocations: 141.2 kB / 0.5356 GB, free: 10.31 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.346e-05/0.346, allocations: 0 / 0.5356 GB, free: 10.31 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.899e-05/0.346, allocations: 9.031 kB / 0.5356 GB, free: 10.3 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.668e-06/0.3461, allocations: 3.344 kB / 0.5356 GB, free: 10.3 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002811/0.3463, allocations: 105.6 kB / 0.5357 GB, free: 10.26 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001012/0.3474, allocations: 0.6125 MB / 0.5363 GB, free: 9.684 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002412/0.3476, allocations: 74.11 kB / 0.5364 GB, free: 9.633 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.706e-05/0.3477, allocations: 26.77 kB / 0.5364 GB, free: 9.617 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.546e-05/0.3478, allocations: 5.359 kB / 0.5364 GB, free: 9.613 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.544e-05/0.3478, allocations: 35.94 kB / 0.5365 GB, free: 9.57 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.152e-06/0.3478, allocations: 0 / 0.5365 GB, free: 9.57 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003992/0.3482, allocations: 110.6 kB / 0.5366 GB, free: 9.5 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.297e-05/0.3482, allocations: 52.72 kB / 0.5366 GB, free: 9.438 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001468/0.3484, allocations: 159.5 kB / 0.5368 GB, free: 9.297 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.995e-05/0.3484, allocations: 25.7 kB / 0.5368 GB, free: 9.266 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.707e-05/0.3485, allocations: 131.6 kB / 0.5369 GB, free: 9.141 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.524e-05/0.3485, allocations: 18.23 kB / 0.537 GB, free: 9.125 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.885e-05/0.3486, allocations: 29.59 kB / 0.537 GB, free: 9.098 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 9.951e-05/0.3487, allocations: 321.5 kB / 0.5373 GB, free: 8.777 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001026/0.3488, allocations: 31.19 kB / 0.5373 GB, free: 8.762 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001179/0.3489, allocations: 64.42 kB / 0.5374 GB, free: 8.703 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00021/0.3491, allocations: 90.39 kB / 0.5375 GB, free: 8.633 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.3492, allocations: 1.219 kB / 0.5375 GB, free: 8.633 MB / 398.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003009/0.3495, allocations: 126.6 kB / 0.5376 GB, free: 8.555 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.72e-05/0.3495, allocations: 5.344 kB / 0.5376 GB, free: 8.555 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.041e-06/0.3495, allocations: 5.25 kB / 0.5376 GB, free: 8.551 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.531e-05/0.3495, allocations: 2.25 kB / 0.5376 GB, free: 8.551 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001349/0.3497, allocations: 36.27 kB / 0.5376 GB, free: 8.535 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.852e-06/0.3497, allocations: 5.031 kB / 0.5376 GB, free: 8.531 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.518e-05/0.3498, allocations: 11.45 kB / 0.5377 GB, free: 8.527 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.428e-06/0.3498, allocations: 3.25 kB / 0.5377 GB, free: 8.527 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 8.903e-05/0.3499, allocations: 119.2 kB / 0.5378 GB, free: 8.406 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.132e-05/0.3499, allocations: 16.19 kB / 0.5378 GB, free: 8.395 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.686e-05/0.35, allocations: 18.45 kB / 0.5378 GB, free: 8.375 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.707e-06/0.35, allocations: 5.062 kB / 0.5378 GB, free: 8.371 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.35, allocations: 1.062 kB / 0.5378 GB, free: 8.371 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.415e-06/0.35, allocations: 0 / 0.5378 GB, free: 8.371 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00021/0.3502, allocations: 210.9 kB / 0.538 GB, free: 8.141 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.3502, allocations: 0 / 0.538 GB, free: 8.141 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.841e-05/0.3503, allocations: 16.42 kB / 0.538 GB, free: 8.137 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.023e-06/0.3503, allocations: 0 / 0.538 GB, free: 8.137 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.955e-06/0.3503, allocations: 1.312 kB / 0.538 GB, free: 8.137 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.731e-06/0.3503, allocations: 7.875 kB / 0.538 GB, free: 8.129 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.253e-06/0.3504, allocations: 4.25 kB / 0.538 GB, free: 8.125 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002773/0.3506, allocations: 186.8 kB / 0.5382 GB, free: 7.961 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.464e-05/0.3507, allocations: 83.48 kB / 0.5383 GB, free: 7.863 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.852e-05/0.3507, allocations: 0.7188 kB / 0.5383 GB, free: 7.863 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.681e-05/0.3508, allocations: 12.14 kB / 0.5383 GB, free: 7.855 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.031e-05/0.3509, allocations: 1.938 kB / 0.5383 GB, free: 7.855 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.163e-06/0.3509, allocations: 8.781 kB / 0.5383 GB, free: 7.848 MB / 398.1 MB Notification: Performance of sorting global known variables: time 7.602e-05/0.351, allocations: 113.9 kB / 0.5384 GB, free: 7.758 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.351, allocations: 0 / 0.5384 GB, free: 7.758 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002575/0.3512, allocations: 28.41 kB / 0.5385 GB, free: 7.75 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 8.875e-05/0.3513, allocations: 91.19 kB / 0.5385 GB, free: 7.664 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002651/0.3516, allocations: 68.7 kB / 0.5386 GB, free: 7.637 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.3516, allocations: 4.062 kB / 0.5386 GB, free: 7.633 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 9.764e-05/0.3517, allocations: 32.91 kB / 0.5386 GB, free: 7.617 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002511/0.352, allocations: 13.81 kB / 0.5387 GB, free: 7.609 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005709/0.3525, allocations: 290.5 kB / 0.5389 GB, free: 7.383 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000252/0.3528, allocations: 0.7069 MB / 0.5396 GB, free: 6.672 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.051e-05/0.3529, allocations: 16.44 kB / 0.5396 GB, free: 6.66 MB / 398.1 MB Notification: Performance of SimCode: time 2.4e-07/0.3529, allocations: 0 / 0.5396 GB, free: 6.66 MB / 398.1 MB Notification: Performance of Templates: time 0.003026/0.3559, allocations: 1.287 MB / 0.5409 GB, free: 5.984 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Magnetic/FluxTubes/Sensors/Sensors.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Sensors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches