Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.005398/0.005398, allocations: 114 kB / 21.97 MB, free: 5.23 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001579/0.001579, allocations: 207.6 kB / 25.27 MB, free: 3.246 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.345/1.345, allocations: 207.6 MB / 236 MB, free: 9.996 MB / 190.1 MB " [Timeout remaining time 178] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses,fileNamePrefix="Modelica_3_2_3_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_Components_EddyCurrentLosses",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses,fileNamePrefix="Modelica_3_2_3_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_Components_EddyCurrentLosses",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001704/0.001704, allocations: 55.92 kB / 348 MB, free: 10.03 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2429/0.2446, allocations: 49.15 MB / 397.1 MB, free: 9 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.01517/0.2598, allocations: 16.63 MB / 413.8 MB, free: 13 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01257/0.2723, allocations: 4.691 MB / 418.5 MB, free: 9.695 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00498/0.2773, allocations: 132.3 kB / 418.6 MB, free: 9.656 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01716/0.2945, allocations: 7.255 MB / 425.9 MB, free: 4.191 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008401/0.3029, allocations: 1.919 MB / 427.8 MB, free: 2.68 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005022/0.3079, allocations: 1.685 MB / 429.5 MB, free: 1.375 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.01381/0.3217, allocations: 9.521 MB / 439 MB, free: 9.387 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02348/0.3452, allocations: 13.58 MB / 452.6 MB, free: 11.66 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0104/0.3556, allocations: 5.386 MB / 457.9 MB, free: 6.258 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0109/0.3665, allocations: 5.95 MB / 463.9 MB, free: 296 kB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004176/0.3707, allocations: 1.363 MB / 465.2 MB, free: 14.92 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007077/0.3777, allocations: 1.652 MB / 466.9 MB, free: 13.27 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005179/0.3829, allocations: 2.798 MB / 469.7 MB, free: 10.47 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01156/0.3945, allocations: 5.354 MB / 475.1 MB, free: 5.094 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02537/0.4199, allocations: 18.24 MB / 493.3 MB, free: 2.797 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.464e-06/0.4199, allocations: 0 / 493.3 MB, free: 2.797 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.405e-06/0.4199, allocations: 0 / 493.3 MB, free: 2.797 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0005559/0.4204, allocations: 0 / 493.3 MB, free: 2.797 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2497 * Number of variables: 2497 Notification: Performance of Generate backend data structure: time 0.03833/0.4588, allocations: 12.24 MB / 0.4937 GB, free: 6.477 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.445e-05/0.4588, allocations: 15.97 kB / 0.4937 GB, free: 6.461 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0003751/0.4592, allocations: 274 kB / 0.494 GB, free: 6.191 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005822/0.465, allocations: 1.521 MB / 0.4954 GB, free: 4.66 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03491/0.4999, allocations: 6.28 MB / 0.5016 GB, free: 14.37 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01374/0.5137, allocations: 5.254 MB / 0.5067 GB, free: 9.047 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008736/0.5145, allocations: 0.6743 MB / 0.5074 GB, free: 8.371 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003977/0.5185, allocations: 0.8866 MB / 0.5082 GB, free: 7.484 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04036/0.5589, allocations: 14.72 MB / 0.5226 GB, free: 8.715 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004339/0.5593, allocations: 11.95 kB / 0.5226 GB, free: 8.703 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003211/0.5625, allocations: 376 kB / 0.523 GB, free: 8.336 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00059/0.5631, allocations: 0.4915 MB / 0.5235 GB, free: 7.84 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02941/0.5925, allocations: 13.53 MB / 0.5367 GB, free: 10.28 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4122/1.005, allocations: 43.23 MB / 0.5789 GB, free: 121.2 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008602/1.013, allocations: 5.95 MB / 0.5847 GB, free: 119.9 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003416/1.017, allocations: 2.872 MB / 0.5875 GB, free: 118.9 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002559/1.017, allocations: 103.1 kB / 0.5876 GB, free: 118.9 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.339e-05/1.017, allocations: 78 kB / 0.5877 GB, free: 118.8 MB / 478.1 MB Notification: Performance of pre-optimization done (n=413): time 5.871e-06/1.017, allocations: 0 / 0.5877 GB, free: 118.8 MB / 478.1 MB Notification: Performance of matching and sorting (n=492): time 0.0415/1.059, allocations: 24.3 MB / 0.6114 GB, free: 106.6 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.845e-05/1.059, allocations: 129.3 kB / 0.6115 GB, free: 106.4 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003418/1.062, allocations: 3.159 MB / 0.6146 GB, free: 103.3 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006916/1.063, allocations: 101.7 kB / 0.6147 GB, free: 103.2 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001427/1.064, allocations: 3.833 MB / 0.6185 GB, free: 99.74 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001365/1.066, allocations: 1.749 MB / 0.6202 GB, free: 98.02 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001484/1.067, allocations: 1.228 MB / 0.6214 GB, free: 96.78 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 3.624e-05/1.067, allocations: 305.1 kB / 0.6217 GB, free: 96.48 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003446/1.071, allocations: 3.276 MB / 0.6249 GB, free: 93.2 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004137/1.075, allocations: 5.372 MB / 0.6301 GB, free: 86.88 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008529/1.083, allocations: 9.262 MB / 0.6391 GB, free: 76.65 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.093e-05/1.083, allocations: 20 kB / 0.6392 GB, free: 76.63 MB / 478.1 MB Notification: Performance of matching and sorting (n=826) (initialization): time 0.0157/1.099, allocations: 10.96 MB / 0.6499 GB, free: 65.61 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.302e-05/1.099, allocations: 36 kB / 0.6499 GB, free: 65.57 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.648e-05/1.099, allocations: 64 kB / 0.65 GB, free: 65.51 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005192/1.104, allocations: 2.212 MB / 0.6521 GB, free: 63.29 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004453/1.109, allocations: 1.314 MB / 0.6534 GB, free: 61.97 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02293/1.132, allocations: 21.51 MB / 0.6744 GB, free: 40.03 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004201/1.136, allocations: 391.6 kB / 0.6748 GB, free: 39.65 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008127/1.137, allocations: 296 kB / 0.6751 GB, free: 39.36 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 303 * 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 (692): * Single equations (assignments): 686 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(6,24,86.1%), (6,24,100.0%), (5,33,80.0%), (5,33,80.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.005118/1.142, allocations: 3.521 MB / 0.6785 GB, free: 35.82 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008625/1.143, allocations: 393.5 kB / 0.6789 GB, free: 35.44 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01254/1.155, allocations: 8.869 MB / 0.6875 GB, free: 26.5 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.009923/1.165, allocations: 7.553 MB / 0.6949 GB, free: 18.89 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.579e-05/1.165, allocations: 24 kB / 0.6949 GB, free: 18.86 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.728e-05/1.165, allocations: 23.91 kB / 0.695 GB, free: 18.84 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02838/1.194, allocations: 18.49 MB / 0.713 GB, free: 160 kB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.581e-05/1.194, allocations: 19.98 kB / 0.713 GB, free: 140 kB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0034/1.197, allocations: 0.8348 MB / 0.7138 GB, free: 15.3 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006142/1.203, allocations: 2.009 MB / 0.7158 GB, free: 13.27 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006731/1.204, allocations: 123.9 kB / 0.7159 GB, free: 13.15 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02875/1.233, allocations: 19.5 MB / 0.735 GB, free: 9.199 MB / 0.4982 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.098e-05/1.233, allocations: 23.88 kB / 0.735 GB, free: 9.176 MB / 0.4982 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0244/1.257, allocations: 13.33 MB / 0.748 GB, free: 11.31 MB / 0.5138 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003046/1.26, allocations: 1.016 MB / 0.749 GB, free: 10.29 MB / 0.5138 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001243/1.261, allocations: 112 kB / 0.7491 GB, free: 10.18 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003162/1.264, allocations: 299.7 kB / 0.7494 GB, free: 9.887 MB / 0.5138 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001203/1.266, allocations: 431 kB / 0.7498 GB, free: 9.461 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006045/1.266, allocations: 164 kB / 0.75 GB, free: 9.301 MB / 0.5138 GB Notification: Performance of sorting global known variables: time 0.003568/1.27, allocations: 2.125 MB / 0.752 GB, free: 7.172 MB / 0.5138 GB Notification: Performance of sort global known variables: time 7e-08/1.27, allocations: 0 / 0.752 GB, free: 7.172 MB / 0.5138 GB Notification: Performance of remove unused functions: time 0.007235/1.277, allocations: 1.769 MB / 0.7538 GB, free: 5.402 MB / 0.5138 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 64 * Number of states: 2 (sineVoltage_m.plug_p.reference.gamma,sineVoltage_e.plug_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 (444): * Single equations (assignments): 438 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(6,24,91.7%), (6,18,86.1%), (5,33,80.0%), (5,27,80.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.206/1.483, allocations: 14.08 MB / 0.7675 GB, free: 165.7 MB / 0.5138 GB Notification: Performance of simCode: created initialization part: time 0.01477/1.498, allocations: 8.968 MB / 0.7763 GB, free: 162.5 MB / 0.5138 GB Notification: Performance of simCode: created event and clocks part: time 2.146e-05/1.498, allocations: 3.5 kB / 0.7763 GB, free: 162.5 MB / 0.5138 GB Notification: Performance of simCode: created simulation system equations: time 0.007746/1.506, allocations: 4.657 MB / 0.7808 GB, free: 160.6 MB / 0.5138 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003974/1.51, allocations: 0.83 MB / 0.7816 GB, free: 160.2 MB / 0.5138 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07064/1.58, allocations: 58.05 MB / 0.8383 GB, free: 112.6 MB / 0.5138 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005573/1.586, allocations: 6.127 MB / 0.8443 GB, free: 106.5 MB / 0.5138 GB Notification: Performance of simCode: alias equations: time 0.004282/1.59, allocations: 2.204 MB / 0.8465 GB, free: 104.2 MB / 0.5138 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003096/1.593, allocations: 3.092 MB / 0.8495 GB, free: 101.2 MB / 0.5138 GB Notification: Performance of SimCode: time 1.012e-06/1.593, allocations: 4 kB / 0.8495 GB, free: 101.1 MB / 0.5138 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.38/1.973, allocations: 136 MB / 0.9823 GB, free: 168.3 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 19.94/21.92, allocations: 10.86 kB / 0.9823 GB, free: 168.3 MB / 0.5294 GB " [Timeout remaining time 638] (rm -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_Components_EddyCurrentLosses_fmu --startTime=0 --stopTime=40 --stepSize=0.01 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_Components_EddyCurrentLosses.fmu > Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/Components/EddyCurrentLosses/EddyCurrentLosses.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 658] Reference file matches [Calling sys.exit(0), Time elapsed: 27.74384414200904]