Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001538/0.001538, allocations: 112.8 kB / 19.17 MB, free: 3.891 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001611/0.001611, allocations: 202.3 kB / 22.11 MB, free: 0.9531 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.371/1.371, allocations: 207.6 MB / 232.5 MB, free: 3.91 MB / 174.1 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses,fileNamePrefix="Modelica_3_2_3_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_Components_EddyCurrentLosses",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses,fileNamePrefix="Modelica_3_2_3_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_Components_EddyCurrentLosses",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001657/0.001657, allocations: 51.92 kB / 343 MB, free: 9.984 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08999/0.09165, allocations: 49.12 MB / 392.1 MB, free: 8.695 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.0184/0.11, allocations: 16.6 MB / 408.7 MB, free: 8.016 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01029/0.1203, allocations: 4.685 MB / 413.4 MB, free: 3.316 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00294/0.1233, allocations: 135.4 kB / 413.6 MB, free: 3.184 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0168/0.1401, allocations: 7.223 MB / 420.8 MB, free: 11.93 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007193/0.1473, allocations: 1.85 MB / 422.6 MB, free: 10.07 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004771/0.152, allocations: 1.663 MB / 424.3 MB, free: 8.402 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.01303/0.1651, allocations: 9.399 MB / 433.7 MB, free: 14.97 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0289/0.194, allocations: 16.23 MB / 449.9 MB, free: 14.58 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008658/0.2026, allocations: 5.339 MB / 455.3 MB, free: 9.23 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01008/0.2127, allocations: 5.919 MB / 461.2 MB, free: 3.293 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004012/0.2167, allocations: 1.359 MB / 462.5 MB, free: 1.934 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005891/0.2226, allocations: 1.652 MB / 464.2 MB, free: 288 kB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.2208/0.4434, allocations: 2.789 MB / 467 MB, free: 27.19 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01521/0.4586, allocations: 5.357 MB / 472.3 MB, free: 26.54 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02243/0.481, allocations: 18.24 MB / 490.6 MB, free: 20.54 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.013e-06/0.481, allocations: 4 kB / 490.6 MB, free: 20.54 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.481, allocations: 0 / 490.6 MB, free: 20.54 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0005844/0.4816, allocations: 0 / 490.6 MB, free: 20.54 MB / 382.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.04026/0.5219, allocations: 12.32 MB / 0.4911 GB, free: 12.98 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.132e-05/0.5219, allocations: 7.438 kB / 0.4911 GB, free: 12.98 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0002646/0.5222, allocations: 281.4 kB / 0.4914 GB, free: 12.93 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005418/0.5276, allocations: 1.511 MB / 0.4929 GB, free: 12 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03383/0.5614, allocations: 6.285 MB / 0.499 GB, free: 9.199 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0114/0.5728, allocations: 5.198 MB / 0.5041 GB, free: 6.117 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005321/0.5734, allocations: 0.667 MB / 0.5047 GB, free: 5.684 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003788/0.5772, allocations: 0.8766 MB / 0.5056 GB, free: 4.816 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03913/0.6163, allocations: 14.72 MB / 0.52 GB, free: 6.074 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002276/0.6165, allocations: 15.94 kB / 0.52 GB, free: 6.059 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001897/0.6184, allocations: 377.7 kB / 0.5203 GB, free: 5.699 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005493/0.619, allocations: 495.3 kB / 0.5208 GB, free: 5.211 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02876/0.6477, allocations: 13.53 MB / 0.534 GB, free: 7.656 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08037/0.7281, allocations: 44.22 MB / 0.5772 GB, free: 11.18 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01256/0.7407, allocations: 11.21 MB / 0.5882 GB, free: 14.87 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004579/0.7452, allocations: 2.877 MB / 0.591 GB, free: 12 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003434/0.7456, allocations: 183 kB / 0.5911 GB, free: 11.81 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.339e-05/0.7456, allocations: 78.56 kB / 0.5912 GB, free: 11.73 MB / 478.1 MB Notification: Performance of pre-optimization done (n=413): time 5.009e-06/0.7456, allocations: 0 / 0.5912 GB, free: 11.73 MB / 478.1 MB Notification: Performance of matching and sorting (n=492): time 0.05391/0.7995, allocations: 24.6 MB / 0.6152 GB, free: 3.078 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001266/0.7997, allocations: 132.8 kB / 0.6154 GB, free: 2.934 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005786/0.8055, allocations: 3.164 MB / 0.6185 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.001104/0.8066, allocations: 105.7 kB / 0.6186 GB, free: 15.64 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.003179/0.8097, allocations: 3.83 MB / 0.6223 GB, free: 11.8 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.002301/0.812, allocations: 1.747 MB / 0.624 GB, free: 10.07 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002064/0.8141, allocations: 1.228 MB / 0.6252 GB, free: 8.836 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001321/0.8142, allocations: 301.1 kB / 0.6255 GB, free: 8.539 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005026/0.8193, allocations: 3.272 MB / 0.6287 GB, free: 5.262 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006675/0.8259, allocations: 5.372 MB / 0.6339 GB, free: 14.98 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01267/0.8386, allocations: 9.256 MB / 0.643 GB, free: 5.031 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.258e-05/0.8387, allocations: 20 kB / 0.643 GB, free: 5.012 MB / 0.5137 GB Notification: Performance of matching and sorting (n=826) (initialization): time 0.2583/1.097, allocations: 10.95 MB / 0.6537 GB, free: 172.9 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 6.961e-05/1.097, allocations: 37.69 kB / 0.6537 GB, free: 172.9 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001509/1.097, allocations: 65.97 kB / 0.6538 GB, free: 172.9 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00638/1.104, allocations: 2.199 MB / 0.6559 GB, free: 172.8 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004959/1.109, allocations: 1.317 MB / 0.6572 GB, free: 172.8 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02323/1.132, allocations: 21.93 MB / 0.6786 GB, free: 161.4 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004486/1.136, allocations: 385.3 kB / 0.679 GB, free: 161.3 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008752/1.137, allocations: 296.2 kB / 0.6793 GB, free: 161.2 MB / 0.5137 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.005911/1.143, allocations: 3.522 MB / 0.6827 GB, free: 159.6 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000786/1.144, allocations: 390 kB / 0.6831 GB, free: 159.6 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01342/1.157, allocations: 8.871 MB / 0.6918 GB, free: 155.3 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01088/1.168, allocations: 7.555 MB / 0.6991 GB, free: 149 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.293e-05/1.168, allocations: 24 kB / 0.6992 GB, free: 149 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.943e-05/1.168, allocations: 23.58 kB / 0.6992 GB, free: 149 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02809/1.196, allocations: 18.43 MB / 0.7172 GB, free: 130.9 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.141e-05/1.196, allocations: 12 kB / 0.7172 GB, free: 130.9 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002802/1.199, allocations: 0.8269 MB / 0.718 GB, free: 130.1 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005272/1.204, allocations: 2.011 MB / 0.72 GB, free: 128.1 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005479/1.205, allocations: 128 kB / 0.7201 GB, free: 127.9 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02099/1.226, allocations: 19.91 MB / 0.7395 GB, free: 107.7 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.065e-05/1.226, allocations: 27.88 kB / 0.7396 GB, free: 107.6 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01728/1.243, allocations: 13.33 MB / 0.7526 GB, free: 93.77 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002691/1.246, allocations: 1.062 MB / 0.7536 GB, free: 92.69 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006331/1.247, allocations: 112 kB / 0.7537 GB, free: 92.58 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002406/1.249, allocations: 295.7 kB / 0.754 GB, free: 92.29 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008953/1.25, allocations: 414 kB / 0.7544 GB, free: 91.88 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002868/1.25, allocations: 171.9 kB / 0.7546 GB, free: 91.71 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.002947/1.253, allocations: 2.125 MB / 0.7566 GB, free: 89.59 MB / 0.5137 GB Notification: Performance of sort global known variables: time 9e-08/1.253, allocations: 0 / 0.7566 GB, free: 89.59 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.006588/1.26, allocations: 1.762 MB / 0.7583 GB, free: 87.82 MB / 0.5137 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,86.1%), (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.01646/1.276, allocations: 14.08 MB / 0.7721 GB, free: 73.21 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.01285/1.289, allocations: 8.967 MB / 0.7809 GB, free: 64.16 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.681e-05/1.289, allocations: 4 kB / 0.7809 GB, free: 64.15 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.007226/1.296, allocations: 4.655 MB / 0.7854 GB, free: 59.45 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005743/1.302, allocations: 0.8376 MB / 0.7862 GB, free: 58.62 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3596/1.662, allocations: 57.87 MB / 0.8427 GB, free: 176 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01016/1.672, allocations: 6.126 MB / 0.8487 GB, free: 175.1 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.005468/1.677, allocations: 2.208 MB / 0.8509 GB, free: 175.1 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003834/1.681, allocations: 3.101 MB / 0.8539 GB, free: 175.1 MB / 0.5137 GB Notification: Performance of SimCode: time 1.422e-06/1.681, allocations: 2.844 kB / 0.8539 GB, free: 175.1 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1945/1.876, allocations: 130 MB / 0.9809 GB, free: 61.66 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.5/20.38, allocations: 7.906 kB / 0.9809 GB, free: 61.66 MB / 0.5137 GB " [Timeout remaining time 639] (rm -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_Components_EddyCurrentLosses_fmu --startTime=0 --stopTime=40 --stepSize=0.01 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_Components_EddyCurrentLosses.fmu > Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/Components/EddyCurrentLosses/EddyCurrentLosses.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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.19645590597065]