Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage.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.Leakage,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Magnetic_FluxTubes_Shapes_Leakage",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Magnetic_FluxTubes_Shapes_Leakage",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00116/0.00116, allocations: 102.4 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001288/0.001288, allocations: 216.5 kB / 18.58 MB, free: 4.406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.313/1.313, allocations: 227.4 MB / 246.8 MB, free: 10.57 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.198/0.198, allocations: 46.09 MB / 344.1 MB, free: 11.62 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001206/0.001206, allocations: 71.94 kB / 417.7 MB, free: 19.67 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08104/0.08226, allocations: 62.45 MB / 480.1 MB, free: 5.203 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage): time 0.002947/0.08524, allocations: 2.361 MB / 482.5 MB, free: 2.824 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009114/0.08617, allocations: 0.6584 MB / 483.2 MB, free: 2.16 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.296e-05/0.08626, allocations: 4 kB / 483.2 MB, free: 2.156 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 7.514e-05/0.08635, allocations: 39.58 kB / 483.2 MB, free: 2.117 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001565/0.08651, allocations: 75.28 kB / 483.3 MB, free: 2.043 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002213/0.08674, allocations: 95.86 kB / 483.4 MB, free: 1.949 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002381/0.08698, allocations: 343.2 kB / 483.7 MB, free: 1.613 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002145/0.0872, allocations: 159.4 kB / 483.9 MB, free: 1.457 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001801/0.08739, allocations: 143.6 kB / 484 MB, free: 1.316 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001568/0.08756, allocations: 155.4 kB / 484.1 MB, free: 1.164 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.433e-05/0.08761, allocations: 36 kB / 484.2 MB, free: 1.129 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.794e-05/0.08768, allocations: 36 kB / 484.2 MB, free: 1.094 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.553e-05/0.08773, allocations: 67.77 kB / 484.3 MB, free: 1.027 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001108/0.08785, allocations: 159.2 kB / 484.4 MB, free: 0.8711 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002683/0.08812, allocations: 378.9 kB / 484.8 MB, free: 0.5 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.935e-06/0.08813, allocations: 0 / 484.8 MB, free: 0.5 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.062e-06/0.08814, allocations: 0 / 484.8 MB, free: 0.5 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.281e-06/0.08815, allocations: 3.938 kB / 484.8 MB, free: 0.4961 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.0007382/0.0889, allocations: 0.5811 MB / 485.4 MB, free: 15.87 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.93e-05/0.08893, allocations: 8.031 kB / 485.4 MB, free: 15.86 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.068e-05/0.089, allocations: 74.72 kB / 485.5 MB, free: 15.78 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002482/0.08925, allocations: 44.55 kB / 485.5 MB, free: 15.73 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001315/0.08939, allocations: 203.9 kB / 485.7 MB, free: 15.5 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.766e-05/0.08948, allocations: 25.2 kB / 485.7 MB, free: 15.47 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.674e-05/0.08952, allocations: 32.38 kB / 485.8 MB, free: 15.44 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00039/0.08992, allocations: 278 kB / 486 MB, free: 15.16 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.626e-06/0.08993, allocations: 4 kB / 486.1 MB, free: 15.16 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.458e-05/0.08996, allocations: 8 kB / 486.1 MB, free: 15.15 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.045e-06/0.08998, allocations: 15.94 kB / 486.1 MB, free: 15.14 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003427/0.09032, allocations: 218.5 kB / 486.3 MB, free: 14.92 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001358/0.09169, allocations: 1.02 MB / 487.3 MB, free: 13.84 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.197e-05/0.09176, allocations: 38.52 kB / 487.3 MB, free: 13.8 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.266e-05/0.09181, allocations: 20.92 kB / 487.4 MB, free: 13.77 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.055e-05/0.09183, allocations: 0 / 487.4 MB, free: 13.77 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.659e-05/0.09185, allocations: 38.44 kB / 487.4 MB, free: 13.73 MB / 366.1 MB Notification: Performance of pre-optimization done (n=2): time 9.42e-07/0.09185, allocations: 0 / 487.4 MB, free: 13.73 MB / 366.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001685/0.09203, allocations: 77.41 kB / 487.5 MB, free: 13.64 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.379e-05/0.09206, allocations: 51.41 kB / 487.5 MB, free: 13.58 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003017/0.09237, allocations: 323 kB / 487.8 MB, free: 13.26 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.375e-05/0.09239, allocations: 25.7 kB / 487.9 MB, free: 13.23 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001076/0.0925, allocations: 234.8 kB / 488.1 MB, free: 13 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.219e-05/0.09252, allocations: 11.91 kB / 488.1 MB, free: 12.98 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.451e-05/0.0926, allocations: 61.55 kB / 488.2 MB, free: 12.92 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 8.951e-05/0.09269, allocations: 334.8 kB / 488.5 MB, free: 12.58 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001207/0.09282, allocations: 63.97 kB / 488.6 MB, free: 12.52 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001266/0.09295, allocations: 97.67 kB / 488.7 MB, free: 12.42 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001782/0.09314, allocations: 125.7 kB / 488.8 MB, free: 12.29 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.09315, allocations: 0 / 488.8 MB, free: 12.29 MB / 366.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003429/0.09349, allocations: 237.8 kB / 489 MB, free: 12.05 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.43e-05/0.09352, allocations: 11.94 kB / 489 MB, free: 12.04 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.338e-06/0.09353, allocations: 0 / 489 MB, free: 12.04 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.074e-05/0.09354, allocations: 0 / 489 MB, free: 12.04 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002675/0.09381, allocations: 55.91 kB / 489.1 MB, free: 11.98 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.932e-06/0.09383, allocations: 4.031 kB / 489.1 MB, free: 11.98 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002254/0.09406, allocations: 43.52 kB / 489.1 MB, free: 11.94 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.354e-05/0.09408, allocations: 8 kB / 489.1 MB, free: 11.93 MB / 366.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 (30): * Single equations (assignments): 30 * 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.468e-05/0.09418, allocations: 133.8 kB / 489.3 MB, free: 11.79 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.858e-05/0.09422, allocations: 19.75 kB / 489.3 MB, free: 11.77 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.869e-05/0.09426, allocations: 28.88 kB / 489.3 MB, free: 11.74 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.443e-06/0.09427, allocations: 3.938 kB / 489.3 MB, free: 11.73 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.146e-06/0.09428, allocations: 0 / 489.3 MB, free: 11.73 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.164e-06/0.09429, allocations: 4 kB / 489.3 MB, free: 11.73 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005144/0.0948, allocations: 0.511 MB / 489.8 MB, free: 11.16 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.09482, allocations: 0 / 489.8 MB, free: 11.16 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.858e-05/0.09485, allocations: 4 kB / 489.8 MB, free: 11.15 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.963e-06/0.09486, allocations: 0 / 489.8 MB, free: 11.15 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.76e-06/0.09487, allocations: 0 / 489.8 MB, free: 11.15 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.635e-06/0.09487, allocations: 0 / 489.8 MB, free: 11.15 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.933e-06/0.09488, allocations: 11.92 kB / 489.8 MB, free: 11.14 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001027/0.09499, allocations: 101.8 kB / 489.9 MB, free: 11.02 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.508e-05/0.09506, allocations: 100.8 kB / 490 MB, free: 10.9 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.197e-05/0.0951, allocations: 7.938 kB / 490.1 MB, free: 10.89 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001041/0.09521, allocations: 0 / 490.1 MB, free: 10.89 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.046e-05/0.09523, allocations: 0 / 490.1 MB, free: 10.89 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.819e-06/0.09523, allocations: 4 kB / 490.1 MB, free: 10.89 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002101/0.09545, allocations: 230 kB / 490.3 MB, free: 10.66 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.09546, allocations: 0 / 490.3 MB, free: 10.66 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002349/0.0957, allocations: 63.84 kB / 490.3 MB, free: 10.6 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (2): * Single equations (assignments): 2 * 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.0003027/0.09601, allocations: 0.6326 MB / 491 MB, free: 9.938 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002128/0.09623, allocations: 119.8 kB / 491.1 MB, free: 9.82 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.09624, allocations: 0 / 491.1 MB, free: 9.82 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 2.331e-05/0.09627, allocations: 15.98 kB / 491.1 MB, free: 9.805 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002243/0.0965, allocations: 24.83 kB / 491.1 MB, free: 9.781 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002225/0.09873, allocations: 2.235 MB / 493.4 MB, free: 7.449 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002505/0.099, allocations: 0.744 MB / 494.1 MB, free: 6.676 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001089/0.09911, allocations: 25.92 kB / 494.1 MB, free: 6.652 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.728e-05/0.09921, allocations: 71.42 kB / 494.2 MB, free: 6.582 MB / 366.1 MB Notification: Performance of SimCode: time 3.11e-07/0.09921, allocations: 0 / 494.2 MB, free: 6.582 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01721/0.1164, allocations: 4.043 MB / 498.2 MB, free: 2.625 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.886/9.003, allocations: 8.5 kB / 498.3 MB, free: 2.621 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Magnetic_FluxTubes_Shapes_Leakage_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-05 ModelicaTest_trunk_ModelicaTest_Magnetic_FluxTubes_Shapes_Leakage.fmu > ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Magnetic/FluxTubes/Shapes/Leakage/Leakage.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches