Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.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.Shapes.FixedShape,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Magnetic_FluxTubes_Shapes_FixedShape",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Magnetic_FluxTubes_Shapes_FixedShape",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001241/0.00124, allocations: 118.8 kB / 17.79 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001427/0.001427, allocations: 202 kB / 18.73 MB, free: 4.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.38/1.38, allocations: 227.4 MB / 246.9 MB, free: 10.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2091/0.2091, allocations: 46.1 MB / 344.3 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001497/0.001497, allocations: 75.88 kB / 480.8 MB, free: 4.574 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2992/0.3007, allocations: 62.43 MB / 0.5305 GB, free: 13.4 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape): time 0.00501/0.3058, allocations: 2.483 MB / 0.5329 GB, free: 11.46 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002145/0.308, allocations: 0.8356 MB / 0.5337 GB, free: 10.78 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002742/0.3083, allocations: 3.844 kB / 0.5337 GB, free: 10.78 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003099/0.3086, allocations: 62.59 kB / 0.5338 GB, free: 10.73 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005114/0.3092, allocations: 105.5 kB / 0.5339 GB, free: 10.65 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004266/0.3096, allocations: 110.2 kB / 0.534 GB, free: 10.55 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005884/0.3102, allocations: 353.8 kB / 0.5343 GB, free: 10.35 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002733/0.3105, allocations: 96.69 kB / 0.5344 GB, free: 10.3 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003935/0.3109, allocations: 137.2 kB / 0.5346 GB, free: 10.22 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003207/0.3112, allocations: 157.9 kB / 0.5347 GB, free: 10.11 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 8.505e-05/0.3113, allocations: 30.25 kB / 0.5347 GB, free: 10.11 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001185/0.3115, allocations: 35.62 kB / 0.5348 GB, free: 10.11 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.612e-05/0.3116, allocations: 75.92 kB / 0.5349 GB, free: 10.04 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002192/0.3118, allocations: 148.5 kB / 0.535 GB, free: 9.934 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005506/0.3124, allocations: 375.9 kB / 0.5354 GB, free: 9.648 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.3124, allocations: 9.312 kB / 0.5354 GB, free: 9.641 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.303e-06/0.3124, allocations: 0 / 0.5354 GB, free: 9.641 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.591e-05/0.3124, allocations: 3.984 kB / 0.5354 GB, free: 9.637 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: 61 * Number of variables: 61 Notification: Performance of Generate backend data structure: time 0.001638/0.3141, allocations: 0.6278 MB / 0.536 GB, free: 9.082 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.077e-05/0.3141, allocations: 10.09 kB / 0.536 GB, free: 9.082 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001063/0.3143, allocations: 54.73 kB / 0.536 GB, free: 9.027 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002351/0.3145, allocations: 39.7 kB / 0.5361 GB, free: 9.008 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005193/0.315, allocations: 265.8 kB / 0.5363 GB, free: 8.734 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.241e-05/0.3151, allocations: 27.11 kB / 0.5364 GB, free: 8.719 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.618e-05/0.3151, allocations: 24.5 kB / 0.5364 GB, free: 8.711 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008006/0.316, allocations: 254.2 kB / 0.5366 GB, free: 8.551 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.381e-05/0.316, allocations: 0 / 0.5366 GB, free: 8.551 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.159e-05/0.316, allocations: 10.41 kB / 0.5366 GB, free: 8.543 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.366e-05/0.3161, allocations: 6.719 kB / 0.5366 GB, free: 8.543 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008078/0.3169, allocations: 232.7 kB / 0.5369 GB, free: 8.438 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002181/0.3191, allocations: 0.8762 MB / 0.5377 GB, free: 7.711 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008143/0.3199, allocations: 318.8 kB / 0.538 GB, free: 7.547 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004039/0.3203, allocations: 146.1 kB / 0.5382 GB, free: 7.473 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.667e-05/0.3204, allocations: 7.156 kB / 0.5382 GB, free: 7.469 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.009e-05/0.3204, allocations: 32.88 kB / 0.5382 GB, free: 7.43 MB / 398.1 MB Notification: Performance of pre-optimization done (n=31): time 2.595e-06/0.3205, allocations: 0 / 0.5382 GB, free: 7.43 MB / 398.1 MB Notification: Performance of matching and sorting (n=31): time 0.007133/0.3276, allocations: 1.27 MB / 0.5394 GB, free: 6.535 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.782e-05/0.3277, allocations: 58.36 kB / 0.5395 GB, free: 6.469 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004153/0.3281, allocations: 227.6 kB / 0.5397 GB, free: 6.305 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.11e-05/0.3282, allocations: 31.08 kB / 0.5397 GB, free: 6.27 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001606/0.3283, allocations: 173.4 kB / 0.5399 GB, free: 6.109 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001371/0.3285, allocations: 103.8 kB / 0.54 GB, free: 6.02 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001525/0.3287, allocations: 51.19 kB / 0.5401 GB, free: 5.98 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001825/0.3289, allocations: 337.1 kB / 0.5404 GB, free: 5.648 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003613/0.3292, allocations: 92.33 kB / 0.5405 GB, free: 5.605 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003926/0.3296, allocations: 123.8 kB / 0.5406 GB, free: 5.531 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007357/0.3304, allocations: 241 kB / 0.5408 GB, free: 5.402 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.118e-06/0.3304, allocations: 3.938 kB / 0.5408 GB, free: 5.398 MB / 398.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.002856/0.3333, allocations: 0.5452 MB / 0.5413 GB, free: 5.086 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.614e-05/0.3333, allocations: 5.469 kB / 0.5414 GB, free: 5.086 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.152e-05/0.3333, allocations: 3.984 kB / 0.5414 GB, free: 5.082 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002577/0.3359, allocations: 315.4 kB / 0.5417 GB, free: 4.926 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002517/0.3362, allocations: 26.27 kB / 0.5417 GB, free: 4.918 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0111/0.3473, allocations: 6.843 MB / 0.5484 GB, free: 14.37 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003802/0.3477, allocations: 23.31 kB / 0.5484 GB, free: 14.36 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.014e-05/0.3478, allocations: 14.64 kB / 0.5484 GB, free: 14.35 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (15): * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 4 systems {(1,5), (1,5), (1,5), (1,5)} Notification: Performance of prepare postOptimizeDAE: time 0.0002546/0.348, allocations: 142.5 kB / 0.5485 GB, free: 14.21 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001029/0.3482, allocations: 27.84 kB / 0.5486 GB, free: 14.2 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002703/0.3509, allocations: 0.5551 MB / 0.5491 GB, free: 13.77 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.95e-06/0.3509, allocations: 4 kB / 0.5491 GB, free: 13.77 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.149e-06/0.3509, allocations: 3.938 kB / 0.5491 GB, free: 13.76 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.165e-06/0.3509, allocations: 8 kB / 0.5491 GB, free: 13.75 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006625/0.3516, allocations: 357.2 kB / 0.5495 GB, free: 13.36 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.438e-06/0.3516, allocations: 4 kB / 0.5495 GB, free: 13.36 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000172/0.3518, allocations: 23.91 kB / 0.5495 GB, free: 13.33 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002306/0.3541, allocations: 311.1 kB / 0.5498 GB, free: 13.02 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.086e-05/0.3542, allocations: 8 kB / 0.5498 GB, free: 13.01 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009865/0.3641, allocations: 6.889 MB / 0.5565 GB, free: 5.555 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.3641, allocations: 0 / 0.5565 GB, free: 5.555 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002725/0.3668, allocations: 0.6234 MB / 0.5571 GB, free: 4.902 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001329/0.367, allocations: 116.8 kB / 0.5572 GB, free: 4.77 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.981e-05/0.3671, allocations: 4 kB / 0.5572 GB, free: 4.766 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000336/0.3674, allocations: 19.98 kB / 0.5573 GB, free: 4.746 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001677/0.3676, allocations: 31.95 kB / 0.5573 GB, free: 4.715 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.162e-05/0.3676, allocations: 8 kB / 0.5573 GB, free: 4.707 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002427/0.3679, allocations: 173.9 kB / 0.5575 GB, free: 4.539 MB / 414.1 MB Notification: Performance of sort global known variables: time 3.11e-07/0.3679, allocations: 0 / 0.5575 GB, free: 4.539 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0009437/0.3689, allocations: 119.8 kB / 0.5576 GB, free: 4.422 MB / 414.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 (11): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 4 systems {(2,4), (2,4), (2,4), (1,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0027/0.3716, allocations: 1.16 MB / 0.5587 GB, free: 3.223 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001108/0.3727, allocations: 0.7608 MB / 0.5595 GB, free: 2.41 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/0.3727, allocations: 4 kB / 0.5595 GB, free: 2.406 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00129/0.374, allocations: 0.7328 MB / 0.5602 GB, free: 1.621 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003571/0.3744, allocations: 24.55 kB / 0.5602 GB, free: 1.594 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006573/0.381, allocations: 3.167 MB / 0.5633 GB, free: 14.3 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003686/0.3814, allocations: 0.7756 MB / 0.5641 GB, free: 13.5 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 7.293e-05/0.3815, allocations: 5.969 kB / 0.5641 GB, free: 13.5 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000124/0.3816, allocations: 79.41 kB / 0.5641 GB, free: 13.42 MB / 430.1 MB Notification: Performance of SimCode: time 6.42e-07/0.3816, allocations: 8 kB / 0.5641 GB, free: 13.41 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04483/0.4264, allocations: 11.28 MB / 0.5752 GB, free: 2.293 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.98/12.4, allocations: 7.531 kB / 0.5752 GB, free: 2.289 MB / 430.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Magnetic_FluxTubes_Shapes_FixedShape_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-05 ModelicaTest_trunk_ModelicaTest_Magnetic_FluxTubes_Shapes_FixedShape.fmu > ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Magnetic/FluxTubes/Shapes/FixedShape/FixedShape.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches