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.001293/0.001293, allocations: 116.9 kB / 18.49 MB, free: 4.535 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.001776/0.001776, allocations: 220.7 kB / 21.46 MB, free: 1.582 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.494/1.494, allocations: 230.4 MB / 254.7 MB, free: 15.02 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_FundamentalWave_Examples_Components_EddyCurrentLosses",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001832/0.001832, allocations: 59.91 kB / 373.7 MB, free: 10.09 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1086/0.1104, allocations: 53.37 MB / 427.1 MB, free: 4.613 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.2212/0.3316, allocations: 7.897 MB / 435 MB, free: 7.156 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003916/0.3355, allocations: 2.494 MB / 437.4 MB, free: 6.07 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007499/0.3363, allocations: 69.94 kB / 437.5 MB, free: 6.043 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000866/0.3371, allocations: 468 kB / 438 MB, free: 5.859 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001968/0.3391, allocations: 0.8735 MB / 438.8 MB, free: 5.43 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007946/0.3399, allocations: 408.3 kB / 439.2 MB, free: 5.297 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003784/0.3437, allocations: 3.241 MB / 442.5 MB, free: 3.781 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002733/0.3464, allocations: 2.134 MB / 444.6 MB, free: 2.863 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001989/0.3484, allocations: 1.455 MB / 446.1 MB, free: 2.184 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00218/0.3506, allocations: 1.721 MB / 447.8 MB, free: 1.355 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005958/0.3512, allocations: 358.8 kB / 448.1 MB, free: 1.355 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001158/0.3523, allocations: 492.4 kB / 448.6 MB, free: 1.309 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007563/0.3531, allocations: 0.9107 MB / 449.5 MB, free: 0.7656 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001863/0.355, allocations: 1.616 MB / 451.2 MB, free: 15.71 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00609/0.361, allocations: 4.707 MB / 455.9 MB, free: 13.69 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.67e-06/0.3611, allocations: 0 / 455.9 MB, free: 13.69 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.3611, allocations: 0 / 455.9 MB, free: 13.69 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001267/0.3612, allocations: 0 / 455.9 MB, free: 13.69 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.009261/0.3704, allocations: 3.728 MB / 459.6 MB, free: 11.2 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.372e-05/0.3705, allocations: 10.09 kB / 459.6 MB, free: 11.2 MB / 366.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0001242/0.3706, allocations: 86.7 kB / 459.7 MB, free: 11.17 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000687/0.3713, allocations: 442.6 kB / 460.1 MB, free: 10.88 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004226/0.3755, allocations: 0.7428 MB / 460.9 MB, free: 10.52 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003677/0.3792, allocations: 1.85 MB / 462.7 MB, free: 9.25 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001775/0.3794, allocations: 204.9 kB / 462.9 MB, free: 9.152 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004916/0.3799, allocations: 270 kB / 463.2 MB, free: 9.059 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006592/0.3865, allocations: 3.629 MB / 466.8 MB, free: 6.941 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.256e-05/0.3865, allocations: 4 kB / 466.8 MB, free: 6.938 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002871/0.3868, allocations: 107.3 kB / 466.9 MB, free: 6.855 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.675e-05/0.3869, allocations: 110.5 kB / 467 MB, free: 6.836 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005471/0.3924, allocations: 3.107 MB / 470.1 MB, free: 5.223 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01844/0.4108, allocations: 10.3 MB / 480.4 MB, free: 10.79 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005777/0.4166, allocations: 4.488 MB / 484.9 MB, free: 5.668 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001548/0.4181, allocations: 0.8748 MB / 485.8 MB, free: 4.789 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004972/0.4231, allocations: 2.681 MB / 488.5 MB, free: 1.969 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.056e-05/0.4232, allocations: 47.44 kB / 488.5 MB, free: 1.914 MB / 382.1 MB Notification: Performance of pre-optimization done (n=108): time 4.008e-06/0.4232, allocations: 0 / 488.5 MB, free: 1.914 MB / 382.1 MB Notification: Performance of matching and sorting (n=171): time 0.01703/0.4402, allocations: 7.216 MB / 495.7 MB, free: 10.55 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.561e-05/0.4403, allocations: 95.11 kB / 495.8 MB, free: 10.44 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002177/0.4424, allocations: 1.404 MB / 497.2 MB, free: 9.027 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000167/0.4426, allocations: 53.7 kB / 497.3 MB, free: 8.969 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009664/0.4436, allocations: 1.2 MB / 498.5 MB, free: 7.758 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005722/0.4441, allocations: 0.6081 MB / 499.1 MB, free: 7.145 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005493/0.4447, allocations: 299.5 kB / 499.4 MB, free: 6.844 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001336/0.4448, allocations: 305.1 kB / 499.7 MB, free: 6.543 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001573/0.4464, allocations: 0.89 MB / 0.4888 GB, free: 5.652 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001836/0.4482, allocations: 1.2 MB / 0.49 GB, free: 4.336 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003553/0.4518, allocations: 2.198 MB / 0.4921 GB, free: 2.023 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.514e-06/0.4518, allocations: 8 kB / 0.4922 GB, free: 2.016 MB / 398.1 MB Notification: Performance of matching and sorting (n=219) (initialization): time 0.005694/0.4575, allocations: 3.052 MB / 0.4951 GB, free: 14.94 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.57e-05/0.4575, allocations: 8 kB / 0.4951 GB, free: 14.93 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.65e-05/0.4575, allocations: 8 kB / 0.4952 GB, free: 14.93 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002001/0.4595, allocations: 0.7827 MB / 0.4959 GB, free: 14.13 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001145/0.4607, allocations: 279.6 kB / 0.4962 GB, free: 13.86 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01709/0.4778, allocations: 13.37 MB / 0.5092 GB, free: 15.95 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001432/0.4792, allocations: 83.92 kB / 0.5093 GB, free: 15.87 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001562/0.4794, allocations: 67.98 kB / 0.5094 GB, free: 15.8 MB / 430.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 (135): * Single equations (assignments): 131 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,19,100.0%), (2,19,100.0%), (2,21,100.0%), (2,21,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001837/0.4812, allocations: 0.95 MB / 0.5103 GB, free: 14.84 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003877/0.4816, allocations: 167 kB / 0.5105 GB, free: 14.68 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005506/0.4871, allocations: 2.792 MB / 0.5132 GB, free: 11.87 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.487e-05/0.4871, allocations: 16 kB / 0.5132 GB, free: 11.85 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.973e-05/0.4871, allocations: 16.75 kB / 0.5132 GB, free: 11.84 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.726e-05/0.4871, allocations: 7.969 kB / 0.5132 GB, free: 11.83 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01052/0.4977, allocations: 5.788 MB / 0.5189 GB, free: 5.945 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.945e-06/0.4977, allocations: 0 / 0.5189 GB, free: 5.945 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009186/0.4986, allocations: 195.7 kB / 0.5191 GB, free: 5.754 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001906/0.5005, allocations: 0.7643 MB / 0.5198 GB, free: 4.977 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001319/0.5006, allocations: 48.53 kB / 0.5199 GB, free: 4.93 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01642/0.517, allocations: 13.23 MB / 0.5328 GB, free: 7.156 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.593e-06/0.517, allocations: 8 kB / 0.5328 GB, free: 7.148 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007323/0.5244, allocations: 4.125 MB / 0.5368 GB, free: 2.98 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005763/0.5249, allocations: 248.1 kB / 0.5371 GB, free: 2.719 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002258/0.5252, allocations: 40 kB / 0.5371 GB, free: 2.68 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001034/0.5262, allocations: 107.8 kB / 0.5372 GB, free: 2.574 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004218/0.5266, allocations: 169.3 kB / 0.5374 GB, free: 2.41 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001268/0.5268, allocations: 55.97 kB / 0.5374 GB, free: 2.355 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001513/0.5283, allocations: 0.9756 MB / 0.5384 GB, free: 1.375 MB / 446.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.5283, allocations: 0 / 0.5384 GB, free: 1.375 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002328/0.5306, allocations: 0.6132 MB / 0.539 GB, free: 0.7617 MB / 446.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 (91): * Single equations (assignments): 87 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,20,100.0%), (2,21,100.0%), (2,18,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.007523/0.5381, allocations: 4.745 MB / 0.5436 GB, free: 11.96 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.005567/0.5437, allocations: 2.992 MB / 0.5465 GB, free: 8.91 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 8.015e-06/0.5437, allocations: 0 / 0.5465 GB, free: 8.91 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003528/0.5472, allocations: 1.968 MB / 0.5485 GB, free: 6.887 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001999/0.5492, allocations: 330.1 kB / 0.5488 GB, free: 6.566 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03371/0.5829, allocations: 19.6 MB / 0.5679 GB, free: 2.422 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00256/0.5855, allocations: 2.325 MB / 0.5702 GB, free: 60 kB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.00124/0.5867, allocations: 401.2 kB / 0.5706 GB, free: 15.66 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001412/0.5881, allocations: 0.96 MB / 0.5715 GB, free: 14.7 MB / 494.1 MB Notification: Performance of SimCode: time 1.052e-06/0.5881, allocations: 0 / 0.5715 GB, free: 14.7 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3585/0.9467, allocations: 48.27 MB / 0.6186 GB, free: 160.8 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 22.09/23.03, allocations: 9.375 kB / 0.6187 GB, free: 160.8 MB / 0.5137 GB " [Timeout remaining time 637] (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/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/FundamentalWave/Examples/Components/EddyCurrentLosses/EddyCurrentLosses.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/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 659] Reference file matches [Calling sys.exit(0), Time elapsed: 26.826289250981063]