Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.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.001718/0.001718, allocations: 118.7 kB / 18.5 MB, free: 4.602 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.002049/0.002049, allocations: 210.5 kB / 21.46 MB, free: 1.648 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.517/1.517, allocations: 230.2 MB / 254.5 MB, free: 15.39 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.FundamentalWave.Examples.Components.EddyCurrentLosses,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_FundamentalWave_Examples_Components_EddyCurrentLosses",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_FundamentalWave_Examples_Components_EddyCurrentLosses",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001817/0.001817, allocations: 63.89 kB / 373.3 MB, free: 10.43 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1136/0.1154, allocations: 53.33 MB / 426.7 MB, free: 5.004 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.01054/0.1259, allocations: 7.893 MB / 434.6 MB, free: 13.07 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.005449/0.1314, allocations: 2.491 MB / 437.1 MB, free: 10.57 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009715/0.1324, allocations: 55.81 kB / 437.1 MB, free: 10.52 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001139/0.1335, allocations: 468.8 kB / 437.6 MB, free: 10.05 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002557/0.1361, allocations: 0.8781 MB / 438.4 MB, free: 9.172 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001011/0.1371, allocations: 397.4 kB / 438.8 MB, free: 8.785 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.004292/0.1414, allocations: 3.249 MB / 442.1 MB, free: 5.527 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002727/0.1441, allocations: 2.134 MB / 444.2 MB, free: 3.328 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002012/0.1461, allocations: 1.421 MB / 445.6 MB, free: 1.902 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002499/0.1486, allocations: 1.716 MB / 447.3 MB, free: 184 kB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.2597/0.4083, allocations: 362.8 kB / 447.7 MB, free: 11.67 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002536/0.4108, allocations: 489.3 kB / 448.2 MB, free: 11.67 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009253/0.4118, allocations: 0.9126 MB / 449.1 MB, free: 11.67 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002454/0.4142, allocations: 1.616 MB / 450.7 MB, free: 11.41 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007072/0.4213, allocations: 4.711 MB / 455.4 MB, free: 10.82 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.023e-06/0.4213, allocations: 0.75 kB / 455.4 MB, free: 10.82 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.234e-06/0.4213, allocations: 3.984 kB / 455.4 MB, free: 10.82 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001945/0.4215, allocations: 1.219 kB / 455.4 MB, free: 10.82 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 689 * Number of variables: 689 Notification: Performance of Generate backend data structure: time 0.01232/0.4338, allocations: 3.723 MB / 459.1 MB, free: 9.422 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.968e-05/0.4338, allocations: 9.312 kB / 459.2 MB, free: 9.422 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001008/0.4349, allocations: 441 kB / 459.6 MB, free: 9.332 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004403/0.4393, allocations: 0.7424 MB / 460.3 MB, free: 9.125 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005376/0.4446, allocations: 1.856 MB / 462.2 MB, free: 8.223 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00018/0.4448, allocations: 201.2 kB / 462.4 MB, free: 8.133 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006812/0.4455, allocations: 267.7 kB / 462.6 MB, free: 8.043 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007264/0.4528, allocations: 3.622 MB / 466.3 MB, free: 6.664 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.807e-05/0.4528, allocations: 0 / 466.3 MB, free: 6.664 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000294/0.4531, allocations: 114.8 kB / 466.4 MB, free: 6.578 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001541/0.4533, allocations: 107.7 kB / 466.5 MB, free: 6.57 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00648/0.4597, allocations: 3.103 MB / 469.6 MB, free: 5.492 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01904/0.4788, allocations: 10.28 MB / 479.9 MB, free: 14.79 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005739/0.4845, allocations: 4.473 MB / 484.3 MB, free: 10.49 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001398/0.4859, allocations: 0.8849 MB / 485.2 MB, free: 10.05 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005393/0.4913, allocations: 2.646 MB / 487.9 MB, free: 7.988 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.665e-05/0.4914, allocations: 48.94 kB / 487.9 MB, free: 7.938 MB / 382.1 MB Notification: Performance of pre-optimization done (n=104): time 2.875e-06/0.4914, allocations: 4.938 kB / 487.9 MB, free: 7.938 MB / 382.1 MB Notification: Performance of matching and sorting (n=104): time 0.006604/0.498, allocations: 2.647 MB / 490.6 MB, free: 6.5 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.067e-05/0.498, allocations: 91.08 kB / 490.7 MB, free: 6.402 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002128/0.5002, allocations: 1.406 MB / 492.1 MB, free: 5.652 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.729e-05/0.5003, allocations: 45.42 kB / 492.1 MB, free: 5.605 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009756/0.5013, allocations: 1.209 MB / 493.3 MB, free: 4.547 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003551/0.5016, allocations: 381.2 kB / 493.7 MB, free: 4.223 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003736/0.502, allocations: 223.4 kB / 493.9 MB, free: 4.09 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002313/0.5022, allocations: 351.2 kB / 494.3 MB, free: 3.754 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009137/0.5031, allocations: 0.5689 MB / 494.8 MB, free: 3.465 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001117/0.5042, allocations: 0.8392 MB / 495.7 MB, free: 2.828 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002066/0.5063, allocations: 1.46 MB / 497.1 MB, free: 1.855 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.092e-06/0.5063, allocations: 4 kB / 497.1 MB, free: 1.852 MB / 382.1 MB Notification: Performance of matching and sorting (n=152) (initialization): time 0.003677/0.51, allocations: 1.96 MB / 499.1 MB, free: 15.94 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.976e-05/0.51, allocations: 15.33 kB / 499.1 MB, free: 15.93 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.778e-05/0.51, allocations: 8 kB / 499.1 MB, free: 15.92 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001056/0.5111, allocations: 395.8 kB / 499.5 MB, free: 15.53 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008217/0.5119, allocations: 218.3 kB / 499.7 MB, free: 15.33 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009378/0.5213, allocations: 6.538 MB / 0.4944 GB, free: 8.555 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001374/0.5227, allocations: 143 kB / 0.4945 GB, free: 8.414 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001113/0.5228, allocations: 47.98 kB / 0.4946 GB, free: 8.367 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * 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 (110): * Single equations (assignments): 108 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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 {(2,19,100.0%), (2,21,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001831/0.5246, allocations: 0.8781 MB / 0.4954 GB, free: 7.5 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003737/0.525, allocations: 143.1 kB / 0.4956 GB, free: 7.359 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003064/0.528, allocations: 1.634 MB / 0.4972 GB, free: 5.73 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.038e-05/0.5281, allocations: 12 kB / 0.4972 GB, free: 5.719 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.661e-05/0.5281, allocations: 10.62 kB / 0.4972 GB, free: 5.711 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.047e-05/0.5281, allocations: 3.984 kB / 0.4972 GB, free: 5.707 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008017/0.5361, allocations: 3.917 MB / 0.501 GB, free: 1.746 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.271e-06/0.5361, allocations: 0 / 0.501 GB, free: 1.746 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005865/0.5367, allocations: 136.2 kB / 0.5011 GB, free: 1.621 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001004/0.5377, allocations: 396.2 kB / 0.5015 GB, free: 1.23 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.344e-05/0.5378, allocations: 35.97 kB / 0.5015 GB, free: 1.195 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00862/0.5464, allocations: 6.509 MB / 0.5079 GB, free: 10.45 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.035e-06/0.5464, allocations: 8.438 kB / 0.5079 GB, free: 10.44 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004569/0.551, allocations: 2.471 MB / 0.5103 GB, free: 7.961 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007248/0.5517, allocations: 255.9 kB / 0.5106 GB, free: 7.691 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001801/0.5519, allocations: 27.98 kB / 0.5106 GB, free: 7.664 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007843/0.5527, allocations: 79.92 kB / 0.5107 GB, free: 7.586 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000275/0.553, allocations: 108.3 kB / 0.5108 GB, free: 7.48 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.6e-05/0.553, allocations: 35.98 kB / 0.5108 GB, free: 7.445 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001751/0.5548, allocations: 0.9795 MB / 0.5118 GB, free: 6.461 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5548, allocations: 0 / 0.5118 GB, free: 6.461 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.002368/0.5571, allocations: 0.6814 MB / 0.5124 GB, free: 5.777 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 4 (converter_e.singlePhaseElectroMagneticConverter[3].Phi.re,converter_e.singlePhaseElectroMagneticConverter[3].Phi.im,loss_m.Phi.re,loss_m.Phi.im) * 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 (64): * Single equations (assignments): 62 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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 {(2,21,100.0%), (2,19,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.004605/0.5618, allocations: 3.09 MB / 0.5154 GB, free: 2.668 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.003371/0.5651, allocations: 1.737 MB / 0.5171 GB, free: 0.9375 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.921e-06/0.5651, allocations: 0 / 0.5171 GB, free: 0.9375 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001897/0.567, allocations: 1.091 MB / 0.5182 GB, free: 15.84 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001707/0.5687, allocations: 315.8 kB / 0.5185 GB, free: 15.54 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02795/0.5967, allocations: 16.04 MB / 0.5342 GB, free: 15.14 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00236/0.599, allocations: 2.194 MB / 0.5363 GB, free: 12.91 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001037/0.6001, allocations: 347 kB / 0.5366 GB, free: 12.57 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001189/0.6013, allocations: 0.8781 MB / 0.5375 GB, free: 11.69 MB / 446.1 MB Notification: Performance of SimCode: time 1.553e-06/0.6013, allocations: 0 / 0.5375 GB, free: 11.69 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09454/0.6958, allocations: 39.27 MB / 0.5759 GB, free: 4.777 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.72/13.41, allocations: 12 kB / 0.5759 GB, free: 4.766 MB / 478.1 MB " [Timeout remaining time 646] (rm -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses_res.mat --tempDir=temp_Modelica_trunk_Modelica_Magnetic_FundamentalWave_Examples_Components_EddyCurrentLosses_fmu --startTime=0 --stopTime=40 --stepSize=0.01 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Magnetic_FundamentalWave_Examples_Components_EddyCurrentLosses.fmu > Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/FundamentalWave/Examples/Components/EddyCurrentLosses/EddyCurrentLosses.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Magnetic.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: 17.04809197317809]