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.001307/0.001307, allocations: 114.6 kB / 17.73 MB, free: 5.203 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.001309/0.001309, allocations: 188.2 kB / 18.67 MB, free: 4.273 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.377/1.377, allocations: 205.1 MB / 224.5 MB, free: 12.23 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.001707/0.001707, allocations: 59.92 kB / 328 MB, free: 3.805 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09054/0.09226, allocations: 46.62 MB / 374.7 MB, free: 5.07 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage): time 0.00407/0.09636, allocations: 2.712 MB / 377.4 MB, free: 2.34 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00199/0.09838, allocations: 1.192 MB / 378.6 MB, free: 1.141 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001304/0.09856, allocations: 8 kB / 378.6 MB, free: 1.133 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00153/0.1001, allocations: 0.6145 MB / 379.2 MB, free: 0.5156 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003345/0.1004, allocations: 131 kB / 379.3 MB, free: 396 kB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.1606/0.2611, allocations: 0.6732 MB / 380 MB, free: 9.184 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004012/0.2615, allocations: 291.4 kB / 380.3 MB, free: 9.184 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003897/0.2619, allocations: 269.7 kB / 380.5 MB, free: 9.168 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001553/0.2621, allocations: 131.8 kB / 380.7 MB, free: 9.16 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001757/0.2622, allocations: 169.1 kB / 380.8 MB, free: 9.129 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.575e-05/0.2623, allocations: 26.12 kB / 380.8 MB, free: 9.129 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003525/0.2626, allocations: 176.9 kB / 381 MB, free: 9.129 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.197e-05/0.2627, allocations: 63.94 kB / 381.1 MB, free: 9.117 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 9.949e-05/0.2628, allocations: 141.3 kB / 381.2 MB, free: 9.078 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005683/0.2634, allocations: 0.4982 MB / 381.7 MB, free: 9.016 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.2634, allocations: 0 / 381.7 MB, free: 9.016 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.2634, allocations: 2.531 kB / 381.7 MB, free: 9.016 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.432e-06/0.2634, allocations: 0 / 381.7 MB, free: 9.016 MB / 318.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.001552/0.265, allocations: 0.7234 MB / 382.4 MB, free: 8.559 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.183e-05/0.265, allocations: 12.41 kB / 382.5 MB, free: 8.559 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.166e-05/0.2651, allocations: 69.17 kB / 382.5 MB, free: 8.52 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008502/0.266, allocations: 121.7 kB / 382.6 MB, free: 8.504 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002957/0.2663, allocations: 261.5 kB / 382.9 MB, free: 8.289 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.291e-05/0.2663, allocations: 27.48 kB / 382.9 MB, free: 8.289 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.995e-05/0.2663, allocations: 38.83 kB / 383 MB, free: 8.285 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004782/0.2668, allocations: 332.8 kB / 383.3 MB, free: 8.223 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.809e-05/0.2669, allocations: 4.531 kB / 383.3 MB, free: 8.223 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.698e-05/0.2669, allocations: 14.84 kB / 383.3 MB, free: 8.223 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.738e-06/0.2669, allocations: 9.844 kB / 383.3 MB, free: 8.223 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003691/0.2673, allocations: 239.8 kB / 383.6 MB, free: 8.219 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001623/0.2689, allocations: 1.444 MB / 385 MB, free: 7.324 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005031/0.2694, allocations: 0.6928 MB / 385.7 MB, free: 6.656 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001419/0.2696, allocations: 102.4 kB / 385.8 MB, free: 6.613 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.758e-05/0.2697, allocations: 91.12 kB / 385.9 MB, free: 6.52 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.4e-05/0.2697, allocations: 48.3 kB / 385.9 MB, free: 6.469 MB / 318.1 MB Notification: Performance of pre-optimization done (n=24): time 1.473e-06/0.2697, allocations: 0 / 385.9 MB, free: 6.469 MB / 318.1 MB Notification: Performance of matching and sorting (n=24): time 0.001113/0.2708, allocations: 492.8 kB / 386.4 MB, free: 6.223 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.938e-05/0.2708, allocations: 53.84 kB / 386.5 MB, free: 6.16 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001326/0.271, allocations: 176.3 kB / 386.6 MB, free: 6.027 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.334e-05/0.271, allocations: 30.83 kB / 386.7 MB, free: 5.992 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.505e-05/0.2711, allocations: 183.8 kB / 386.8 MB, free: 5.836 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.504e-05/0.2711, allocations: 93.59 kB / 386.9 MB, free: 5.766 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.142e-05/0.2712, allocations: 50.8 kB / 387 MB, free: 5.734 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.918e-05/0.2713, allocations: 326.8 kB / 387.3 MB, free: 5.414 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001061/0.2714, allocations: 66.66 kB / 387.4 MB, free: 5.391 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001243/0.2715, allocations: 139.4 kB / 387.5 MB, free: 5.289 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000243/0.2717, allocations: 215.5 kB / 387.7 MB, free: 5.148 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.2718, allocations: 1 kB / 387.7 MB, free: 5.148 MB / 318.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0004938/0.2723, allocations: 332.4 kB / 388 MB, free: 5 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.423e-05/0.2723, allocations: 5.594 kB / 388 MB, free: 5 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.081e-06/0.2723, allocations: 2.281 kB / 388 MB, free: 5 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002897/0.2726, allocations: 83.08 kB / 388.1 MB, free: 4.973 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001461/0.2727, allocations: 41.52 kB / 388.2 MB, free: 4.973 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001494/0.2742, allocations: 2.033 MB / 390.2 MB, free: 3.172 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001208/0.2744, allocations: 29.94 kB / 390.2 MB, free: 3.148 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.997e-05/0.2744, allocations: 16.78 kB / 390.2 MB, free: 3.141 MB / 318.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 9.7e-05/0.2745, allocations: 142.1 kB / 390.4 MB, free: 3.008 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.844e-05/0.2745, allocations: 20 kB / 390.4 MB, free: 2.996 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004832/0.275, allocations: 284.7 kB / 390.7 MB, free: 2.859 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.507e-06/0.2751, allocations: 3 kB / 390.7 MB, free: 2.859 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.277e-06/0.2751, allocations: 1.312 kB / 390.7 MB, free: 2.859 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.889e-06/0.2751, allocations: 1.312 kB / 390.7 MB, free: 2.859 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008085/0.2759, allocations: 0.6923 MB / 391.4 MB, free: 2.383 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.2759, allocations: 1.156 kB / 391.4 MB, free: 2.383 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00011/0.276, allocations: 21.91 kB / 391.4 MB, free: 2.383 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002167/0.2762, allocations: 79.94 kB / 391.5 MB, free: 2.355 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.599e-05/0.2763, allocations: 2.578 kB / 391.5 MB, free: 2.355 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001392/0.2777, allocations: 2.03 MB / 393.5 MB, free: 0.5586 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.2777, allocations: 3.938 kB / 393.5 MB, free: 0.5547 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005576/0.2782, allocations: 459.6 kB / 394 MB, free: 284 kB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.258e-05/0.2783, allocations: 115.5 kB / 394.1 MB, free: 164 kB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.368e-05/0.2783, allocations: 6.438 kB / 394.1 MB, free: 160 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001105/0.2785, allocations: 1.547 kB / 394.1 MB, free: 160 kB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.108e-05/0.2785, allocations: 22.83 kB / 394.1 MB, free: 156 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.248e-05/0.2785, allocations: 8.906 kB / 394.1 MB, free: 152 kB / 318.1 MB Notification: Performance of sorting global known variables: time 8.134e-05/0.2786, allocations: 125.1 kB / 394.2 MB, free: 60 kB / 318.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2786, allocations: 0 / 394.2 MB, free: 60 kB / 318.1 MB Notification: Performance of remove unused functions: time 0.0004488/0.2791, allocations: 99.84 kB / 394.3 MB, free: 32 kB / 318.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.001163/0.2802, allocations: 0.9998 MB / 395.3 MB, free: 15.22 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0006263/0.2809, allocations: 351 kB / 395.7 MB, free: 15.02 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.2809, allocations: 0 / 395.7 MB, free: 15.02 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003615/0.2813, allocations: 247.2 kB / 395.9 MB, free: 14.86 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002991/0.2816, allocations: 21.62 kB / 395.9 MB, free: 14.84 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003285/0.2849, allocations: 2.512 MB / 398.5 MB, free: 13.02 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004141/0.2853, allocations: 0.7603 MB / 399.2 MB, free: 12.31 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001004/0.2854, allocations: 28.7 kB / 399.2 MB, free: 12.3 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.975e-05/0.2855, allocations: 70.7 kB / 399.3 MB, free: 12.25 MB / 334.1 MB Notification: Performance of SimCode: time 2.5e-07/0.2855, allocations: 0 / 399.3 MB, free: 12.25 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.735/2.021, allocations: 4.986 MB / 404.3 MB, free: 11.26 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.78/14.8, allocations: 12.89 kB / 404.3 MB, free: 11.25 MB / 334.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