Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage,fileNamePrefix="Modelica_3_2_3_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_Leakage_GeneralLeakage",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage,fileNamePrefix="Modelica_3_2_3_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_Leakage_GeneralLeakage",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009499/0.00095, allocations: 110.1 kB / 17.16 MB, free: 6.309 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009989/0.0009989, allocations: 194 kB / 18.08 MB, free: 5.414 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.3/1.3, allocations: 205.1 MB / 223.9 MB, free: 12.48 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001117/0.001117, allocations: 55.91 kB / 280.1 MB, free: 3.469 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07781/0.07894, allocations: 46.62 MB / 326.7 MB, free: 4.785 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage): time 0.003717/0.0827, allocations: 2.746 MB / 329.5 MB, free: 2.016 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001658/0.08438, allocations: 1.193 MB / 330.6 MB, free: 0.8164 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001073/0.08451, allocations: 8 kB / 330.7 MB, free: 0.8086 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001226/0.08576, allocations: 0.5721 MB / 331.2 MB, free: 240 kB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002383/0.08601, allocations: 111.3 kB / 331.3 MB, free: 128 kB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001142/0.08716, allocations: 0.6619 MB / 332 MB, free: 15.46 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003442/0.08751, allocations: 282.6 kB / 332.3 MB, free: 15.18 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004376/0.08796, allocations: 239.6 kB / 332.5 MB, free: 14.95 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001653/0.08814, allocations: 131.5 kB / 332.6 MB, free: 14.82 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001858/0.08833, allocations: 167.3 kB / 332.8 MB, free: 14.66 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 3.467e-05/0.08838, allocations: 20 kB / 332.8 MB, free: 14.64 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003508/0.08873, allocations: 159.9 kB / 333 MB, free: 14.48 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 4.64e-05/0.08879, allocations: 55.83 kB / 333 MB, free: 14.43 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000131/0.08893, allocations: 147.2 kB / 333.2 MB, free: 14.29 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005683/0.08951, allocations: 490.4 kB / 333.7 MB, free: 13.8 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.08952, allocations: 0 / 333.7 MB, free: 13.8 MB / 286.1 MB Notification: Performance of FrontEnd: time 9.82e-07/0.08953, allocations: 0 / 333.7 MB, free: 13.8 MB / 286.1 MB Notification: Performance of Transformations before backend: time 6.342e-06/0.08954, allocations: 0 / 333.7 MB, free: 13.8 MB / 286.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 81 * Number of variables: 81 Notification: Performance of Generate backend data structure: time 0.001669/0.09122, allocations: 0.7256 MB / 334.4 MB, free: 13.03 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.947e-05/0.09128, allocations: 8.031 kB / 334.4 MB, free: 13.02 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.742e-05/0.09136, allocations: 70.72 kB / 334.5 MB, free: 12.94 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000802/0.09217, allocations: 124.4 kB / 334.6 MB, free: 12.82 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003403/0.09252, allocations: 264.5 kB / 334.8 MB, free: 12.52 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.268e-05/0.09256, allocations: 21.03 kB / 334.9 MB, free: 12.5 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.858e-05/0.09262, allocations: 36.12 kB / 334.9 MB, free: 12.47 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005485/0.09318, allocations: 333 kB / 335.2 MB, free: 12.13 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.511e-05/0.09321, allocations: 0 / 335.2 MB, free: 12.13 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.172e-05/0.09325, allocations: 16 kB / 335.2 MB, free: 12.12 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.144e-05/0.09326, allocations: 8 kB / 335.2 MB, free: 12.11 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004035/0.09367, allocations: 238.5 kB / 335.5 MB, free: 11.88 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002101/0.09578, allocations: 1.451 MB / 336.9 MB, free: 10.28 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007131/0.09653, allocations: 0.7042 MB / 337.6 MB, free: 9.457 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001635/0.09671, allocations: 108.7 kB / 337.7 MB, free: 9.348 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001141/0.09683, allocations: 85.09 kB / 337.8 MB, free: 9.246 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.087e-05/0.09687, allocations: 42.56 kB / 337.9 MB, free: 9.195 MB / 286.1 MB Notification: Performance of pre-optimization done (n=24): time 1.643e-06/0.09688, allocations: 0 / 337.9 MB, free: 9.195 MB / 286.1 MB Notification: Performance of matching and sorting (n=24): time 0.001262/0.09815, allocations: 487.4 kB / 338.3 MB, free: 8.691 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.775e-05/0.0982, allocations: 51.41 kB / 338.4 MB, free: 8.629 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001852/0.09839, allocations: 179.3 kB / 338.6 MB, free: 8.441 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.449e-05/0.09842, allocations: 33.7 kB / 338.6 MB, free: 8.402 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001262/0.09856, allocations: 183.9 kB / 338.8 MB, free: 8.215 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.195e-05/0.09863, allocations: 78.84 kB / 338.8 MB, free: 8.137 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.521e-05/0.09872, allocations: 53.89 kB / 338.9 MB, free: 8.078 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001428/0.09887, allocations: 326.8 kB / 339.2 MB, free: 7.75 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001167/0.09899, allocations: 68.53 kB / 339.3 MB, free: 7.684 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001665/0.09917, allocations: 128.2 kB / 339.4 MB, free: 7.535 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000294/0.09947, allocations: 224.9 kB / 339.6 MB, free: 7.293 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.09948, allocations: 0 / 339.6 MB, free: 7.293 MB / 286.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0006047/0.1001, allocations: 331.5 kB / 340 MB, free: 6.961 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.171e-05/0.1001, allocations: 11.34 kB / 340 MB, free: 6.953 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.514e-06/0.1001, allocations: 4 kB / 340 MB, free: 6.949 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003219/0.1005, allocations: 72.8 kB / 340 MB, free: 6.875 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001735/0.1007, allocations: 47.92 kB / 340.1 MB, free: 6.828 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002005/0.1027, allocations: 1.827 MB / 341.9 MB, free: 4.867 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001668/0.1029, allocations: 27.69 kB / 341.9 MB, free: 4.84 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.227e-05/0.1029, allocations: 16.05 kB / 342 MB, free: 4.824 MB / 286.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (25): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001871/0.1031, allocations: 145.8 kB / 342.1 MB, free: 4.672 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.994e-05/0.1031, allocations: 15.81 kB / 342.1 MB, free: 4.656 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000566/0.1037, allocations: 292 kB / 342.4 MB, free: 4.363 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.839e-06/0.1037, allocations: 4 kB / 342.4 MB, free: 4.359 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.875e-06/0.1037, allocations: 0 / 342.4 MB, free: 4.359 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.21e-06/0.1038, allocations: 3.984 kB / 342.4 MB, free: 4.355 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001009/0.1048, allocations: 0.6948 MB / 343.1 MB, free: 3.602 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.1048, allocations: 0 / 343.1 MB, free: 3.602 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001268/0.1049, allocations: 27.98 kB / 343.1 MB, free: 3.574 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002473/0.1052, allocations: 80.73 kB / 343.2 MB, free: 3.492 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.227e-05/0.1052, allocations: 4 kB / 343.2 MB, free: 3.488 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001879/0.1071, allocations: 1.827 MB / 345 MB, free: 1.523 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.1071, allocations: 0 / 345 MB, free: 1.523 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006726/0.1078, allocations: 451.9 kB / 345.5 MB, free: 1.062 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001242/0.1079, allocations: 116.8 kB / 345.6 MB, free: 0.9297 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.445e-05/0.108, allocations: 4 kB / 345.6 MB, free: 0.9258 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000118/0.1081, allocations: 4 kB / 345.6 MB, free: 0.9219 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.836e-05/0.1081, allocations: 19.97 kB / 345.6 MB, free: 0.9023 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.118e-05/0.1082, allocations: 4 kB / 345.6 MB, free: 0.8984 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001062/0.1083, allocations: 131.3 kB / 345.8 MB, free: 0.7695 MB / 286.1 MB Notification: Performance of sort global known variables: time 2.21e-07/0.1083, allocations: 0 / 345.8 MB, free: 0.7695 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0005425/0.1088, allocations: 95.73 kB / 345.8 MB, free: 0.6758 MB / 286.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (constantSource.port_p.reference.gamma) * 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 (15): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001108/0.1099, allocations: 0.994 MB / 346.8 MB, free: 15.65 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0006926/0.1107, allocations: 354.4 kB / 347.2 MB, free: 15.29 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.1107, allocations: 0 / 347.2 MB, free: 15.29 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003507/0.111, allocations: 246.9 kB / 347.4 MB, free: 15.04 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004015/0.1114, allocations: 16 kB / 347.4 MB, free: 15.02 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003267/0.1147, allocations: 2.621 MB / 350.1 MB, free: 12.28 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003599/0.1151, allocations: 0.7596 MB / 350.8 MB, free: 11.49 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001178/0.1152, allocations: 25.94 kB / 350.9 MB, free: 11.46 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.743e-05/0.1153, allocations: 67.42 kB / 350.9 MB, free: 11.4 MB / 302.1 MB Notification: Performance of SimCode: time 1.373e-06/0.1154, allocations: 0 / 350.9 MB, free: 11.4 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6896/0.805, allocations: 4.681 MB / 355.6 MB, free: 6.688 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002967/0.8053, allocations: 247.7 kB / 355.8 MB, free: 6.434 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.023/2.828, allocations: 0 / 355.8 MB, free: 6.434 MB / 302.1 MB (rm -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_Leakage_GeneralLeakage_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_Leakage_GeneralLeakage.fmu > Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/Leakage/GeneralLeakage/GeneralLeakage.csv","../files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches