Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.001845/0.001845, allocations: 111.1 kB / 20.44 MB, free: 1.176 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.002128/0.002128, allocations: 204.5 kB / 23.73 MB, free: 4.379 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.437/1.437, allocations: 230.6 MB / 257.5 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4_1_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_1_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.001532/0.001532, allocations: 47.92 kB / 377.7 MB, free: 2.945 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2404/0.2419, allocations: 53.37 MB / 431.1 MB, free: 6.633 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.01821/0.2601, allocations: 14.32 MB / 445.4 MB, free: 8.242 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0111/0.2712, allocations: 4.542 MB / 450 MB, free: 3.688 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003262/0.2745, allocations: 163.2 kB / 450.1 MB, free: 3.527 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01706/0.2915, allocations: 6.696 MB / 456.8 MB, free: 12.82 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007096/0.2986, allocations: 2.001 MB / 458.8 MB, free: 10.81 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004053/0.3027, allocations: 1.527 MB / 460.4 MB, free: 9.285 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01276/0.3154, allocations: 9.61 MB / 470 MB, free: 15.64 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02342/0.3389, allocations: 13.58 MB / 483.5 MB, free: 1.902 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008693/0.3476, allocations: 5.393 MB / 488.9 MB, free: 12.5 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01032/0.3579, allocations: 5.981 MB / 494.9 MB, free: 6.496 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0033/0.3612, allocations: 1.359 MB / 496.3 MB, free: 5.137 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004558/0.3657, allocations: 1.664 MB / 497.9 MB, free: 3.473 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003639/0.3694, allocations: 2.794 MB / 0.489 GB, free: 0.6719 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007567/0.3769, allocations: 4.195 MB / 0.4931 GB, free: 12.46 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02111/0.3981, allocations: 18.49 MB / 0.5112 GB, free: 9.914 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.386e-06/0.3981, allocations: 0 / 0.5112 GB, free: 9.914 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.813e-06/0.3981, allocations: 0 / 0.5112 GB, free: 9.914 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0004904/0.3986, allocations: 0 / 0.5112 GB, free: 9.914 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.0373/0.4359, allocations: 12.26 MB / 0.5231 GB, free: 13.58 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.371e-05/0.4359, allocations: 12.03 kB / 0.5231 GB, free: 13.57 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005971/0.4419, allocations: 1.505 MB / 0.5246 GB, free: 12.05 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03698/0.4789, allocations: 6.202 MB / 0.5307 GB, free: 5.836 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.4442/0.9231, allocations: 5.92 MB / 0.5364 GB, free: 87.25 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001047/0.9241, allocations: 0.6725 MB / 0.5371 GB, free: 87.23 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00382/0.928, allocations: 0.8736 MB / 0.538 GB, free: 87.23 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03959/0.9675, allocations: 14.99 MB / 0.5526 GB, free: 81.82 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003245/0.9679, allocations: 7.531 kB / 0.5526 GB, free: 81.82 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002263/0.9701, allocations: 373 kB / 0.553 GB, free: 81.54 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005862/0.9707, allocations: 498.9 kB / 0.5534 GB, free: 81.49 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0305/1.001, allocations: 13.51 MB / 0.5666 GB, free: 69.7 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05807/1.059, allocations: 40.08 MB / 0.6058 GB, free: 29.49 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008093/1.067, allocations: 5.972 MB / 0.6116 GB, free: 23.74 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003174/1.071, allocations: 2.868 MB / 0.6144 GB, free: 20.87 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002843/1.071, allocations: 107.9 kB / 0.6145 GB, free: 20.77 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.659e-05/1.071, allocations: 86.86 kB / 0.6146 GB, free: 20.68 MB / 446.1 MB Notification: Performance of pre-optimization done (n=409): time 7.083e-06/1.071, allocations: 3.938 kB / 0.6146 GB, free: 20.67 MB / 446.1 MB Notification: Performance of matching and sorting (n=409): time 0.0168/1.088, allocations: 9.424 MB / 0.6238 GB, free: 11.26 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.626e-05/1.088, allocations: 125 kB / 0.6239 GB, free: 11.12 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003757/1.091, allocations: 3.278 MB / 0.6271 GB, free: 7.91 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003616/1.092, allocations: 89.7 kB / 0.6272 GB, free: 7.816 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001526/1.093, allocations: 3.835 MB / 0.6309 GB, free: 4.398 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008964/1.094, allocations: 1.465 MB / 0.6324 GB, free: 2.953 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001416/1.096, allocations: 1.14 MB / 0.6335 GB, free: 1.801 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.412e-05/1.096, allocations: 309.1 kB / 0.6338 GB, free: 1.496 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003877/1.1, allocations: 2.849 MB / 0.6366 GB, free: 14.64 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006238/1.106, allocations: 4.904 MB / 0.6413 GB, free: 8.789 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01183/1.118, allocations: 8.271 MB / 0.6494 GB, free: 15.58 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.044e-05/1.118, allocations: 20 kB / 0.6494 GB, free: 15.56 MB / 478.1 MB Notification: Performance of matching and sorting (n=743) (initialization): time 0.01601/1.134, allocations: 9.118 MB / 0.6583 GB, free: 6.43 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.028e-05/1.134, allocations: 36.03 kB / 0.6584 GB, free: 6.395 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001046/1.134, allocations: 68 kB / 0.6584 GB, free: 6.328 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003286/1.137, allocations: 1.142 MB / 0.6596 GB, free: 5.18 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004903/1.142, allocations: 1.295 MB / 0.6608 GB, free: 3.883 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01551/1.158, allocations: 10.45 MB / 0.671 GB, free: 9.207 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00428/1.162, allocations: 0.7452 MB / 0.6718 GB, free: 8.457 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008475/1.163, allocations: 280 kB / 0.672 GB, free: 8.184 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.007496/1.17, allocations: 3.437 MB / 0.6754 GB, free: 4.734 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009643/1.171, allocations: 361.7 kB / 0.6757 GB, free: 4.379 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01287/1.184, allocations: 6.877 MB / 0.6825 GB, free: 13.48 MB / 0.4982 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0101/1.194, allocations: 5.718 MB / 0.688 GB, free: 7.746 MB / 0.4982 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.497e-05/1.194, allocations: 12 kB / 0.688 GB, free: 7.734 MB / 0.4982 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.355e-05/1.194, allocations: 27.91 kB / 0.6881 GB, free: 7.707 MB / 0.4982 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02861/1.223, allocations: 14.75 MB / 0.7025 GB, free: 8.762 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.231e-05/1.223, allocations: 15.98 kB / 0.7025 GB, free: 8.746 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00334/1.226, allocations: 0.7918 MB / 0.7033 GB, free: 7.953 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003314/1.23, allocations: 1.068 MB / 0.7043 GB, free: 6.879 MB / 0.5138 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004841/1.23, allocations: 112 kB / 0.7044 GB, free: 6.77 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01529/1.245, allocations: 10.21 MB / 0.7144 GB, free: 12.33 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.492e-05/1.245, allocations: 15.94 kB / 0.7144 GB, free: 12.31 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0181/1.263, allocations: 10.7 MB / 0.7249 GB, free: 1.371 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003575/1.267, allocations: 0.9687 MB / 0.7258 GB, free: 408 kB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006487/1.268, allocations: 92 kB / 0.7259 GB, free: 316 kB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002258/1.27, allocations: 283.9 kB / 0.7262 GB, free: 32 kB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007518/1.271, allocations: 359.1 kB / 0.7265 GB, free: 15.68 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003014/1.271, allocations: 152 kB / 0.7266 GB, free: 15.53 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.003438/1.274, allocations: 2.129 MB / 0.7287 GB, free: 13.39 MB / 0.545 GB Notification: Performance of sort global known variables: time 8e-08/1.274, allocations: 0 / 0.7287 GB, free: 13.39 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.006584/1.281, allocations: 2.254 MB / 0.7309 GB, free: 11.13 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.263/1.544, allocations: 11.42 MB / 0.7421 GB, free: 179.8 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01351/1.558, allocations: 7.171 MB / 0.7491 GB, free: 179.2 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.097e-05/1.558, allocations: 3.875 kB / 0.7491 GB, free: 179.2 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.00524/1.563, allocations: 3.418 MB / 0.7524 GB, free: 177.8 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003813/1.567, allocations: 0.8053 MB / 0.7532 GB, free: 177.6 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06191/1.629, allocations: 51.87 MB / 0.8039 GB, free: 139.4 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005271/1.634, allocations: 5.464 MB / 0.8092 GB, free: 133.9 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.004425/1.638, allocations: 2.161 MB / 0.8113 GB, free: 131.7 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003848/1.642, allocations: 3.03 MB / 0.8143 GB, free: 128.7 MB / 0.545 GB Notification: Performance of SimCode: time 1.393e-06/1.642, allocations: 0 / 0.8143 GB, free: 128.7 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1622/1.804, allocations: 120.1 MB / 0.9315 GB, free: 9.312 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.2/18.01, allocations: 3.938 kB / 0.9316 GB, free: 9.309 MB / 0.545 GB " [Timeout remaining time 642] (rm -f Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_Components_EddyCurrentLosses_fmu --startTime=0 --stopTime=40 --stepSize=0.01 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_Components_EddyCurrentLosses.fmu > Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses_res.mat","/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_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 659] Reference file matches [Calling sys.exit(0), Time elapsed: 22.197781466005836]