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.001102/0.001102, allocations: 118.8 kB / 17.79 MB, free: 5.281 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001242/0.001242, 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.392/1.392, allocations: 227.4 MB / 246.9 MB, free: 10.42 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2182/0.2182, allocations: 46.11 MB / 344.3 MB, free: 11.46 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001461/0.001461, allocations: 71.88 kB / 480.8 MB, free: 4.562 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3108/0.3123, allocations: 62.43 MB / 0.5305 GB, free: 13.41 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Sensors): time 0.003263/0.3156, allocations: 1.937 MB / 0.5324 GB, free: 11.9 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001084/0.3167, allocations: 0.6092 MB / 0.533 GB, free: 11.41 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.026e-05/0.3168, allocations: 1.781 kB / 0.533 GB, free: 11.41 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000176/0.317, allocations: 36.66 kB / 0.533 GB, free: 11.38 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001245/0.3171, allocations: 33.08 kB / 0.533 GB, free: 11.36 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001554/0.3173, allocations: 41.31 kB / 0.5331 GB, free: 11.32 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001824/0.3175, allocations: 151.5 kB / 0.5332 GB, free: 11.23 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001584/0.3177, allocations: 64.86 kB / 0.5333 GB, free: 11.19 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.936e-05/0.3178, allocations: 57.19 kB / 0.5333 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.565e-05/0.3179, allocations: 64.2 kB / 0.5334 GB, free: 11.11 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.998e-05/0.3179, allocations: 13.75 kB / 0.5334 GB, free: 11.11 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.826e-05/0.3179, allocations: 13.75 kB / 0.5334 GB, free: 11.11 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 3.781e-05/0.318, allocations: 26.66 kB / 0.5335 GB, free: 11.09 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 9.386e-05/0.3181, allocations: 68.3 kB / 0.5335 GB, free: 11.04 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002147/0.3183, allocations: 161.4 kB / 0.5337 GB, free: 10.92 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.5e-06/0.3183, allocations: 0 / 0.5337 GB, free: 10.92 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.064e-06/0.3183, allocations: 0 / 0.5337 GB, free: 10.92 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.886e-06/0.3183, allocations: 7.984 kB / 0.5337 GB, free: 10.91 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.0007782/0.3191, allocations: 448.8 kB / 0.5341 GB, free: 10.47 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.3e-05/0.3192, allocations: 9.625 kB / 0.5341 GB, free: 10.47 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.985e-05/0.3193, allocations: 46.86 kB / 0.5342 GB, free: 10.42 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.826e-05/0.3193, allocations: 15.7 kB / 0.5342 GB, free: 10.41 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003286/0.3196, allocations: 211 kB / 0.5344 GB, free: 10.18 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.916e-05/0.3197, allocations: 14.16 kB / 0.5344 GB, free: 10.17 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.991e-05/0.3197, allocations: 12.62 kB / 0.5344 GB, free: 10.17 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003616/0.3201, allocations: 143.6 kB / 0.5345 GB, free: 10.07 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.091e-05/0.3201, allocations: 3.938 kB / 0.5345 GB, free: 10.07 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.807e-05/0.3201, allocations: 5.375 kB / 0.5346 GB, free: 10.07 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.155e-06/0.3201, allocations: 4.125 kB / 0.5346 GB, free: 10.07 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000294/0.3204, allocations: 100.6 kB / 0.5347 GB, free: 10.02 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001112/0.3216, allocations: 0.6125 MB / 0.5352 GB, free: 9.449 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002876/0.3219, allocations: 66.86 kB / 0.5353 GB, free: 9.406 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000106/0.322, allocations: 26.77 kB / 0.5353 GB, free: 9.391 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.949e-05/0.322, allocations: 9.141 kB / 0.5353 GB, free: 9.383 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.143e-05/0.322, allocations: 35.62 kB / 0.5354 GB, free: 9.34 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 2.234e-06/0.3221, allocations: 0 / 0.5354 GB, free: 9.34 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004235/0.3225, allocations: 111.3 kB / 0.5355 GB, free: 9.27 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.892e-05/0.3225, allocations: 52.53 kB / 0.5355 GB, free: 9.207 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001916/0.3227, allocations: 155.5 kB / 0.5357 GB, free: 9.066 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.866e-05/0.3228, allocations: 30.89 kB / 0.5357 GB, free: 9.031 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.834e-05/0.3229, allocations: 131.6 kB / 0.5358 GB, free: 8.906 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.787e-05/0.3229, allocations: 18.02 kB / 0.5359 GB, free: 8.891 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.513e-05/0.323, allocations: 28.5 kB / 0.5359 GB, free: 8.863 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000121/0.3231, allocations: 321.2 kB / 0.5362 GB, free: 8.543 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001056/0.3232, allocations: 28.38 kB / 0.5362 GB, free: 8.531 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000144/0.3234, allocations: 68.52 kB / 0.5363 GB, free: 8.469 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001976/0.3236, allocations: 91.23 kB / 0.5364 GB, free: 8.398 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.3236, allocations: 0 / 0.5364 GB, free: 8.398 MB / 398.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002694/0.3238, allocations: 127.2 kB / 0.5365 GB, free: 8.32 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.329e-05/0.3239, allocations: 5.5 kB / 0.5365 GB, free: 8.32 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.313e-06/0.3239, allocations: 1.375 kB / 0.5365 GB, free: 8.32 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.671e-05/0.3239, allocations: 9.25 kB / 0.5365 GB, free: 8.312 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001307/0.324, allocations: 28.55 kB / 0.5365 GB, free: 8.305 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.251e-06/0.3241, allocations: 5.5 kB / 0.5365 GB, free: 8.301 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.789e-05/0.3242, allocations: 18.77 kB / 0.5366 GB, free: 8.289 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.097e-06/0.3242, allocations: 2.75 kB / 0.5366 GB, free: 8.289 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.859e-05/0.3243, allocations: 120.7 kB / 0.5367 GB, free: 8.168 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.177e-05/0.3243, allocations: 8.031 kB / 0.5367 GB, free: 8.164 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.585e-05/0.3244, allocations: 15.05 kB / 0.5367 GB, free: 8.148 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.497e-06/0.3244, allocations: 3.938 kB / 0.5367 GB, free: 8.145 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.049e-06/0.3244, allocations: 1.375 kB / 0.5367 GB, free: 8.145 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.545e-06/0.3244, allocations: 4 kB / 0.5367 GB, free: 8.141 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002104/0.3246, allocations: 206.2 kB / 0.5369 GB, free: 7.914 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.996e-06/0.3246, allocations: 3.984 kB / 0.5369 GB, free: 7.91 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.32e-05/0.3247, allocations: 19.61 kB / 0.5369 GB, free: 7.902 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.088e-06/0.3247, allocations: 5.422 kB / 0.5369 GB, free: 7.898 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.303e-06/0.3247, allocations: 0 / 0.5369 GB, free: 7.898 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.777e-06/0.3247, allocations: 5.156 kB / 0.5369 GB, free: 7.895 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.001e-06/0.3247, allocations: 3.938 kB / 0.5369 GB, free: 7.891 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002904/0.325, allocations: 186.6 kB / 0.5371 GB, free: 7.727 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.245e-05/0.3251, allocations: 83.95 kB / 0.5372 GB, free: 7.629 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.977e-05/0.3251, allocations: 320 / 0.5372 GB, free: 7.629 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.916e-05/0.3252, allocations: 15.7 kB / 0.5372 GB, free: 7.617 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.388e-05/0.3253, allocations: 2.25 kB / 0.5372 GB, free: 7.617 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.236e-06/0.3253, allocations: 5.438 kB / 0.5372 GB, free: 7.613 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000106/0.3254, allocations: 113.7 kB / 0.5373 GB, free: 7.523 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.3254, allocations: 4 kB / 0.5373 GB, free: 7.52 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002769/0.3257, allocations: 28.38 kB / 0.5374 GB, free: 7.512 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.0005803/0.3263, allocations: 0.7162 MB / 0.5381 GB, free: 6.816 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002808/0.3266, allocations: 72.83 kB / 0.5381 GB, free: 6.785 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.3266, allocations: 0 / 0.5381 GB, free: 6.785 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 9.418e-05/0.3267, allocations: 24.89 kB / 0.5382 GB, free: 6.777 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002795/0.327, allocations: 12.88 kB / 0.5382 GB, free: 6.77 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002051/0.329, allocations: 1.656 MB / 0.5398 GB, free: 5.289 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003185/0.3294, allocations: 0.7109 MB / 0.5405 GB, free: 4.574 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 4.757e-05/0.3294, allocations: 4.203 kB / 0.5405 GB, free: 4.574 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.131e-05/0.3295, allocations: 38.8 kB / 0.5405 GB, free: 4.539 MB / 398.1 MB Notification: Performance of SimCode: time 6.92e-07/0.3295, allocations: 0 / 0.5405 GB, free: 4.539 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01954/0.3491, allocations: 2.171 MB / 0.5426 GB, free: 3.371 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.654/8.003, allocations: 6.172 kB / 0.5426 GB, free: 3.367 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