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.001679/0.001679, allocations: 125 kB / 17.79 MB, free: 5.121 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.00194/0.00194, allocations: 190.9 kB / 20.73 MB, free: 2.184 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.416/1.416, allocations: 225.6 MB / 249.1 MB, free: 3.602 MB / 190.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.001758/0.001758, allocations: 51.92 kB / 365.7 MB, free: 0.8867 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1097/0.1114, allocations: 52.13 MB / 417.8 MB, free: 12.66 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.01899/0.1304, allocations: 16.68 MB / 434.5 MB, free: 11.9 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01039/0.1408, allocations: 4.649 MB / 439.1 MB, free: 7.234 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003549/0.1444, allocations: 131.6 kB / 439.2 MB, free: 7.105 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.251/0.3954, allocations: 7.22 MB / 446.5 MB, free: 6.965 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006927/0.4023, allocations: 1.996 MB / 448.5 MB, free: 6.965 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004578/0.4069, allocations: 1.532 MB / 450 MB, free: 6.965 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01376/0.4207, allocations: 9.408 MB / 459.4 MB, free: 6.863 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02828/0.4489, allocations: 16.24 MB / 475.6 MB, free: 48 kB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01142/0.4604, allocations: 5.256 MB / 480.9 MB, free: 13.79 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01233/0.4727, allocations: 5.926 MB / 486.8 MB, free: 11.11 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004682/0.4774, allocations: 1.36 MB / 488.2 MB, free: 9.766 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006994/0.4844, allocations: 1.648 MB / 489.8 MB, free: 8.176 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005445/0.4898, allocations: 2.8 MB / 492.6 MB, free: 5.805 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01141/0.5012, allocations: 5.351 MB / 498 MB, free: 0.7617 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02554/0.5268, allocations: 18.4 MB / 0.5043 GB, free: 14.9 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.153e-06/0.5268, allocations: 0 / 0.5043 GB, free: 14.9 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.254e-06/0.5268, allocations: 0 / 0.5043 GB, free: 14.9 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0005719/0.5274, allocations: 3.469 kB / 0.5043 GB, free: 14.9 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.03662/0.564, allocations: 12.33 MB / 0.5163 GB, free: 2.578 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.731e-05/0.564, allocations: 8.031 kB / 0.5163 GB, free: 2.57 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004685/0.5687, allocations: 1.516 MB / 0.5178 GB, free: 1.051 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03564/0.6044, allocations: 6.28 MB / 0.5239 GB, free: 10.84 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01729/0.6216, allocations: 5.836 MB / 0.5296 GB, free: 5.211 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008889/0.6225, allocations: 0.6681 MB / 0.5303 GB, free: 4.551 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005166/0.6277, allocations: 0.8803 MB / 0.5312 GB, free: 3.68 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04186/0.6696, allocations: 14.72 MB / 0.5455 GB, free: 4.945 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004314/0.67, allocations: 7.953 kB / 0.5455 GB, free: 4.938 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003575/0.6736, allocations: 373.2 kB / 0.5459 GB, free: 4.582 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006383/0.6742, allocations: 0.4965 MB / 0.5464 GB, free: 4.082 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03367/0.7079, allocations: 13.53 MB / 0.5596 GB, free: 6.527 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09902/0.8069, allocations: 44.22 MB / 0.6028 GB, free: 9.77 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01543/0.8223, allocations: 11.24 MB / 0.6137 GB, free: 13.44 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005963/0.8283, allocations: 2.866 MB / 0.6165 GB, free: 10.57 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000517/0.8288, allocations: 186.6 kB / 0.6167 GB, free: 10.38 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.631e-05/0.8289, allocations: 82.5 kB / 0.6168 GB, free: 10.29 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=409): time 6.913e-06/0.8289, allocations: 0 / 0.6168 GB, free: 10.29 MB / 0.5137 GB Notification: Performance of matching and sorting (n=409): time 0.02453/0.8534, allocations: 9.548 MB / 0.6261 GB, free: 0.6953 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001157/0.8535, allocations: 125 kB / 0.6262 GB, free: 0.5547 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.4358/1.289, allocations: 3.157 MB / 0.6293 GB, free: 153.8 MB / 0.5138 GB Notification: Performance of collectPreVariables (initialization): time 0.0008633/1.29, allocations: 90.52 kB / 0.6294 GB, free: 153.8 MB / 0.5138 GB Notification: Performance of collectInitialEqns (initialization): time 0.002488/1.293, allocations: 3.833 MB / 0.6332 GB, free: 152.5 MB / 0.5138 GB Notification: Performance of collectInitialBindings (initialization): time 0.001877/1.295, allocations: 1.461 MB / 0.6346 GB, free: 151.8 MB / 0.5138 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002196/1.297, allocations: 1.13 MB / 0.6357 GB, free: 151.7 MB / 0.5138 GB Notification: Performance of setup shared object (initialization): time 5.165e-05/1.297, allocations: 301.1 kB / 0.636 GB, free: 151.4 MB / 0.5138 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00518/1.302, allocations: 2.842 MB / 0.6388 GB, free: 150.8 MB / 0.5138 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007199/1.309, allocations: 4.899 MB / 0.6435 GB, free: 147.3 MB / 0.5138 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01182/1.321, allocations: 8.254 MB / 0.6516 GB, free: 142.1 MB / 0.5138 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001771/1.321, allocations: 18.34 kB / 0.6516 GB, free: 142.1 MB / 0.5138 GB Notification: Performance of matching and sorting (n=743) (initialization): time 0.01981/1.341, allocations: 9.091 MB / 0.6605 GB, free: 138.6 MB / 0.5138 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001214/1.341, allocations: 35.59 kB / 0.6605 GB, free: 138.6 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001425/1.341, allocations: 68.09 kB / 0.6606 GB, free: 138.6 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003184/1.344, allocations: 1.14 MB / 0.6617 GB, free: 138.4 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005327/1.35, allocations: 1.288 MB / 0.663 GB, free: 138.3 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01307/1.363, allocations: 10.83 MB / 0.6735 GB, free: 132 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004993/1.368, allocations: 0.7521 MB / 0.6743 GB, free: 131.5 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001181/1.369, allocations: 277.3 kB / 0.6745 GB, free: 131.5 MB / 0.5138 GB 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.00688/1.376, allocations: 3.425 MB / 0.6779 GB, free: 129.9 MB / 0.5138 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001018/1.377, allocations: 364.1 kB / 0.6782 GB, free: 129.7 MB / 0.5138 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01073/1.388, allocations: 6.873 MB / 0.6849 GB, free: 127.1 MB / 0.5138 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.007788/1.395, allocations: 5.699 MB / 0.6905 GB, free: 123.3 MB / 0.5138 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.384e-05/1.396, allocations: 12 kB / 0.6905 GB, free: 123.3 MB / 0.5138 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.761e-05/1.396, allocations: 26.34 kB / 0.6905 GB, free: 123.3 MB / 0.5138 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02434/1.42, allocations: 15.2 MB / 0.7054 GB, free: 108 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.957e-05/1.42, allocations: 16 kB / 0.7054 GB, free: 108 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003024/1.423, allocations: 0.7956 MB / 0.7062 GB, free: 107.2 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002822/1.426, allocations: 1.056 MB / 0.7072 GB, free: 106.2 MB / 0.5138 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008116/1.427, allocations: 112 kB / 0.7073 GB, free: 106.1 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01161/1.438, allocations: 10.58 MB / 0.7176 GB, free: 95.21 MB / 0.5138 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.211e-05/1.438, allocations: 15.94 kB / 0.7177 GB, free: 95.19 MB / 0.5138 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01399/1.452, allocations: 10.66 MB / 0.7281 GB, free: 84.29 MB / 0.5138 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00267/1.455, allocations: 1.005 MB / 0.7291 GB, free: 83.27 MB / 0.5138 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007275/1.456, allocations: 98.8 kB / 0.7292 GB, free: 83.17 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00219/1.458, allocations: 279.8 kB / 0.7294 GB, free: 82.9 MB / 0.5138 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005527/1.458, allocations: 339.2 kB / 0.7297 GB, free: 82.57 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002388/1.459, allocations: 140 kB / 0.7299 GB, free: 82.43 MB / 0.5138 GB Notification: Performance of sorting global known variables: time 0.002483/1.461, allocations: 2.129 MB / 0.732 GB, free: 80.3 MB / 0.5138 GB Notification: Performance of sort global known variables: time 8e-08/1.461, allocations: 0 / 0.732 GB, free: 80.3 MB / 0.5138 GB Notification: Performance of remove unused functions: time 0.006078/1.467, allocations: 2.258 MB / 0.7342 GB, free: 78.03 MB / 0.5138 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.01268/1.48, allocations: 11.41 MB / 0.7453 GB, free: 66.39 MB / 0.5138 GB Notification: Performance of simCode: created initialization part: time 0.01045/1.49, allocations: 7.144 MB / 0.7523 GB, free: 59.23 MB / 0.5138 GB Notification: Performance of simCode: created event and clocks part: time 1.812e-05/1.49, allocations: 4.375 kB / 0.7523 GB, free: 59.22 MB / 0.5138 GB Notification: Performance of simCode: created simulation system equations: time 0.00571/1.496, allocations: 3.407 MB / 0.7556 GB, free: 55.8 MB / 0.5138 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004139/1.5, allocations: 0.8109 MB / 0.7564 GB, free: 55.04 MB / 0.5138 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07178/1.572, allocations: 51.82 MB / 0.807 GB, free: 0.5625 MB / 0.5138 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008342/1.58, allocations: 5.93 MB / 0.8128 GB, free: 10.59 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.00592/1.586, allocations: 2.158 MB / 0.8149 GB, free: 8.43 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005536/1.592, allocations: 3.006 MB / 0.8178 GB, free: 5.422 MB / 0.5294 GB Notification: Performance of SimCode: time 1.783e-06/1.592, allocations: 0 / 0.8178 GB, free: 5.422 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4817/2.073, allocations: 114.9 MB / 0.93 GB, free: 114.6 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.24/20.31, allocations: 8.453 kB / 0.93 GB, free: 114.5 MB / 0.545 GB " [Timeout remaining time 640] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_Components_EddyCurrentLosses_fmu --startTime=0 --stopTime=40 --stepSize=0.01 --timeout=50 --tolerance=1e-06 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.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/Components/EddyCurrentLosses/EddyCurrentLosses.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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 659] Reference file matches [Calling sys.exit(0), Time elapsed: 25.024547941051424]