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.001463/0.001463, allocations: 109.6 kB / 21.18 MB, free: 0.7188 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.002004/0.002004, allocations: 216.7 kB / 24.49 MB, free: 4.09 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.577/1.577, allocations: 207.6 MB / 235.3 MB, free: 10.01 MB / 190.1 MB " [Timeout remaining time 178] 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="me",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="me",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.001911/0.001911, allocations: 51.94 kB / 347.2 MB, free: 10.03 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2885/0.2904, allocations: 49.16 MB / 396.4 MB, free: 8.992 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.01573/0.3061, allocations: 16.62 MB / 413 MB, free: 13 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01163/0.3177, allocations: 4.696 MB / 417.7 MB, free: 9.684 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004034/0.3218, allocations: 131.1 kB / 417.8 MB, free: 9.645 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01744/0.3392, allocations: 7.263 MB / 425.1 MB, free: 4.18 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008238/0.3475, allocations: 1.915 MB / 427 MB, free: 2.672 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005086/0.3525, allocations: 1.676 MB / 428.7 MB, free: 1.375 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.01466/0.3672, allocations: 9.525 MB / 438.2 MB, free: 9.387 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02675/0.394, allocations: 13.58 MB / 451.8 MB, free: 11.65 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009485/0.4034, allocations: 5.389 MB / 457.2 MB, free: 6.25 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01052/0.414, allocations: 5.946 MB / 463.1 MB, free: 292 kB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003927/0.4179, allocations: 1.359 MB / 464.5 MB, free: 14.92 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005959/0.4238, allocations: 1.648 MB / 466.1 MB, free: 13.28 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005008/0.4289, allocations: 2.798 MB / 468.9 MB, free: 10.47 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01139/0.4402, allocations: 5.358 MB / 474.3 MB, free: 5.094 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02653/0.4668, allocations: 18.24 MB / 492.5 MB, free: 2.805 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.903e-06/0.4668, allocations: 0 / 492.5 MB, free: 2.805 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.833e-06/0.4668, allocations: 0 / 492.5 MB, free: 2.805 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0006371/0.4674, allocations: 0 / 492.5 MB, free: 2.805 MB / 398.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.04133/0.5087, allocations: 12.25 MB / 0.4929 GB, free: 6.477 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.478e-05/0.5088, allocations: 11.98 kB / 0.4929 GB, free: 6.465 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005477/0.5143, allocations: 1.513 MB / 0.4944 GB, free: 4.941 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0364/0.5507, allocations: 6.296 MB / 0.5006 GB, free: 14.63 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01503/0.5657, allocations: 5.246 MB / 0.5057 GB, free: 9.32 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007815/0.5665, allocations: 0.6742 MB / 0.5063 GB, free: 8.645 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003902/0.5704, allocations: 0.8788 MB / 0.5072 GB, free: 7.766 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0401/0.6105, allocations: 14.71 MB / 0.5216 GB, free: 9 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002787/0.6108, allocations: 11.95 kB / 0.5216 GB, free: 8.988 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001995/0.6128, allocations: 376 kB / 0.5219 GB, free: 8.621 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005659/0.6133, allocations: 499.3 kB / 0.5224 GB, free: 8.129 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02996/0.6433, allocations: 13.53 MB / 0.5356 GB, free: 10.57 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4509/1.094, allocations: 43.43 MB / 0.578 GB, free: 119.9 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009858/1.104, allocations: 5.974 MB / 0.5839 GB, free: 118.8 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003758/1.108, allocations: 2.863 MB / 0.5867 GB, free: 117.8 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002971/1.108, allocations: 95.98 kB / 0.5868 GB, free: 117.8 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.116e-05/1.108, allocations: 87.89 kB / 0.5868 GB, free: 117.8 MB / 478.1 MB Notification: Performance of pre-optimization done (n=409): time 5.751e-06/1.108, allocations: 0 / 0.5868 GB, free: 117.8 MB / 478.1 MB Notification: Performance of matching and sorting (n=409): time 0.017/1.125, allocations: 9.416 MB / 0.596 GB, free: 114.5 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.156e-05/1.125, allocations: 118.5 kB / 0.5961 GB, free: 114.4 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004019/1.129, allocations: 3.163 MB / 0.5992 GB, free: 112.7 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003618/1.13, allocations: 95.75 kB / 0.5993 GB, free: 112.7 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001815/1.131, allocations: 3.834 MB / 0.6031 GB, free: 109.9 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00103/1.132, allocations: 1.459 MB / 0.6045 GB, free: 108.9 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001321/1.134, allocations: 1.128 MB / 0.6056 GB, free: 108.2 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 4.779e-05/1.134, allocations: 305.1 kB / 0.6059 GB, free: 107.9 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003344/1.137, allocations: 2.84 MB / 0.6087 GB, free: 106.4 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004091/1.141, allocations: 4.899 MB / 0.6134 GB, free: 102.2 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007315/1.149, allocations: 8.26 MB / 0.6215 GB, free: 93.93 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.856e-05/1.149, allocations: 20 kB / 0.6215 GB, free: 93.91 MB / 478.1 MB Notification: Performance of matching and sorting (n=743) (initialization): time 0.0115/1.16, allocations: 9.08 MB / 0.6304 GB, free: 84.81 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.239e-05/1.16, allocations: 32 kB / 0.6304 GB, free: 84.78 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.546e-05/1.16, allocations: 76.03 kB / 0.6305 GB, free: 84.7 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002789/1.163, allocations: 1.151 MB / 0.6316 GB, free: 83.55 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004017/1.167, allocations: 1.295 MB / 0.6329 GB, free: 82.25 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01186/1.179, allocations: 10.61 MB / 0.6433 GB, free: 71.45 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004217/1.183, allocations: 0.7531 MB / 0.644 GB, free: 70.69 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009119/1.184, allocations: 272 kB / 0.6443 GB, free: 70.42 MB / 478.1 MB 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 (675): * Single equations (assignments): 671 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 {(6,24,100.0%), (5,33,80.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00573/1.19, allocations: 3.419 MB / 0.6476 GB, free: 66.99 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008368/1.191, allocations: 369.7 kB / 0.6479 GB, free: 66.62 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009776/1.2, allocations: 6.874 MB / 0.6547 GB, free: 59.72 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.007103/1.208, allocations: 5.702 MB / 0.6602 GB, free: 54.01 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.034e-05/1.208, allocations: 12 kB / 0.6602 GB, free: 54 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.655e-05/1.208, allocations: 23.91 kB / 0.6603 GB, free: 53.97 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0232/1.231, allocations: 15.27 MB / 0.6752 GB, free: 38.55 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.269e-05/1.231, allocations: 12 kB / 0.6752 GB, free: 38.54 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002787/1.234, allocations: 0.7881 MB / 0.6759 GB, free: 37.75 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002749/1.236, allocations: 1.063 MB / 0.677 GB, free: 36.68 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003546/1.237, allocations: 116 kB / 0.6771 GB, free: 36.57 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01129/1.248, allocations: 10.36 MB / 0.6872 GB, free: 26 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.126e-05/1.248, allocations: 23.88 kB / 0.6872 GB, free: 25.97 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01263/1.261, allocations: 10.66 MB / 0.6977 GB, free: 15.08 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002361/1.263, allocations: 0.9571 MB / 0.6986 GB, free: 14.12 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004909/1.263, allocations: 99.98 kB / 0.6987 GB, free: 14.02 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001921/1.265, allocations: 275.8 kB / 0.6989 GB, free: 13.75 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005844/1.266, allocations: 351 kB / 0.6993 GB, free: 13.41 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002328/1.266, allocations: 144 kB / 0.6994 GB, free: 13.27 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.002503/1.269, allocations: 2.125 MB / 0.7015 GB, free: 11.14 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.21e-07/1.269, allocations: 0 / 0.7015 GB, free: 11.14 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.005344/1.274, allocations: 2.254 MB / 0.7037 GB, free: 8.875 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 58 * 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 (415): * Single equations (assignments): 411 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 {(6,24,91.7%), (5,33,80.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01346/1.288, allocations: 11.42 MB / 0.7148 GB, free: 13.23 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01356/1.301, allocations: 7.146 MB / 0.7218 GB, free: 6.055 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.98e-05/1.301, allocations: 4 kB / 0.7218 GB, free: 6.051 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00735/1.308, allocations: 3.397 MB / 0.7251 GB, free: 2.637 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004678/1.313, allocations: 0.803 MB / 0.7259 GB, free: 1.836 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3026/1.616, allocations: 51.96 MB / 0.7767 GB, free: 162 MB / 0.5138 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005772/1.621, allocations: 5.939 MB / 0.7825 GB, free: 159.9 MB / 0.5138 GB Notification: Performance of simCode: alias equations: time 0.004713/1.626, allocations: 2.157 MB / 0.7846 GB, free: 159.7 MB / 0.5138 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003243/1.629, allocations: 3 MB / 0.7875 GB, free: 157.2 MB / 0.5138 GB Notification: Performance of SimCode: time 1.232e-06/1.629, allocations: 4 kB / 0.7875 GB, free: 157.2 MB / 0.5138 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1621/1.791, allocations: 120.1 MB / 0.9048 GB, free: 45.59 MB / 0.5138 GB Notification: Performance of buildModelFMU: Generate platform static: time 20.08/21.87, allocations: 3.938 kB / 0.9048 GB, free: 45.59 MB / 0.5138 GB " [Timeout remaining time 638] (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 659] Reference file matches [Calling sys.exit(0), Time elapsed: 26.364627639995888]