Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001789/0.001789, allocations: 114 kB / 20.43 MB, free: 1.457 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002167/0.002167, allocations: 214 kB / 23.74 MB, free: 4.672 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.481/1.481, allocations: 230.5 MB / 257.4 MB, free: 7.973 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_Components_EddyCurrentLosses",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_Components_EddyCurrentLosses",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001958/0.001958, allocations: 63.89 kB / 377.8 MB, free: 2.961 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2695/0.2715, allocations: 53.41 MB / 431.2 MB, free: 6.664 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.0213/0.2928, allocations: 16.7 MB / 447.9 MB, free: 5.879 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01094/0.3037, allocations: 4.727 MB / 452.6 MB, free: 1.137 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003465/0.3072, allocations: 155.2 kB / 452.8 MB, free: 0.9844 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01775/0.3249, allocations: 7.245 MB / 460 MB, free: 9.723 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007134/0.3321, allocations: 2.039 MB / 462.1 MB, free: 7.68 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004138/0.3362, allocations: 1.584 MB / 463.7 MB, free: 6.098 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01316/0.3494, allocations: 9.625 MB / 473.3 MB, free: 12.44 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02337/0.3727, allocations: 13.58 MB / 486.9 MB, free: 14.71 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008712/0.3814, allocations: 5.385 MB / 492.2 MB, free: 9.309 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01041/0.3919, allocations: 5.977 MB / 498.2 MB, free: 3.312 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003554/0.3954, allocations: 1.363 MB / 499.6 MB, free: 1.949 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006431/0.4018, allocations: 1.672 MB / 0.4895 GB, free: 284 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006464/0.4083, allocations: 2.798 MB / 0.4922 GB, free: 13.47 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01262/0.4209, allocations: 5.358 MB / 0.4975 GB, free: 8.094 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03269/0.4536, allocations: 18.41 MB / 0.5155 GB, free: 5.629 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.022e-05/0.4536, allocations: 0 / 0.5155 GB, free: 5.629 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.883e-06/0.4536, allocations: 0 / 0.5155 GB, free: 5.629 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.000602/0.4542, allocations: 0 / 0.5155 GB, free: 5.629 MB / 430.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.03829/0.4925, allocations: 12.26 MB / 0.5274 GB, free: 9.293 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.141e-05/0.4926, allocations: 8.031 kB / 0.5274 GB, free: 9.285 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005921/0.4985, allocations: 1.517 MB / 0.5289 GB, free: 7.758 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03804/0.5365, allocations: 6.191 MB / 0.535 GB, free: 1.555 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.4086/0.9452, allocations: 5.919 MB / 0.5407 GB, free: 85.27 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004482/0.9456, allocations: 0.6762 MB / 0.5414 GB, free: 84.97 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002626/0.9482, allocations: 0.8792 MB / 0.5423 GB, free: 84.68 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03144/0.9797, allocations: 14.75 MB / 0.5567 GB, free: 79.16 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003552/0.98, allocations: 11.55 kB / 0.5567 GB, free: 79.16 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002493/0.9825, allocations: 369.9 kB / 0.557 GB, free: 78.88 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004108/0.9829, allocations: 0.492 MB / 0.5575 GB, free: 78.83 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02368/1.007, allocations: 13.57 MB / 0.5708 GB, free: 66.41 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06544/1.072, allocations: 43.5 MB / 0.6132 GB, free: 22.72 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009322/1.081, allocations: 6.013 MB / 0.6191 GB, free: 16.9 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004043/1.085, allocations: 2.863 MB / 0.6219 GB, free: 14.04 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004424/1.086, allocations: 130.5 kB / 0.622 GB, free: 13.93 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.83e-05/1.086, allocations: 82.55 kB / 0.6221 GB, free: 13.84 MB / 446.1 MB Notification: Performance of pre-optimization done (n=409): time 7.634e-06/1.086, allocations: 4 kB / 0.6221 GB, free: 13.84 MB / 446.1 MB Notification: Performance of matching and sorting (n=409): time 0.02082/1.107, allocations: 9.431 MB / 0.6313 GB, free: 4.41 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.108e-05/1.107, allocations: 121 kB / 0.6314 GB, free: 4.273 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005223/1.112, allocations: 3.159 MB / 0.6345 GB, free: 1.141 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0008287/1.113, allocations: 89.7 kB / 0.6346 GB, free: 1.047 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003095/1.116, allocations: 3.839 MB / 0.6384 GB, free: 13.3 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002713/1.119, allocations: 1.461 MB / 0.6398 GB, free: 11.86 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003897/1.123, allocations: 1.148 MB / 0.6409 GB, free: 10.7 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001519/1.123, allocations: 305.1 kB / 0.6412 GB, free: 10.4 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005704/1.128, allocations: 2.845 MB / 0.644 GB, free: 7.551 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008214/1.137, allocations: 4.896 MB / 0.6488 GB, free: 1.711 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01411/1.151, allocations: 8.283 MB / 0.6568 GB, free: 8.492 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.123e-05/1.151, allocations: 20 kB / 0.6569 GB, free: 8.473 MB / 478.1 MB Notification: Performance of matching and sorting (n=743) (initialization): time 0.02145/1.172, allocations: 9.113 MB / 0.6658 GB, free: 15.35 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001013/1.172, allocations: 36.62 kB / 0.6658 GB, free: 15.31 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001376/1.173, allocations: 64 kB / 0.6659 GB, free: 15.25 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003897/1.176, allocations: 1.158 MB / 0.667 GB, free: 14.09 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005451/1.182, allocations: 1.299 MB / 0.6683 GB, free: 12.79 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.018/1.2, allocations: 10.6 MB / 0.6786 GB, free: 1.961 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004915/1.205, allocations: 0.7491 MB / 0.6793 GB, free: 1.207 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001245/1.206, allocations: 280 kB / 0.6796 GB, free: 0.9336 MB / 494.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.007673/1.214, allocations: 3.43 MB / 0.683 GB, free: 13.49 MB / 0.4982 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00139/1.215, allocations: 369.6 kB / 0.6833 GB, free: 13.13 MB / 0.4982 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01572/1.231, allocations: 6.878 MB / 0.69 GB, free: 6.223 MB / 0.4982 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01245/1.243, allocations: 5.721 MB / 0.6956 GB, free: 500 kB / 0.4982 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.085e-05/1.243, allocations: 12 kB / 0.6956 GB, free: 488 kB / 0.4982 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001235/1.243, allocations: 23.92 kB / 0.6957 GB, free: 464 kB / 0.4982 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0425/1.286, allocations: 15.29 MB / 0.7106 GB, free: 0.9141 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.538e-05/1.286, allocations: 12 kB / 0.7106 GB, free: 0.9023 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003819/1.29, allocations: 0.7958 MB / 0.7114 GB, free: 108 kB / 0.5138 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003805/1.294, allocations: 1.06 MB / 0.7124 GB, free: 15.04 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009452/1.295, allocations: 116 kB / 0.7125 GB, free: 14.93 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01723/1.312, allocations: 10.38 MB / 0.7227 GB, free: 4.316 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.117e-05/1.312, allocations: 19.94 kB / 0.7227 GB, free: 4.297 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02281/1.335, allocations: 10.7 MB / 0.7331 GB, free: 9.359 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004602/1.339, allocations: 0.9649 MB / 0.7341 GB, free: 8.391 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001957/1.341, allocations: 95.94 kB / 0.7342 GB, free: 8.297 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003627/1.345, allocations: 271.7 kB / 0.7344 GB, free: 8.031 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001568/1.346, allocations: 367 kB / 0.7348 GB, free: 7.672 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007703/1.347, allocations: 144 kB / 0.7349 GB, free: 7.531 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.004926/1.352, allocations: 2.125 MB / 0.737 GB, free: 5.402 MB / 0.545 GB Notification: Performance of sort global known variables: time 2.3e-07/1.352, allocations: 0 / 0.737 GB, free: 5.402 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.009364/1.361, allocations: 2.255 MB / 0.7392 GB, free: 3.141 MB / 0.545 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.2699/1.631, allocations: 11.43 MB / 0.7503 GB, free: 175.8 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01089/1.642, allocations: 7.174 MB / 0.7574 GB, free: 173.2 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.642e-05/1.642, allocations: 0 / 0.7574 GB, free: 173.2 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.005359/1.648, allocations: 3.413 MB / 0.7607 GB, free: 171.9 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004132/1.652, allocations: 0.8045 MB / 0.7615 GB, free: 171.6 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07411/1.726, allocations: 51.93 MB / 0.8122 GB, free: 131.3 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007459/1.733, allocations: 5.938 MB / 0.818 GB, free: 125.3 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.00514/1.738, allocations: 2.158 MB / 0.8201 GB, free: 123.2 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004216/1.743, allocations: 3.03 MB / 0.823 GB, free: 120.1 MB / 0.545 GB Notification: Performance of SimCode: time 1.483e-06/1.743, allocations: 4 kB / 0.8231 GB, free: 120.1 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1705/1.913, allocations: 120.7 MB / 0.9409 GB, free: 15.85 MB / 0.5607 GB Notification: Performance of buildModelFMU: Generate platform static: time 20.61/22.52, allocations: 7.719 kB / 0.9409 GB, free: 15.84 MB / 0.5607 GB " [Timeout remaining time 637] (rm -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.sim & python3 -m fmpy simulate --output-file Modelica_trunk_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_trunk_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_Components_EddyCurrentLosses.fmu > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/Components/EddyCurrentLosses/EddyCurrentLosses.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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: 25.489091939998616]