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.001245/0.001245, allocations: 101.5 kB / 21.21 MB, free: 0.6484 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.001253/0.001253, allocations: 189.3 kB / 24.49 MB, free: 3.957 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.363/1.363, allocations: 225.7 MB / 253.3 MB, free: 12.86 MB / 206.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.001551/0.001551, allocations: 47.92 kB / 371.2 MB, free: 9.699 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.26/0.2615, allocations: 52.18 MB / 423.4 MB, free: 14.45 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.01719/0.2787, allocations: 14.3 MB / 437.7 MB, free: 72 kB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01028/0.289, allocations: 4.474 MB / 442.1 MB, free: 11.58 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003023/0.292, allocations: 159.2 kB / 442.3 MB, free: 11.43 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01613/0.3081, allocations: 6.7 MB / 449 MB, free: 4.715 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006987/0.3151, allocations: 2.032 MB / 451 MB, free: 2.676 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00434/0.3195, allocations: 1.491 MB / 452.5 MB, free: 1.188 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.01271/0.3322, allocations: 9.532 MB / 462 MB, free: 7.609 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02292/0.3551, allocations: 13.59 MB / 475.6 MB, free: 9.867 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008516/0.3636, allocations: 5.386 MB / 481 MB, free: 4.469 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009821/0.3734, allocations: 5.946 MB / 487 MB, free: 14.5 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003356/0.3768, allocations: 1.359 MB / 488.3 MB, free: 13.14 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004242/0.381, allocations: 1.648 MB / 490 MB, free: 11.5 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003552/0.3846, allocations: 2.798 MB / 492.8 MB, free: 8.691 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006763/0.3913, allocations: 4.191 MB / 497 MB, free: 4.484 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02173/0.4131, allocations: 18.48 MB / 0.5034 GB, free: 1.945 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.993e-06/0.4131, allocations: 0 / 0.5034 GB, free: 1.945 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.4131, allocations: 0 / 0.5034 GB, free: 1.945 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0004156/0.4135, allocations: 0 / 0.5034 GB, free: 1.945 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.03732/0.4508, allocations: 12.25 MB / 0.5153 GB, free: 5.613 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.454e-05/0.4509, allocations: 12.03 kB / 0.5153 GB, free: 5.602 MB / 430.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.000355/0.4512, allocations: 278 kB / 0.5156 GB, free: 5.328 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004552/0.4558, allocations: 1.509 MB / 0.5171 GB, free: 3.809 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03481/0.4906, allocations: 6.288 MB / 0.5232 GB, free: 13.51 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01285/0.5034, allocations: 5.913 MB / 0.529 GB, free: 7.523 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005865/0.504, allocations: 0.6704 MB / 0.5296 GB, free: 6.852 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00226/0.5063, allocations: 0.8788 MB / 0.5305 GB, free: 5.973 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3952/0.9015, allocations: 14.95 MB / 0.5451 GB, free: 91.29 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003968/0.9019, allocations: 8.625 kB / 0.5451 GB, free: 91.29 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002636/0.9045, allocations: 377 kB / 0.5455 GB, free: 91 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004225/0.905, allocations: 0.4908 MB / 0.5459 GB, free: 90.96 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0205/0.9255, allocations: 13.54 MB / 0.5592 GB, free: 83.92 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0561/0.9816, allocations: 39.83 MB / 0.5981 GB, free: 43.98 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007748/0.9893, allocations: 5.897 MB / 0.6038 GB, free: 38.28 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003202/0.9925, allocations: 2.877 MB / 0.6066 GB, free: 35.39 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002669/0.9928, allocations: 79.48 kB / 0.6067 GB, free: 35.32 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.211e-05/0.9928, allocations: 82.55 kB / 0.6068 GB, free: 35.23 MB / 446.1 MB Notification: Performance of pre-optimization done (n=413): time 7.193e-06/0.9928, allocations: 0 / 0.6068 GB, free: 35.23 MB / 446.1 MB Notification: Performance of matching and sorting (n=492): time 0.03883/1.032, allocations: 24.32 MB / 0.6305 GB, free: 11.22 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.547e-05/1.032, allocations: 133.3 kB / 0.6307 GB, free: 11.07 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004092/1.036, allocations: 3.152 MB / 0.6337 GB, free: 7.949 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004252/1.036, allocations: 105.7 kB / 0.6338 GB, free: 7.84 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001448/1.038, allocations: 3.833 MB / 0.6376 GB, free: 4.066 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001096/1.039, allocations: 1.748 MB / 0.6393 GB, free: 2.34 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001772/1.041, allocations: 1.232 MB / 0.6405 GB, free: 1.098 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.23e-05/1.041, allocations: 305.1 kB / 0.6408 GB, free: 0.7969 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004849/1.045, allocations: 3.272 MB / 0.644 GB, free: 13.51 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006906/1.052, allocations: 5.372 MB / 0.6492 GB, free: 7.199 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01251/1.065, allocations: 9.262 MB / 0.6583 GB, free: 12.97 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.204e-05/1.065, allocations: 20 kB / 0.6583 GB, free: 12.95 MB / 478.1 MB Notification: Performance of matching and sorting (n=826) (initialization): time 0.01932/1.084, allocations: 10.97 MB / 0.669 GB, free: 1.922 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.787e-05/1.084, allocations: 35.94 kB / 0.669 GB, free: 1.887 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00014/1.084, allocations: 71.94 kB / 0.6691 GB, free: 1.816 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006348/1.091, allocations: 2.189 MB / 0.6712 GB, free: 15.61 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004698/1.095, allocations: 1.318 MB / 0.6725 GB, free: 14.29 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03055/1.126, allocations: 21.17 MB / 0.6932 GB, free: 8.664 MB / 0.4982 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004011/1.13, allocations: 391.5 kB / 0.6936 GB, free: 8.281 MB / 0.4982 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001009/1.131, allocations: 291.9 kB / 0.6939 GB, free: 7.996 MB / 0.4982 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.006231/1.137, allocations: 3.529 MB / 0.6973 GB, free: 4.453 MB / 0.4982 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009243/1.138, allocations: 385.5 kB / 0.6977 GB, free: 4.074 MB / 0.4982 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01668/1.155, allocations: 8.86 MB / 0.7063 GB, free: 11.14 MB / 0.5138 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01333/1.168, allocations: 7.553 MB / 0.7137 GB, free: 3.531 MB / 0.5138 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.892e-05/1.168, allocations: 24 kB / 0.7137 GB, free: 3.508 MB / 0.5138 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.112e-05/1.168, allocations: 35.83 kB / 0.7138 GB, free: 3.473 MB / 0.5138 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03371/1.202, allocations: 17.81 MB / 0.7311 GB, free: 1.344 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.759e-05/1.202, allocations: 16 kB / 0.7312 GB, free: 1.328 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003432/1.206, allocations: 0.8307 MB / 0.732 GB, free: 0.4961 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006155/1.212, allocations: 2.009 MB / 0.7339 GB, free: 14.48 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005605/1.212, allocations: 128 kB / 0.7341 GB, free: 14.35 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2303/1.443, allocations: 19.18 MB / 0.7528 GB, free: 183.9 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.627e-05/1.443, allocations: 24.16 kB / 0.7528 GB, free: 183.9 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01634/1.459, allocations: 13.32 MB / 0.7658 GB, free: 179.6 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002063/1.461, allocations: 1.022 MB / 0.7668 GB, free: 179.3 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005279/1.462, allocations: 107 kB / 0.7669 GB, free: 179.3 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002116/1.464, allocations: 299.8 kB / 0.7672 GB, free: 179.2 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00081/1.464, allocations: 435.5 kB / 0.7676 GB, free: 179.1 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002745/1.465, allocations: 159.7 kB / 0.7678 GB, free: 179.1 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.002269/1.467, allocations: 2.127 MB / 0.7699 GB, free: 178.3 MB / 0.545 GB Notification: Performance of sort global known variables: time 9e-08/1.467, allocations: 0 / 0.7699 GB, free: 178.3 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.004758/1.472, allocations: 1.779 MB / 0.7716 GB, free: 178.1 MB / 0.545 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.01563/1.487, allocations: 14.1 MB / 0.7854 GB, free: 169.2 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01198/1.499, allocations: 8.954 MB / 0.7941 GB, free: 161.5 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.157e-05/1.499, allocations: 4 kB / 0.7941 GB, free: 161.5 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.006794/1.506, allocations: 4.649 MB / 0.7986 GB, free: 157.5 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004063/1.51, allocations: 0.8311 MB / 0.7995 GB, free: 156.8 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06951/1.58, allocations: 58.04 MB / 0.8561 GB, free: 96.44 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006712/1.586, allocations: 5.673 MB / 0.8617 GB, free: 90.74 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.004552/1.591, allocations: 2.207 MB / 0.8638 GB, free: 88.52 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003285/1.594, allocations: 3.1 MB / 0.8669 GB, free: 85.42 MB / 0.545 GB Notification: Performance of SimCode: time 1.082e-06/1.594, allocations: 0 / 0.8669 GB, free: 85.42 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3979/1.992, allocations: 135.4 MB / 0.9991 GB, free: 152.4 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 20.35/22.34, allocations: 13.09 kB / 0.9991 GB, free: 152.4 MB / 0.545 GB " [Timeout remaining time 637] (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: 28.228314028005116]