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.001328/0.001328, allocations: 104.7 kB / 18.49 MB, free: 4.605 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.0013/0.0013, allocations: 189 kB / 21.43 MB, free: 1.676 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.407/1.407, allocations: 225.6 MB / 249.8 MB, free: 3.617 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="cs",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="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001727/0.001727, allocations: 47.94 kB / 366.4 MB, free: 0.8359 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1003/0.102, allocations: 52.13 MB / 418.5 MB, free: 12.61 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.01967/0.1217, allocations: 16.68 MB / 435.2 MB, free: 11.84 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01062/0.1323, allocations: 4.649 MB / 439.8 MB, free: 7.18 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00314/0.1354, allocations: 159.2 kB / 440 MB, free: 7.023 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.2139/0.3493, allocations: 7.212 MB / 447.2 MB, free: 6.996 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006366/0.3557, allocations: 1.994 MB / 449.2 MB, free: 6.996 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003883/0.3596, allocations: 1.533 MB / 450.7 MB, free: 6.996 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0124/0.372, allocations: 9.409 MB / 460.1 MB, free: 6.891 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02669/0.3986, allocations: 16.24 MB / 476.4 MB, free: 84 kB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01095/0.4096, allocations: 5.349 MB / 481.7 MB, free: 13.82 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009812/0.4194, allocations: 5.924 MB / 487.6 MB, free: 11.04 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003878/0.4233, allocations: 1.359 MB / 489 MB, free: 9.684 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005774/0.4291, allocations: 1.647 MB / 490.6 MB, free: 8.094 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004763/0.4338, allocations: 2.801 MB / 493.4 MB, free: 5.723 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01141/0.4452, allocations: 5.353 MB / 498.8 MB, free: 0.6758 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02504/0.4703, allocations: 18.4 MB / 0.5051 GB, free: 14.8 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.647e-06/0.4703, allocations: 0 / 0.5051 GB, free: 14.8 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.325e-06/0.4703, allocations: 0 / 0.5051 GB, free: 14.8 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0004974/0.4708, allocations: 0 / 0.5051 GB, free: 14.8 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.03521/0.506, allocations: 12.32 MB / 0.5171 GB, free: 2.48 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.185e-05/0.506, allocations: 12.03 kB / 0.5171 GB, free: 2.469 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0003219/0.5064, allocations: 270 kB / 0.5174 GB, free: 2.203 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005295/0.5117, allocations: 1.516 MB / 0.5189 GB, free: 0.6875 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03506/0.5467, allocations: 6.286 MB / 0.525 GB, free: 10.47 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01218/0.5589, allocations: 5.844 MB / 0.5307 GB, free: 4.836 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007049/0.5596, allocations: 0.6738 MB / 0.5314 GB, free: 4.168 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00307/0.5627, allocations: 0.8804 MB / 0.5322 GB, free: 3.297 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03288/0.5956, allocations: 14.72 MB / 0.5466 GB, free: 4.555 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002549/0.5958, allocations: 11.95 kB / 0.5466 GB, free: 4.543 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001922/0.5977, allocations: 372.4 kB / 0.547 GB, free: 4.188 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005009/0.5982, allocations: 0.4931 MB / 0.5475 GB, free: 3.691 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02602/0.6243, allocations: 13.53 MB / 0.5607 GB, free: 6.137 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07531/0.6996, allocations: 44.24 MB / 0.6039 GB, free: 9.383 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01271/0.7123, allocations: 11.2 MB / 0.6148 GB, free: 13.07 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004799/0.7171, allocations: 2.873 MB / 0.6176 GB, free: 10.2 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003894/0.7175, allocations: 187.4 kB / 0.6178 GB, free: 10.01 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.592e-05/0.7175, allocations: 74.56 kB / 0.6179 GB, free: 9.926 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=413): time 5.881e-06/0.7175, allocations: 4 kB / 0.6179 GB, free: 9.922 MB / 0.5137 GB Notification: Performance of matching and sorting (n=492): time 0.4335/1.151, allocations: 24.61 MB / 0.6419 GB, free: 150.7 MB / 0.5138 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.924e-05/1.151, allocations: 128.7 kB / 0.642 GB, free: 150.6 MB / 0.5138 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004977/1.156, allocations: 3.157 MB / 0.6451 GB, free: 149.5 MB / 0.5138 GB Notification: Performance of collectPreVariables (initialization): time 0.001007/1.157, allocations: 102.5 kB / 0.6452 GB, free: 149.4 MB / 0.5138 GB Notification: Performance of collectInitialEqns (initialization): time 0.002426/1.16, allocations: 3.834 MB / 0.6489 GB, free: 147 MB / 0.5138 GB Notification: Performance of collectInitialBindings (initialization): time 0.001527/1.161, allocations: 1.75 MB / 0.6506 GB, free: 145.6 MB / 0.5138 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001777/1.163, allocations: 1.232 MB / 0.6519 GB, free: 145.1 MB / 0.5138 GB Notification: Performance of setup shared object (initialization): time 4.609e-05/1.163, allocations: 302.7 kB / 0.6521 GB, free: 144.8 MB / 0.5138 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004499/1.167, allocations: 3.268 MB / 0.6553 GB, free: 143.6 MB / 0.5138 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005338/1.173, allocations: 5.376 MB / 0.6606 GB, free: 139.8 MB / 0.5138 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009382/1.182, allocations: 9.261 MB / 0.6696 GB, free: 134 MB / 0.5138 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.675e-05/1.182, allocations: 21.72 kB / 0.6696 GB, free: 134 MB / 0.5138 GB Notification: Performance of matching and sorting (n=826) (initialization): time 0.01628/1.198, allocations: 10.96 MB / 0.6803 GB, free: 129.9 MB / 0.5138 GB Notification: Performance of prepare postOptimizeDAE: time 5.251e-05/1.199, allocations: 31 kB / 0.6804 GB, free: 129.9 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.747e-05/1.199, allocations: 70.41 kB / 0.6804 GB, free: 129.9 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005274/1.204, allocations: 2.202 MB / 0.6826 GB, free: 129.4 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004221/1.208, allocations: 1.317 MB / 0.6839 GB, free: 129.3 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02338/1.231, allocations: 21.93 MB / 0.7053 GB, free: 108.6 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004723/1.236, allocations: 388.1 kB / 0.7057 GB, free: 108.2 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001012/1.237, allocations: 292 kB / 0.7059 GB, free: 107.9 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 (692): * Single equations (assignments): 686 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 {(6,24,86.1%), (6,24,100.0%), (5,33,80.0%), (5,33,80.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00502/1.242, allocations: 3.521 MB / 0.7094 GB, free: 104.4 MB / 0.5138 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009377/1.243, allocations: 389.5 kB / 0.7098 GB, free: 104 MB / 0.5138 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01265/1.256, allocations: 8.868 MB / 0.7184 GB, free: 95.11 MB / 0.5138 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.009974/1.266, allocations: 7.557 MB / 0.7258 GB, free: 87.49 MB / 0.5138 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.783e-05/1.266, allocations: 24.56 kB / 0.7258 GB, free: 87.46 MB / 0.5138 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.749e-05/1.266, allocations: 23.91 kB / 0.7258 GB, free: 87.44 MB / 0.5138 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02587/1.292, allocations: 18.42 MB / 0.7438 GB, free: 68.83 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.273e-05/1.292, allocations: 12 kB / 0.7438 GB, free: 68.82 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002834/1.295, allocations: 0.8358 MB / 0.7447 GB, free: 67.98 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005073/1.3, allocations: 2 MB / 0.7466 GB, free: 65.97 MB / 0.5138 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004838/1.3, allocations: 120 kB / 0.7467 GB, free: 65.86 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02031/1.32, allocations: 19.92 MB / 0.7662 GB, free: 45.4 MB / 0.5138 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.028e-05/1.32, allocations: 23.88 kB / 0.7662 GB, free: 45.38 MB / 0.5138 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01683/1.337, allocations: 13.34 MB / 0.7792 GB, free: 31.51 MB / 0.5138 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002329/1.34, allocations: 1.06 MB / 0.7803 GB, free: 30.43 MB / 0.5138 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006048/1.34, allocations: 115.9 kB / 0.7804 GB, free: 30.32 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002379/1.343, allocations: 295.7 kB / 0.7806 GB, free: 30.03 MB / 0.5138 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008694/1.344, allocations: 407.4 kB / 0.781 GB, free: 29.63 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002632/1.344, allocations: 164 kB / 0.7812 GB, free: 29.47 MB / 0.5138 GB Notification: Performance of sorting global known variables: time 0.002409/1.346, allocations: 2.125 MB / 0.7833 GB, free: 27.34 MB / 0.5138 GB Notification: Performance of sort global known variables: time 1e-07/1.346, allocations: 0 / 0.7833 GB, free: 27.34 MB / 0.5138 GB Notification: Performance of remove unused functions: time 0.006234/1.352, allocations: 1.777 MB / 0.785 GB, free: 25.56 MB / 0.5138 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 64 * 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 (444): * Single equations (assignments): 438 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 {(6,24,91.7%), (6,18,94.4%), (5,33,80.0%), (5,27,80.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01653/1.369, allocations: 14.09 MB / 0.7988 GB, free: 10.93 MB / 0.5138 GB Notification: Performance of simCode: created initialization part: time 0.01278/1.382, allocations: 8.96 MB / 0.8075 GB, free: 1.887 MB / 0.5138 GB Notification: Performance of simCode: created event and clocks part: time 1.796e-05/1.382, allocations: 3.672 kB / 0.8075 GB, free: 1.887 MB / 0.5138 GB Notification: Performance of simCode: created simulation system equations: time 0.008697/1.39, allocations: 4.647 MB / 0.8121 GB, free: 13.19 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005838/1.396, allocations: 0.8318 MB / 0.8129 GB, free: 12.38 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3077/1.704, allocations: 57.9 MB / 0.8694 GB, free: 163.7 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005691/1.71, allocations: 6.123 MB / 0.8754 GB, free: 161.5 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.004635/1.714, allocations: 2.212 MB / 0.8776 GB, free: 161.3 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00313/1.717, allocations: 3.098 MB / 0.8806 GB, free: 158.8 MB / 0.545 GB Notification: Performance of SimCode: time 1.052e-06/1.717, allocations: 0.8438 kB / 0.8806 GB, free: 158.8 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1697/1.887, allocations: 130.2 MB / 1.008 GB, free: 38.88 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.75/20.64, allocations: 11.67 kB / 1.008 GB, free: 38.86 MB / 0.545 GB " [Timeout remaining time 639] (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/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/Components/EddyCurrentLosses/EddyCurrentLosses.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/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 658] Reference file matches [Calling sys.exit(0), Time elapsed: 26.4700447510113]