Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4_0_0_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_Leakage_GeneralLeakage",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage,fileNamePrefix="Modelica_4_0_0_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.001163/0.001163, allocations: 108.5 kB / 17.06 MB, free: 6.016 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.001144/0.001144, allocations: 192 kB / 18 MB, free: 5.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.219/1.219, allocations: 222.9 MB / 241.7 MB, free: 15.15 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001176/0.001176, allocations: 39.94 kB / 350.8 MB, free: 3.766 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3524/0.3535, allocations: 49.45 MB / 400.2 MB, free: 8.422 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage): time 0.004061/0.3577, allocations: 2.831 MB / 403.1 MB, free: 5.984 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002175/0.3598, allocations: 1.152 MB / 404.2 MB, free: 4.828 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003542/0.3602, allocations: 8 kB / 404.2 MB, free: 4.82 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001602/0.3619, allocations: 0.6243 MB / 404.9 MB, free: 4.195 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005524/0.3624, allocations: 131.1 kB / 405 MB, free: 4.066 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001491/0.3639, allocations: 0.6805 MB / 405.7 MB, free: 3.387 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006069/0.3645, allocations: 306.6 kB / 406 MB, free: 3.086 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005474/0.3651, allocations: 264.5 kB / 406.2 MB, free: 2.824 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003197/0.3654, allocations: 131.5 kB / 406.3 MB, free: 2.695 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003497/0.3658, allocations: 167.4 kB / 406.5 MB, free: 2.531 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.525e-05/0.3659, allocations: 24 kB / 406.5 MB, free: 2.508 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000543/0.3664, allocations: 183.8 kB / 406.7 MB, free: 2.328 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.273e-05/0.3665, allocations: 63.78 kB / 406.8 MB, free: 2.266 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001671/0.3667, allocations: 147.3 kB / 406.9 MB, free: 2.121 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008761/0.3676, allocations: 0.4945 MB / 407.4 MB, free: 1.625 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.628e-06/0.3676, allocations: 0 / 407.4 MB, free: 1.625 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.276e-06/0.3676, allocations: 3.984 kB / 407.4 MB, free: 1.621 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.235e-05/0.3676, allocations: 0 / 407.4 MB, free: 1.621 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.001904/0.3695, allocations: 0.7217 MB / 408.1 MB, free: 0.8516 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.72e-05/0.3696, allocations: 8.031 kB / 408.1 MB, free: 0.8438 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001084/0.3697, allocations: 70.72 kB / 408.2 MB, free: 0.7656 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008258/0.3705, allocations: 116.4 kB / 408.3 MB, free: 0.6523 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004545/0.371, allocations: 260.5 kB / 408.6 MB, free: 368 kB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.168e-05/0.371, allocations: 29.03 kB / 408.6 MB, free: 340 kB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.325e-05/0.3711, allocations: 32.12 kB / 408.6 MB, free: 308 kB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006478/0.3718, allocations: 341 kB / 409 MB, free: 15.95 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.316e-05/0.3718, allocations: 0 / 409 MB, free: 15.95 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.36e-05/0.3718, allocations: 12 kB / 409 MB, free: 15.94 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.293e-05/0.3719, allocations: 8 kB / 409 MB, free: 15.93 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004971/0.3724, allocations: 242.5 kB / 409.2 MB, free: 15.7 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002302/0.3747, allocations: 1.443 MB / 410.7 MB, free: 14.12 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007748/0.3755, allocations: 0.6904 MB / 411.4 MB, free: 13.3 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001752/0.3756, allocations: 108.8 kB / 411.5 MB, free: 13.2 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001112/0.3758, allocations: 85.05 kB / 411.6 MB, free: 13.09 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.902e-05/0.3758, allocations: 46.5 kB / 411.6 MB, free: 13.04 MB / 334.1 MB Notification: Performance of pre-optimization done (n=24): time 1.493e-06/0.3758, allocations: 0 / 411.6 MB, free: 13.04 MB / 334.1 MB Notification: Performance of matching and sorting (n=24): time 0.001242/0.3771, allocations: 487.4 kB / 412.1 MB, free: 12.54 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001162/0.3772, allocations: 51.41 kB / 412.1 MB, free: 12.47 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001933/0.3774, allocations: 176 kB / 412.3 MB, free: 12.29 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.416e-05/0.3774, allocations: 33.7 kB / 412.3 MB, free: 12.25 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001137/0.3775, allocations: 180 kB / 412.5 MB, free: 12.07 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001325/0.3777, allocations: 78.75 kB / 412.6 MB, free: 11.99 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001008/0.3778, allocations: 57.89 kB / 412.6 MB, free: 11.93 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001965/0.378, allocations: 326.8 kB / 413 MB, free: 11.6 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001879/0.3782, allocations: 72.47 kB / 413 MB, free: 11.53 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001651/0.3784, allocations: 133 kB / 413.2 MB, free: 11.38 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003055/0.3787, allocations: 212.1 kB / 413.4 MB, free: 11.14 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.025e-06/0.3787, allocations: 0 / 413.4 MB, free: 11.14 MB / 334.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005905/0.3793, allocations: 324.5 kB / 413.7 MB, free: 10.82 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.111e-05/0.3793, allocations: 8.219 kB / 413.7 MB, free: 10.81 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.778e-06/0.3793, allocations: 8 kB / 413.7 MB, free: 10.8 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003346/0.3797, allocations: 76.73 kB / 413.8 MB, free: 10.73 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000189/0.3799, allocations: 47.92 kB / 413.8 MB, free: 10.68 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002536/0.3824, allocations: 2.037 MB / 415.9 MB, free: 8.5 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001433/0.3826, allocations: 27.75 kB / 415.9 MB, free: 8.473 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.871e-05/0.3826, allocations: 8 kB / 415.9 MB, free: 8.465 MB / 334.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.0001531/0.3828, allocations: 149.8 kB / 416 MB, free: 8.309 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.597e-05/0.3828, allocations: 19.75 kB / 416.1 MB, free: 8.289 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000527/0.3834, allocations: 285.7 kB / 416.3 MB, free: 8 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.875e-06/0.3834, allocations: 0 / 416.3 MB, free: 8 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.3834, allocations: 4 kB / 416.3 MB, free: 7.996 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.596e-06/0.3834, allocations: 0 / 416.3 MB, free: 7.996 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000887/0.3843, allocations: 0.6891 MB / 417 MB, free: 7.246 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.3843, allocations: 0 / 417 MB, free: 7.246 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001102/0.3844, allocations: 31.98 kB / 417.1 MB, free: 7.215 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002161/0.3846, allocations: 68.81 kB / 417.1 MB, free: 7.145 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.715e-05/0.3847, allocations: 7.984 kB / 417.1 MB, free: 7.137 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001701/0.3864, allocations: 2.03 MB / 419.2 MB, free: 4.969 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.467e-06/0.3864, allocations: 4.062 kB / 419.2 MB, free: 4.965 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005705/0.387, allocations: 444.4 kB / 419.6 MB, free: 4.512 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.342e-05/0.3871, allocations: 112.9 kB / 419.7 MB, free: 4.383 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.177e-05/0.3871, allocations: 4 kB / 419.7 MB, free: 4.379 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001093/0.3872, allocations: 8 kB / 419.7 MB, free: 4.371 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.549e-05/0.3872, allocations: 24.03 kB / 419.8 MB, free: 4.348 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.742e-05/0.3873, allocations: 4 kB / 419.8 MB, free: 4.344 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.766e-05/0.3874, allocations: 127.5 kB / 419.9 MB, free: 4.219 MB / 334.1 MB Notification: Performance of sort global known variables: time 2.11e-07/0.3874, allocations: 0 / 419.9 MB, free: 4.219 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000427/0.3878, allocations: 95.69 kB / 420 MB, free: 4.125 MB / 334.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.000914/0.3887, allocations: 1.015 MB / 421 MB, free: 3.086 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0005501/0.3893, allocations: 354.5 kB / 421.3 MB, free: 2.727 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.968e-06/0.3893, allocations: 0 / 421.3 MB, free: 2.727 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003154/0.3896, allocations: 250.4 kB / 421.6 MB, free: 2.469 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003049/0.3899, allocations: 16 kB / 421.6 MB, free: 2.453 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002854/0.3928, allocations: 2.513 MB / 424.1 MB, free: 15.82 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000296/0.3931, allocations: 0.756 MB / 424.9 MB, free: 15.04 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.547e-05/0.3932, allocations: 21.95 kB / 424.9 MB, free: 15.01 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.44e-05/0.3933, allocations: 71.41 kB / 425 MB, free: 14.94 MB / 350.1 MB Notification: Performance of SimCode: time 2.5e-07/0.3933, allocations: 4 kB / 425 MB, free: 14.94 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6408/1.034, allocations: 5.13 MB / 430.1 MB, free: 9.973 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.54/11.58, allocations: 18.36 kB / 430.1 MB, free: 9.965 MB / 350.1 MB (rm -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_Leakage_GeneralLeakage_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_Leakage_GeneralLeakage.fmu > Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/Leakage/GeneralLeakage/GeneralLeakage.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches