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.00532/0.00532, allocations: 99.78 kB / 21.96 MB, free: 5.211 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.001271/0.001271, allocations: 213.5 kB / 25.25 MB, free: 3.145 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.39/1.39, allocations: 207.7 MB / 236.1 MB, free: 9.797 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.001619/0.001619, allocations: 59.91 kB / 348 MB, free: 9.887 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3048/0.3065, allocations: 49.15 MB / 397.1 MB, free: 8.895 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.01871/0.3252, allocations: 14.23 MB / 411.4 MB, free: 15.4 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01467/0.3398, allocations: 4.518 MB / 415.9 MB, free: 12.27 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005997/0.3458, allocations: 135.7 kB / 416 MB, free: 12.23 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01903/0.3649, allocations: 6.698 MB / 422.7 MB, free: 7.328 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01093/0.3758, allocations: 1.889 MB / 424.6 MB, free: 5.848 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006346/0.3821, allocations: 1.612 MB / 426.2 MB, free: 4.617 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.01726/0.3994, allocations: 9.504 MB / 435.7 MB, free: 12.46 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03305/0.4324, allocations: 13.59 MB / 449.3 MB, free: 14.71 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01141/0.4439, allocations: 5.389 MB / 454.7 MB, free: 9.305 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01291/0.4568, allocations: 5.938 MB / 460.6 MB, free: 3.348 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.006069/0.4628, allocations: 1.359 MB / 462 MB, free: 1.988 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008646/0.4715, allocations: 1.648 MB / 463.7 MB, free: 348 kB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006136/0.4776, allocations: 2.806 MB / 466.5 MB, free: 13.53 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01013/0.4877, allocations: 4.179 MB / 470.6 MB, free: 9.332 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02498/0.5127, allocations: 18.33 MB / 489 MB, free: 6.945 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.424e-06/0.5127, allocations: 0 / 489 MB, free: 6.945 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.354e-06/0.5127, allocations: 0 / 489 MB, free: 6.945 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.000615/0.5133, allocations: 4 kB / 489 MB, free: 6.941 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.03872/0.5521, allocations: 12.24 MB / 0.4895 GB, free: 10.62 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.783e-05/0.5521, allocations: 11.98 kB / 0.4895 GB, free: 10.61 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0003416/0.5525, allocations: 274 kB / 0.4897 GB, free: 10.34 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005378/0.5578, allocations: 1.521 MB / 0.4912 GB, free: 8.809 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03495/0.5928, allocations: 6.284 MB / 0.4974 GB, free: 2.512 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01266/0.6054, allocations: 5.265 MB / 0.5025 GB, free: 13.18 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000792/0.6062, allocations: 0.6665 MB / 0.5032 GB, free: 12.52 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00368/0.6099, allocations: 0.8827 MB / 0.504 GB, free: 11.63 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03776/0.6477, allocations: 14.95 MB / 0.5186 GB, free: 12.58 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003435/0.648, allocations: 7.953 kB / 0.5186 GB, free: 12.57 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002778/0.6508, allocations: 372 kB / 0.519 GB, free: 12.21 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005842/0.6514, allocations: 0.4953 MB / 0.5195 GB, free: 11.71 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02961/0.681, allocations: 13.53 MB / 0.5327 GB, free: 14.15 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4086/1.09, allocations: 39.81 MB / 0.5715 GB, free: 119 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009118/1.099, allocations: 5.913 MB / 0.5773 GB, free: 118.8 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00415/1.103, allocations: 2.868 MB / 0.5801 GB, free: 118.8 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002777/1.103, allocations: 84.47 kB / 0.5802 GB, free: 118.8 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.757e-05/1.103, allocations: 89.48 kB / 0.5803 GB, free: 118.8 MB / 478.1 MB Notification: Performance of pre-optimization done (n=413): time 7.474e-06/1.103, allocations: 0 / 0.5803 GB, free: 118.8 MB / 478.1 MB Notification: Performance of matching and sorting (n=492): time 0.04115/1.144, allocations: 24.3 MB / 0.604 GB, free: 109.3 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.009e-05/1.144, allocations: 132.1 kB / 0.6041 GB, free: 109.2 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003514/1.148, allocations: 3.153 MB / 0.6072 GB, free: 107.5 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004244/1.148, allocations: 108.8 kB / 0.6073 GB, free: 107.4 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001548/1.15, allocations: 3.84 MB / 0.6111 GB, free: 104.5 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001054/1.151, allocations: 1.745 MB / 0.6128 GB, free: 103 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001473/1.152, allocations: 1.232 MB / 0.614 GB, free: 102.3 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 4.528e-05/1.152, allocations: 305.1 kB / 0.6143 GB, free: 102 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003437/1.156, allocations: 3.267 MB / 0.6175 GB, free: 99.85 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004029/1.16, allocations: 5.376 MB / 0.6227 GB, free: 93.53 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008014/1.168, allocations: 9.253 MB / 0.6318 GB, free: 83.31 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.725e-05/1.168, allocations: 27.94 kB / 0.6318 GB, free: 83.29 MB / 478.1 MB Notification: Performance of matching and sorting (n=826) (initialization): time 0.01403/1.182, allocations: 10.97 MB / 0.6425 GB, free: 72.26 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.073e-05/1.182, allocations: 32 kB / 0.6425 GB, free: 72.23 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001074/1.182, allocations: 68 kB / 0.6426 GB, free: 72.16 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005161/1.187, allocations: 2.196 MB / 0.6447 GB, free: 69.95 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004221/1.192, allocations: 1.314 MB / 0.646 GB, free: 68.64 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02143/1.213, allocations: 21.19 MB / 0.6667 GB, free: 47.02 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004058/1.217, allocations: 383.6 kB / 0.6671 GB, free: 46.64 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005481/1.218, allocations: 292.1 kB / 0.6673 GB, free: 46.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.005419/1.223, allocations: 3.521 MB / 0.6708 GB, free: 42.82 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006908/1.224, allocations: 393.5 kB / 0.6712 GB, free: 42.44 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.012/1.236, allocations: 8.872 MB / 0.6798 GB, free: 33.5 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.009358/1.245, allocations: 7.55 MB / 0.6872 GB, free: 25.89 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.82e-05/1.245, allocations: 24 kB / 0.6872 GB, free: 25.86 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.589e-05/1.245, allocations: 27.89 kB / 0.6872 GB, free: 25.84 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02372/1.269, allocations: 17.8 MB / 0.7046 GB, free: 7.84 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.623e-05/1.269, allocations: 16.03 kB / 0.7046 GB, free: 7.824 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002936/1.272, allocations: 0.8347 MB / 0.7055 GB, free: 6.988 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004989/1.277, allocations: 2.001 MB / 0.7074 GB, free: 4.973 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004575/1.277, allocations: 124 kB / 0.7075 GB, free: 4.852 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02559/1.303, allocations: 19.18 MB / 0.7263 GB, free: 1.223 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.082e-05/1.303, allocations: 27.81 kB / 0.7263 GB, free: 1.195 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0222/1.325, allocations: 13.33 MB / 0.7393 GB, free: 3.328 MB / 0.4982 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003081/1.328, allocations: 1.024 MB / 0.7403 GB, free: 2.301 MB / 0.4982 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007858/1.329, allocations: 116 kB / 0.7404 GB, free: 2.188 MB / 0.4982 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002447/1.331, allocations: 295.7 kB / 0.7407 GB, free: 1.898 MB / 0.4982 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001048/1.332, allocations: 443 kB / 0.7411 GB, free: 1.461 MB / 0.4982 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003424/1.333, allocations: 167.9 kB / 0.7413 GB, free: 1.297 MB / 0.4982 GB Notification: Performance of sorting global known variables: time 0.003352/1.336, allocations: 2.121 MB / 0.7434 GB, free: 15.17 MB / 0.5138 GB Notification: Performance of sort global known variables: time 1e-07/1.336, allocations: 0 / 0.7434 GB, free: 15.17 MB / 0.5138 GB Notification: Performance of remove unused functions: time 0.006592/1.343, allocations: 1.766 MB / 0.7451 GB, free: 13.41 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.2587/1.601, allocations: 14.08 MB / 0.7588 GB, free: 164.3 MB / 0.5138 GB Notification: Performance of simCode: created initialization part: time 0.01807/1.619, allocations: 8.963 MB / 0.7676 GB, free: 163.3 MB / 0.5138 GB Notification: Performance of simCode: created event and clocks part: time 2.77e-05/1.619, allocations: 2.219 kB / 0.7676 GB, free: 163.3 MB / 0.5138 GB Notification: Performance of simCode: created simulation system equations: time 0.009857/1.629, allocations: 4.661 MB / 0.7721 GB, free: 161.6 MB / 0.5138 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005152/1.634, allocations: 0.8307 MB / 0.7729 GB, free: 161.3 MB / 0.5138 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08049/1.715, allocations: 58.04 MB / 0.8296 GB, free: 120.7 MB / 0.5138 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005223/1.72, allocations: 5.67 MB / 0.8352 GB, free: 115 MB / 0.5138 GB Notification: Performance of simCode: alias equations: time 0.004719/1.725, allocations: 2.204 MB / 0.8373 GB, free: 112.8 MB / 0.5138 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003187/1.728, allocations: 3.092 MB / 0.8403 GB, free: 109.7 MB / 0.5138 GB Notification: Performance of SimCode: time 9.92e-07/1.728, allocations: 4 kB / 0.8403 GB, free: 109.7 MB / 0.5138 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4287/2.157, allocations: 135.2 MB / 0.9723 GB, free: 164.3 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 20.15/22.31, allocations: 11.34 kB / 0.9723 GB, free: 164.3 MB / 0.5294 GB " [Timeout remaining time 637] (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: 28.231340402038768]