Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001338/0.001338, allocations: 107.5 kB / 20.44 MB, free: 1.188 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001378/0.001378, allocations: 192.1 kB / 23.71 MB, free: 4.406 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.391/1.391, allocations: 225.7 MB / 252.5 MB, free: 12.8 MB / 206.1 MB " [Timeout remaining time 178] 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.FundamentalWave.Examples.Components.EddyCurrentLosses,fileNamePrefix="Modelica_4_0_0_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_Components_EddyCurrentLosses",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses,fileNamePrefix="Modelica_4_0_0_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_Components_EddyCurrentLosses",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001617/0.001617, allocations: 47.92 kB / 370.4 MB, free: 9.668 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2511/0.2527, allocations: 52.19 MB / 422.6 MB, free: 14.39 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.01874/0.2714, allocations: 14.29 MB / 436.9 MB, free: 28 kB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.011/0.2824, allocations: 4.503 MB / 441.4 MB, free: 11.51 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003585/0.286, allocations: 159.2 kB / 441.6 MB, free: 11.36 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01668/0.3027, allocations: 6.682 MB / 448.2 MB, free: 4.66 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007861/0.3105, allocations: 2.017 MB / 450.3 MB, free: 2.637 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005446/0.316, allocations: 1.492 MB / 451.7 MB, free: 1.148 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.01309/0.3291, allocations: 9.536 MB / 461.3 MB, free: 7.578 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02549/0.3546, allocations: 13.45 MB / 474.7 MB, free: 9.969 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00875/0.3633, allocations: 5.393 MB / 480.1 MB, free: 4.562 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01013/0.3734, allocations: 5.801 MB / 485.9 MB, free: 14.74 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004241/0.3777, allocations: 1.359 MB / 487.3 MB, free: 13.38 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005879/0.3836, allocations: 1.625 MB / 488.9 MB, free: 11.76 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005881/0.3894, allocations: 2.802 MB / 491.7 MB, free: 8.949 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0102/0.3996, allocations: 4.187 MB / 495.9 MB, free: 4.746 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02319/0.4228, allocations: 18.48 MB / 0.5023 GB, free: 2.211 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.431e-06/0.4228, allocations: 0 / 0.5023 GB, free: 2.211 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.214e-06/0.4228, allocations: 0 / 0.5023 GB, free: 2.211 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0004514/0.4233, allocations: 0 / 0.5023 GB, free: 2.211 MB / 414.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.03811/0.4614, allocations: 12.25 MB / 0.5143 GB, free: 5.879 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.792e-05/0.4615, allocations: 12.03 kB / 0.5143 GB, free: 5.867 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006351/0.4678, allocations: 1.509 MB / 0.5158 GB, free: 4.348 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03696/0.5048, allocations: 6.284 MB / 0.5219 GB, free: 14.05 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01828/0.5231, allocations: 5.913 MB / 0.5277 GB, free: 8.066 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001044/0.5241, allocations: 0.6704 MB / 0.5283 GB, free: 7.395 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004563/0.5287, allocations: 0.8788 MB / 0.5292 GB, free: 6.516 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3944/0.9231, allocations: 14.94 MB / 0.5438 GB, free: 90.82 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004325/0.9235, allocations: 16.16 kB / 0.5438 GB, free: 90.82 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00259/0.9261, allocations: 369.2 kB / 0.5442 GB, free: 90.54 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004955/0.9266, allocations: 0.4932 MB / 0.5446 GB, free: 90.49 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0219/0.9485, allocations: 13.47 MB / 0.5578 GB, free: 84.51 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06323/1.012, allocations: 40.03 MB / 0.5969 GB, free: 44.36 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009797/1.022, allocations: 5.935 MB / 0.6027 GB, free: 38.64 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004132/1.026, allocations: 2.867 MB / 0.6055 GB, free: 35.77 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004208/1.026, allocations: 87.94 kB / 0.6056 GB, free: 35.69 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7e-05/1.026, allocations: 78.5 kB / 0.6056 GB, free: 35.6 MB / 446.1 MB Notification: Performance of pre-optimization done (n=409): time 7.604e-06/1.026, allocations: 0 / 0.6056 GB, free: 35.6 MB / 446.1 MB Notification: Performance of matching and sorting (n=409): time 0.01967/1.046, allocations: 9.392 MB / 0.6148 GB, free: 26.22 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.093e-05/1.046, allocations: 125.1 kB / 0.6149 GB, free: 26.08 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004345/1.05, allocations: 3.281 MB / 0.6181 GB, free: 22.87 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006013/1.051, allocations: 93.7 kB / 0.6182 GB, free: 22.77 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001577/1.052, allocations: 3.832 MB / 0.622 GB, free: 19.36 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001204/1.054, allocations: 1.463 MB / 0.6234 GB, free: 17.91 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002135/1.056, allocations: 1.132 MB / 0.6245 GB, free: 16.77 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.954e-05/1.056, allocations: 305.1 kB / 0.6248 GB, free: 16.47 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00361/1.059, allocations: 2.838 MB / 0.6276 GB, free: 13.62 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0046/1.064, allocations: 4.896 MB / 0.6323 GB, free: 7.785 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00923/1.073, allocations: 8.267 MB / 0.6404 GB, free: 14.59 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.241e-05/1.073, allocations: 16 kB / 0.6404 GB, free: 14.57 MB / 462.1 MB Notification: Performance of matching and sorting (n=743) (initialization): time 0.01961/1.093, allocations: 9.081 MB / 0.6493 GB, free: 5.473 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001431/1.093, allocations: 36 kB / 0.6493 GB, free: 5.438 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001865/1.093, allocations: 64 kB / 0.6494 GB, free: 5.375 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003712/1.097, allocations: 1.149 MB / 0.6505 GB, free: 4.223 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00515/1.102, allocations: 1.291 MB / 0.6518 GB, free: 2.93 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01689/1.119, allocations: 10.45 MB / 0.662 GB, free: 8.258 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004677/1.124, allocations: 0.7572 MB / 0.6627 GB, free: 7.496 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001227/1.125, allocations: 276 kB / 0.663 GB, free: 7.227 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 (675): * Single equations (assignments): 671 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(6,24,100.0%), (5,33,80.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.01015/1.135, allocations: 3.423 MB / 0.6663 GB, free: 3.789 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00121/1.136, allocations: 365.6 kB / 0.6667 GB, free: 3.43 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01476/1.151, allocations: 6.878 MB / 0.6734 GB, free: 12.52 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01057/1.162, allocations: 5.698 MB / 0.679 GB, free: 6.812 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.1e-05/1.162, allocations: 12 kB / 0.679 GB, free: 6.801 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.109e-05/1.162, allocations: 19.92 kB / 0.679 GB, free: 6.781 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03141/1.193, allocations: 14.71 MB / 0.6933 GB, free: 7.91 MB / 0.4982 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.903e-05/1.193, allocations: 15.94 kB / 0.6934 GB, free: 7.895 MB / 0.4982 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00328/1.196, allocations: 0.7918 MB / 0.6941 GB, free: 7.102 MB / 0.4982 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003426/1.2, allocations: 1.063 MB / 0.6952 GB, free: 6.031 MB / 0.4982 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005465/1.2, allocations: 112 kB / 0.6953 GB, free: 5.922 MB / 0.4982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01609/1.216, allocations: 10.21 MB / 0.7053 GB, free: 11.48 MB / 0.5138 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.619e-05/1.216, allocations: 16.19 kB / 0.7053 GB, free: 11.46 MB / 0.5138 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01891/1.235, allocations: 10.67 MB / 0.7157 GB, free: 0.5547 MB / 0.5138 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00327/1.239, allocations: 0.961 MB / 0.7166 GB, free: 15.59 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001059/1.24, allocations: 108 kB / 0.7167 GB, free: 15.48 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003104/1.243, allocations: 271.7 kB / 0.717 GB, free: 15.22 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00113/1.244, allocations: 363 kB / 0.7173 GB, free: 14.86 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005996/1.245, allocations: 136 kB / 0.7175 GB, free: 14.73 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.004608/1.249, allocations: 2.121 MB / 0.7195 GB, free: 12.61 MB / 0.5294 GB Notification: Performance of sort global known variables: time 2.01e-07/1.249, allocations: 4 kB / 0.7195 GB, free: 12.6 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.008097/1.257, allocations: 2.255 MB / 0.7217 GB, free: 10.34 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 58 * 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 (415): * Single equations (assignments): 411 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(6,24,91.7%), (5,33,80.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.02268/1.28, allocations: 11.41 MB / 0.7329 GB, free: 14.69 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0142/1.294, allocations: 7.139 MB / 0.7399 GB, free: 7.527 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.189e-05/1.294, allocations: 4.5 kB / 0.7399 GB, free: 7.523 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.007543/1.302, allocations: 3.404 MB / 0.7432 GB, free: 4.098 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007668/1.309, allocations: 0.8015 MB / 0.744 GB, free: 3.301 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2736/1.583, allocations: 51.92 MB / 0.7947 GB, free: 163.5 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006016/1.589, allocations: 5.467 MB / 0.8 GB, free: 158.1 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.004593/1.594, allocations: 2.152 MB / 0.8021 GB, free: 156 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003732/1.597, allocations: 3.014 MB / 0.8051 GB, free: 152.9 MB / 0.545 GB Notification: Performance of SimCode: time 1.182e-06/1.597, allocations: 3.828 kB / 0.8051 GB, free: 152.9 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1652/1.762, allocations: 116.3 MB / 0.9187 GB, free: 37.44 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.83/18.59, allocations: 4 kB / 0.9187 GB, free: 37.43 MB / 0.545 GB " [Timeout remaining time 641] (rm -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.sim & python3 -m fmpy simulate --output-file Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses_res.csv --start-time 0 --stop-time 40 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.01 Modelica_4_0_0_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_Components_EddyCurrentLosses.fmu > Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/Components/EddyCurrentLosses/EddyCurrentLosses.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 21.198333498090506]