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.001174/0.001174, allocations: 100.1 kB / 17.58 MB, free: 5.422 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.001112/0.001112, allocations: 191.9 kB / 18.51 MB, free: 4.504 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.392/1.392, allocations: 205.1 MB / 224.4 MB, free: 12.32 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.001297/0.001297, allocations: 52.12 kB / 280.8 MB, free: 3.055 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08482/0.08613, allocations: 46.63 MB / 327.4 MB, free: 4.359 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage): time 0.004376/0.09055, allocations: 2.712 MB / 330.1 MB, free: 1.621 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.00235/0.09293, allocations: 1.188 MB / 331.3 MB, free: 436 kB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003713/0.09338, allocations: 8 kB / 331.3 MB, free: 428 kB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001783/0.09518, allocations: 0.6185 MB / 331.9 MB, free: 15.8 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004681/0.09566, allocations: 131 kB / 332 MB, free: 15.67 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001413/0.09709, allocations: 0.6808 MB / 332.7 MB, free: 14.98 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005148/0.09761, allocations: 298.6 kB / 333 MB, free: 14.69 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005289/0.09817, allocations: 275 kB / 333.3 MB, free: 14.43 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002405/0.09842, allocations: 131.5 kB / 333.4 MB, free: 14.3 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002545/0.09869, allocations: 163.4 kB / 333.6 MB, free: 14.14 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 4.649e-05/0.09874, allocations: 28 kB / 333.6 MB, free: 14.11 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004213/0.09917, allocations: 179.8 kB / 333.8 MB, free: 13.93 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 5.467e-05/0.09924, allocations: 59.78 kB / 333.8 MB, free: 13.88 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001609/0.0994, allocations: 147.3 kB / 334 MB, free: 13.73 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006622/0.1001, allocations: 494.5 kB / 334.5 MB, free: 13.25 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.528e-06/0.1001, allocations: 0 / 334.5 MB, free: 13.25 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.1001, allocations: 0 / 334.5 MB, free: 13.25 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.039e-05/0.1001, allocations: 0 / 334.5 MB, free: 13.25 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.001688/0.1018, allocations: 0.7216 MB / 335.2 MB, free: 12.47 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.093e-05/0.1019, allocations: 12.03 kB / 335.2 MB, free: 12.46 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.784e-05/0.1019, allocations: 70.66 kB / 335.3 MB, free: 12.38 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007901/0.1027, allocations: 120.5 kB / 335.4 MB, free: 12.27 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000296/0.103, allocations: 260.5 kB / 335.6 MB, free: 11.97 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.452e-05/0.1031, allocations: 25.03 kB / 335.7 MB, free: 11.95 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.148e-05/0.1031, allocations: 36.06 kB / 335.7 MB, free: 11.91 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004858/0.1036, allocations: 337.1 kB / 336 MB, free: 11.57 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.693e-05/0.1037, allocations: 0 / 336 MB, free: 11.57 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.898e-05/0.1037, allocations: 8 kB / 336 MB, free: 11.57 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.444e-06/0.1037, allocations: 8 kB / 336 MB, free: 11.56 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003984/0.1041, allocations: 246.5 kB / 336.3 MB, free: 11.31 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002157/0.1063, allocations: 1.447 MB / 337.7 MB, free: 9.723 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007284/0.107, allocations: 0.7004 MB / 338.4 MB, free: 8.902 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001675/0.1072, allocations: 108.8 kB / 338.5 MB, free: 8.793 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001043/0.1073, allocations: 85.09 kB / 338.6 MB, free: 8.691 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.775e-05/0.1074, allocations: 38.56 kB / 338.7 MB, free: 8.645 MB / 286.1 MB Notification: Performance of pre-optimization done (n=24): time 1.834e-06/0.1074, allocations: 0 / 338.7 MB, free: 8.645 MB / 286.1 MB Notification: Performance of matching and sorting (n=24): time 0.001211/0.1086, allocations: 495.3 kB / 339.1 MB, free: 8.133 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.12e-05/0.1087, allocations: 55.41 kB / 339.2 MB, free: 8.066 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001563/0.1088, allocations: 171.3 kB / 339.4 MB, free: 7.887 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.047e-05/0.1088, allocations: 29.7 kB / 339.4 MB, free: 7.852 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.76e-05/0.1089, allocations: 179.9 kB / 339.6 MB, free: 7.668 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.552e-05/0.109, allocations: 78.84 kB / 339.6 MB, free: 7.59 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.463e-05/0.1091, allocations: 61.89 kB / 339.7 MB, free: 7.523 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001081/0.1092, allocations: 330.8 kB / 340 MB, free: 7.191 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001094/0.1093, allocations: 64.55 kB / 340.1 MB, free: 7.129 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001497/0.1095, allocations: 128.2 kB / 340.2 MB, free: 6.98 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002927/0.1098, allocations: 216 kB / 340.4 MB, free: 6.746 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.1098, allocations: 0 / 340.4 MB, free: 6.746 MB / 286.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005664/0.1104, allocations: 332.5 kB / 340.8 MB, free: 6.414 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.749e-05/0.1104, allocations: 4 kB / 340.8 MB, free: 6.41 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.999e-06/0.1104, allocations: 4 kB / 340.8 MB, free: 6.406 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003254/0.1108, allocations: 77.03 kB / 340.8 MB, free: 6.328 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001524/0.1109, allocations: 43.91 kB / 340.9 MB, free: 6.285 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001887/0.1128, allocations: 2.037 MB / 342.9 MB, free: 4.109 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001306/0.113, allocations: 27.72 kB / 342.9 MB, free: 4.082 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.821e-05/0.113, allocations: 12 kB / 343 MB, free: 4.07 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.0001336/0.1131, allocations: 145.8 kB / 343.1 MB, free: 3.918 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.631e-05/0.1132, allocations: 19.75 kB / 343.1 MB, free: 3.898 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005443/0.1137, allocations: 292.8 kB / 343.4 MB, free: 3.609 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.869e-06/0.1137, allocations: 4 kB / 343.4 MB, free: 3.605 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.1138, allocations: 4 kB / 343.4 MB, free: 3.602 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.1138, allocations: 0 / 343.4 MB, free: 3.602 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008961/0.1147, allocations: 0.694 MB / 344.1 MB, free: 2.848 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.444e-06/0.1147, allocations: 3.938 kB / 344.1 MB, free: 2.844 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001094/0.1148, allocations: 23.98 kB / 344.1 MB, free: 2.82 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002217/0.115, allocations: 80.75 kB / 344.2 MB, free: 2.738 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.528e-05/0.115, allocations: 4 kB / 344.2 MB, free: 2.734 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001736/0.1168, allocations: 2.034 MB / 346.2 MB, free: 0.5586 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.1168, allocations: 0 / 346.2 MB, free: 0.5586 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005808/0.1174, allocations: 451.8 kB / 346.7 MB, free: 100 kB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.792e-05/0.1175, allocations: 109 kB / 346.8 MB, free: 15.97 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.513e-05/0.1175, allocations: 4 kB / 346.8 MB, free: 15.96 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001361/0.1177, allocations: 8 kB / 346.8 MB, free: 15.96 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.848e-05/0.1177, allocations: 15.97 kB / 346.8 MB, free: 15.94 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.193e-05/0.1177, allocations: 8.062 kB / 346.8 MB, free: 15.93 MB / 302.1 MB Notification: Performance of sorting global known variables: time 9.953e-05/0.1178, allocations: 135.4 kB / 347 MB, free: 15.8 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1178, allocations: 0 / 347 MB, free: 15.8 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004637/0.1183, allocations: 91.75 kB / 347.1 MB, free: 15.71 MB / 302.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.0009219/0.1192, allocations: 0.994 MB / 348 MB, free: 14.69 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.000582/0.1198, allocations: 363 kB / 348.4 MB, free: 14.32 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.1199, allocations: 0 / 348.4 MB, free: 14.32 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003039/0.1202, allocations: 250.3 kB / 348.6 MB, free: 14.06 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003344/0.1205, allocations: 23.22 kB / 348.7 MB, free: 14.04 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002955/0.1235, allocations: 2.502 MB / 351.2 MB, free: 11.41 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003279/0.1238, allocations: 0.7597 MB / 351.9 MB, free: 10.62 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001045/0.1239, allocations: 18.14 kB / 351.9 MB, free: 10.61 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.361e-05/0.124, allocations: 71.41 kB / 352 MB, free: 10.54 MB / 302.1 MB Notification: Performance of SimCode: time 1.523e-06/0.124, allocations: 3.938 kB / 352 MB, free: 10.53 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0263/0.1503, allocations: 4.861 MB / 356.9 MB, free: 5.613 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.104/9.254, allocations: 7.797 kB / 356.9 MB, free: 5.605 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/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