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.001331/0.001331, 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.001461/0.001461, allocations: 214.2 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.46/1.46, allocations: 230.5 MB / 257.4 MB, free: 7.992 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.001875/0.001875, allocations: 59.91 kB / 377.8 MB, free: 2.98 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2586/0.2605, allocations: 53.4 MB / 431.2 MB, free: 6.676 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.01955/0.28, allocations: 16.71 MB / 447.9 MB, free: 5.883 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01087/0.2909, allocations: 4.727 MB / 452.6 MB, free: 1.141 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003105/0.294, allocations: 163.2 kB / 452.8 MB, free: 0.9805 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01726/0.3112, allocations: 7.241 MB / 460 MB, free: 9.723 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00719/0.3184, allocations: 2.039 MB / 462.1 MB, free: 7.68 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004303/0.3227, allocations: 1.58 MB / 463.7 MB, free: 6.102 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01287/0.3356, allocations: 9.61 MB / 473.3 MB, free: 12.46 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02377/0.3594, allocations: 13.59 MB / 486.9 MB, free: 14.72 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008355/0.3677, allocations: 5.378 MB / 492.2 MB, free: 9.328 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01072/0.3784, allocations: 5.985 MB / 498.2 MB, free: 3.324 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004468/0.3829, allocations: 1.359 MB / 499.6 MB, free: 1.965 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005805/0.3887, allocations: 1.672 MB / 0.4895 GB, free: 300 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004781/0.3935, allocations: 2.79 MB / 0.4922 GB, free: 13.5 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.009928/0.4034, allocations: 5.369 MB / 0.4975 GB, free: 8.105 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02308/0.4265, allocations: 18.4 MB / 0.5154 GB, free: 5.645 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.08e-05/0.4265, allocations: 4 kB / 0.5154 GB, free: 5.641 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.883e-06/0.4265, allocations: 0 / 0.5154 GB, free: 5.641 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0005177/0.427, allocations: 0 / 0.5154 GB, free: 5.641 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.03621/0.4632, allocations: 12.25 MB / 0.5274 GB, free: 9.312 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.824e-05/0.4633, allocations: 12.03 kB / 0.5274 GB, free: 9.301 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004756/0.468, allocations: 1.509 MB / 0.5289 GB, free: 7.781 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03522/0.5033, allocations: 6.199 MB / 0.5349 GB, free: 1.57 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.3885/0.8918, allocations: 5.922 MB / 0.5407 GB, free: 85.3 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004613/0.8922, allocations: 0.6692 MB / 0.5414 GB, free: 85 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002959/0.8952, allocations: 0.8831 MB / 0.5422 GB, free: 84.71 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02756/0.9228, allocations: 14.74 MB / 0.5566 GB, free: 79.2 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002311/0.923, allocations: 10.56 kB / 0.5567 GB, free: 79.19 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00148/0.9245, allocations: 379.5 kB / 0.557 GB, free: 78.91 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003468/0.9248, allocations: 0.4889 MB / 0.5575 GB, free: 78.86 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0201/0.9449, allocations: 13.57 MB / 0.5707 GB, free: 66.45 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05733/1.002, allocations: 43.51 MB / 0.6132 GB, free: 22.76 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008106/1.01, allocations: 6.002 MB / 0.6191 GB, free: 16.95 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00334/1.014, allocations: 2.862 MB / 0.6219 GB, free: 14.08 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003246/1.014, allocations: 134.9 kB / 0.622 GB, free: 13.97 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.252e-05/1.014, allocations: 74.56 kB / 0.6221 GB, free: 13.89 MB / 446.1 MB Notification: Performance of pre-optimization done (n=409): time 5.831e-06/1.014, allocations: 5.094 kB / 0.6221 GB, free: 13.89 MB / 446.1 MB Notification: Performance of matching and sorting (n=409): time 0.01619/1.03, allocations: 9.431 MB / 0.6313 GB, free: 4.457 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.653e-05/1.03, allocations: 125.1 kB / 0.6314 GB, free: 4.316 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003915/1.034, allocations: 3.155 MB / 0.6345 GB, free: 1.188 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006422/1.035, allocations: 85.7 kB / 0.6346 GB, free: 1.098 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002693/1.038, allocations: 3.845 MB / 0.6383 GB, free: 13.35 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001773/1.039, allocations: 1.458 MB / 0.6398 GB, free: 11.91 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001846/1.041, allocations: 1.152 MB / 0.6409 GB, free: 10.75 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001482/1.041, allocations: 301.1 kB / 0.6412 GB, free: 10.45 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004469/1.046, allocations: 2.853 MB / 0.644 GB, free: 7.594 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006424/1.052, allocations: 4.908 MB / 0.6488 GB, free: 1.742 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01175/1.064, allocations: 8.275 MB / 0.6568 GB, free: 8.531 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.369e-05/1.064, allocations: 23.94 kB / 0.6569 GB, free: 8.508 MB / 478.1 MB Notification: Performance of matching and sorting (n=743) (initialization): time 0.01742/1.081, allocations: 9.115 MB / 0.6658 GB, free: 15.38 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.134e-05/1.082, allocations: 32 kB / 0.6658 GB, free: 15.35 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001121/1.082, allocations: 68 kB / 0.6659 GB, free: 15.28 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003199/1.085, allocations: 1.15 MB / 0.667 GB, free: 14.12 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004915/1.09, allocations: 1.299 MB / 0.6683 GB, free: 12.82 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01601/1.106, allocations: 10.6 MB / 0.6786 GB, free: 2 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004258/1.11, allocations: 0.7569 MB / 0.6793 GB, free: 1.238 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009226/1.111, allocations: 280 kB / 0.6796 GB, free: 0.9648 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.006463/1.117, allocations: 3.423 MB / 0.683 GB, free: 13.53 MB / 0.4982 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009109/1.118, allocations: 369.6 kB / 0.6833 GB, free: 13.16 MB / 0.4982 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01262/1.131, allocations: 6.874 MB / 0.69 GB, free: 6.262 MB / 0.4982 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01008/1.141, allocations: 5.725 MB / 0.6956 GB, free: 0.5234 MB / 0.4982 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.723e-05/1.141, allocations: 12 kB / 0.6956 GB, free: 0.5117 MB / 0.4982 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.212e-05/1.141, allocations: 27.92 kB / 0.6956 GB, free: 496 kB / 0.4982 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02826/1.169, allocations: 15.29 MB / 0.7106 GB, free: 0.9609 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.28e-05/1.169, allocations: 17 kB / 0.7106 GB, free: 0.9453 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003286/1.173, allocations: 0.7957 MB / 0.7114 GB, free: 152 kB / 0.5138 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003205/1.176, allocations: 1.056 MB / 0.7124 GB, free: 15.08 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005758/1.176, allocations: 112 kB / 0.7125 GB, free: 14.97 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01553/1.192, allocations: 10.37 MB / 0.7226 GB, free: 4.371 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.86e-05/1.192, allocations: 23.92 kB / 0.7227 GB, free: 4.348 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01785/1.21, allocations: 10.7 MB / 0.7331 GB, free: 9.41 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003044/1.213, allocations: 0.9649 MB / 0.7341 GB, free: 8.441 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006795/1.214, allocations: 103.9 kB / 0.7342 GB, free: 8.34 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002154/1.216, allocations: 267.9 kB / 0.7344 GB, free: 8.078 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007383/1.216, allocations: 367 kB / 0.7348 GB, free: 7.719 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003084/1.217, allocations: 156 kB / 0.7349 GB, free: 7.566 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.003237/1.22, allocations: 2.125 MB / 0.737 GB, free: 5.438 MB / 0.545 GB Notification: Performance of sort global known variables: time 1e-07/1.22, allocations: 0 / 0.737 GB, free: 5.438 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.006325/1.226, allocations: 2.258 MB / 0.7392 GB, free: 3.172 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.2606/1.487, allocations: 11.43 MB / 0.7503 GB, free: 175.8 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01031/1.497, allocations: 7.17 MB / 0.7573 GB, free: 173.3 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.644e-05/1.497, allocations: 9.625 kB / 0.7574 GB, free: 173.3 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.004964/1.502, allocations: 3.403 MB / 0.7607 GB, free: 172 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003844/1.506, allocations: 0.8033 MB / 0.7615 GB, free: 171.7 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06519/1.571, allocations: 51.93 MB / 0.8122 GB, free: 131.4 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00489/1.576, allocations: 5.934 MB / 0.818 GB, free: 125.4 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.004345/1.58, 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.003092/1.584, allocations: 3.026 MB / 0.823 GB, free: 120.2 MB / 0.545 GB Notification: Performance of SimCode: time 1.062e-06/1.584, allocations: 4 kB / 0.823 GB, free: 120.2 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1613/1.745, allocations: 120.7 MB / 0.9409 GB, free: 15.91 MB / 0.5607 GB Notification: Performance of buildModelFMU: Generate platform static: time 19.91/21.65, allocations: 12.2 kB / 0.9409 GB, free: 15.91 MB / 0.5607 GB " [Timeout remaining time 638] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses_res.mat --tempDir=temp_Modelica_trunk_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_Components_EddyCurrentLosses_fmu --startTime=0 --stopTime=40 --stepSize=0.01 --timeout=50 --tolerance=1e-06 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.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_trunk_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: 26.151001047110185]