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: "" <> buildModelFMU(ModelicaTest.Magnetic.FluxTubes.Sensors,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Magnetic_FluxTubes_Sensors",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Magnetic.FluxTubes.Sensors,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Magnetic_FluxTubes_Sensors",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001224/0.001224, allocations: 121.6 kB / 17.79 MB, free: 5.25 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001289/0.001289, allocations: 199.9 kB / 18.73 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.44/1.44, allocations: 227.4 MB / 247 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.2318/0.2318, allocations: 46.13 MB / 344.4 MB, free: 11.4 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0023/0.0023, allocations: 79.86 kB / 480.9 MB, free: 4.477 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3309/0.3332, allocations: 62.45 MB / 0.5306 GB, free: 13.34 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Sensors): time 0.003194/0.3364, allocations: 1.93 MB / 0.5325 GB, free: 11.84 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001055/0.3375, allocations: 0.6079 MB / 0.5331 GB, free: 11.34 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.592e-05/0.3376, allocations: 1.875 kB / 0.5331 GB, free: 11.34 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001893/0.3378, allocations: 36.86 kB / 0.5331 GB, free: 11.32 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001193/0.3379, allocations: 33.83 kB / 0.5331 GB, free: 11.29 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001604/0.3381, allocations: 42.05 kB / 0.5332 GB, free: 11.25 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001948/0.3383, allocations: 150.6 kB / 0.5333 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001618/0.3385, allocations: 67.62 kB / 0.5334 GB, free: 11.12 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.779e-05/0.3386, allocations: 57.78 kB / 0.5335 GB, free: 11.09 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.501e-05/0.3387, allocations: 64.2 kB / 0.5335 GB, free: 11.04 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.874e-05/0.3387, allocations: 13.75 kB / 0.5335 GB, free: 11.04 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.821e-05/0.3388, allocations: 13.75 kB / 0.5335 GB, free: 11.04 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 3.202e-05/0.3388, allocations: 24.05 kB / 0.5336 GB, free: 11.02 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.482e-05/0.3389, allocations: 66.92 kB / 0.5336 GB, free: 10.97 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002189/0.3391, allocations: 170.7 kB / 0.5338 GB, free: 10.84 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.3391, allocations: 0 / 0.5338 GB, free: 10.84 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.803e-06/0.3391, allocations: 0 / 0.5338 GB, free: 10.84 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.71e-06/0.3391, allocations: 5.375 kB / 0.5338 GB, free: 10.84 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.000693/0.3398, allocations: 447.3 kB / 0.5342 GB, free: 10.4 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.68e-05/0.3399, allocations: 9.625 kB / 0.5342 GB, free: 10.4 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.506e-05/0.3399, allocations: 46.86 kB / 0.5343 GB, free: 10.35 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.048e-05/0.34, allocations: 15.72 kB / 0.5343 GB, free: 10.34 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002826/0.3403, allocations: 211.1 kB / 0.5345 GB, free: 10.11 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.133e-05/0.3403, allocations: 14.16 kB / 0.5345 GB, free: 10.1 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.172e-05/0.3403, allocations: 12.62 kB / 0.5345 GB, free: 10.1 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003228/0.3406, allocations: 147.9 kB / 0.5347 GB, free: 10 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.838e-06/0.3407, allocations: 0 / 0.5347 GB, free: 10 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.583e-05/0.3407, allocations: 5.25 kB / 0.5347 GB, free: 9.996 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.472e-06/0.3407, allocations: 3.438 kB / 0.5347 GB, free: 9.996 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003103/0.341, allocations: 105.4 kB / 0.5348 GB, free: 9.949 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001079/0.3421, allocations: 0.6092 MB / 0.5354 GB, free: 9.379 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002488/0.3424, allocations: 74.3 kB / 0.5354 GB, free: 9.328 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001082/0.3425, allocations: 27.34 kB / 0.5355 GB, free: 9.312 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.122e-05/0.3425, allocations: 4 kB / 0.5355 GB, free: 9.309 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.268e-05/0.3426, allocations: 31.66 kB / 0.5355 GB, free: 9.27 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.252e-06/0.3426, allocations: 1.125 kB / 0.5355 GB, free: 9.27 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003981/0.343, allocations: 110.5 kB / 0.5356 GB, free: 9.199 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.855e-05/0.343, allocations: 52.28 kB / 0.5356 GB, free: 9.137 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001616/0.3432, allocations: 164.2 kB / 0.5358 GB, free: 8.992 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.926e-05/0.3432, allocations: 29.7 kB / 0.5358 GB, free: 8.957 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.557e-05/0.3433, allocations: 136.5 kB / 0.536 GB, free: 8.828 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.562e-05/0.3433, allocations: 13.12 kB / 0.536 GB, free: 8.816 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.354e-05/0.3434, allocations: 33.59 kB / 0.536 GB, free: 8.785 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001456/0.3436, allocations: 317.2 kB / 0.5363 GB, free: 8.469 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001102/0.3437, allocations: 27.38 kB / 0.5363 GB, free: 8.457 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000132/0.3438, allocations: 64.64 kB / 0.5364 GB, free: 8.398 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002372/0.3441, allocations: 103 kB / 0.5365 GB, free: 8.316 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.3441, allocations: 0 / 0.5365 GB, free: 8.316 MB / 398.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002877/0.3444, allocations: 119.1 kB / 0.5366 GB, free: 8.246 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.272e-05/0.3444, allocations: 5.5 kB / 0.5366 GB, free: 8.246 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.055e-06/0.3444, allocations: 1.375 kB / 0.5366 GB, free: 8.246 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.568e-05/0.3444, allocations: 10.62 kB / 0.5366 GB, free: 8.238 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001319/0.3445, allocations: 30.91 kB / 0.5367 GB, free: 8.227 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.043e-06/0.3446, allocations: 6.625 kB / 0.5367 GB, free: 8.223 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.778e-05/0.3447, allocations: 14.64 kB / 0.5367 GB, free: 8.215 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.496e-06/0.3447, allocations: 2.688 kB / 0.5367 GB, free: 8.215 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.000112/0.3448, allocations: 128.5 kB / 0.5368 GB, free: 8.086 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.957e-05/0.3448, allocations: 8.578 kB / 0.5368 GB, free: 8.082 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.541e-05/0.3449, allocations: 9.875 kB / 0.5368 GB, free: 8.07 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.027e-06/0.3449, allocations: 5.469 kB / 0.5368 GB, free: 8.066 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.3449, allocations: 0 / 0.5368 GB, free: 8.066 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.424e-06/0.3449, allocations: 4 kB / 0.5368 GB, free: 8.062 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000249/0.3452, allocations: 210.3 kB / 0.537 GB, free: 7.832 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.3452, allocations: 1.219 kB / 0.537 GB, free: 7.832 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.514e-05/0.3453, allocations: 19.67 kB / 0.537 GB, free: 7.824 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.3453, allocations: 0 / 0.537 GB, free: 7.824 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.456e-06/0.3453, allocations: 1.062 kB / 0.537 GB, free: 7.824 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.727e-06/0.3453, allocations: 3.938 kB / 0.5371 GB, free: 7.82 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.3453, allocations: 1.344 kB / 0.5371 GB, free: 7.82 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003196/0.3456, allocations: 190.2 kB / 0.5372 GB, free: 7.652 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.02e-05/0.3457, allocations: 87.14 kB / 0.5373 GB, free: 7.551 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.705e-05/0.3457, allocations: 1 kB / 0.5373 GB, free: 7.551 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001008/0.3458, allocations: 11.64 kB / 0.5373 GB, free: 7.543 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.714e-05/0.3459, allocations: 6.328 kB / 0.5373 GB, free: 7.539 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.943e-06/0.3459, allocations: 5.344 kB / 0.5373 GB, free: 7.535 MB / 398.1 MB Notification: Performance of sorting global known variables: time 8.924e-05/0.346, allocations: 107.3 kB / 0.5374 GB, free: 7.449 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.346, allocations: 4 kB / 0.5374 GB, free: 7.445 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002529/0.3463, allocations: 28.64 kB / 0.5375 GB, free: 7.438 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.0006199/0.3469, allocations: 0.7202 MB / 0.5382 GB, free: 6.738 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000291/0.3472, allocations: 72.83 kB / 0.5382 GB, free: 6.707 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.3472, allocations: 0 / 0.5382 GB, free: 6.707 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001048/0.3473, allocations: 28.78 kB / 0.5383 GB, free: 6.695 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002741/0.3476, allocations: 11.19 kB / 0.5383 GB, free: 6.688 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002377/0.35, allocations: 1.655 MB / 0.5399 GB, free: 5.207 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000404/0.3504, allocations: 0.7074 MB / 0.5406 GB, free: 4.496 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.026e-05/0.3505, allocations: 6.969 kB / 0.5406 GB, free: 4.492 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.177e-05/0.3505, allocations: 39.7 kB / 0.5406 GB, free: 4.457 MB / 398.1 MB Notification: Performance of SimCode: time 6.32e-07/0.3505, allocations: 0 / 0.5406 GB, free: 4.457 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03714/0.3877, allocations: 2.16 MB / 0.5427 GB, free: 3.293 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.077/8.465, allocations: 10.94 kB / 0.5428 GB, free: 3.285 MB / 398.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Sensors_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Magnetic_FluxTubes_Sensors_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-05 ModelicaTest_trunk_ModelicaTest_Magnetic_FluxTubes_Sensors.fmu > 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