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.001763/0.001763, allocations: 103.6 kB / 21.18 MB, free: 332 kB / 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.002234/0.002234, allocations: 212 kB / 24.47 MB, free: 3.547 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.375/1.375, allocations: 207.7 MB / 235.3 MB, free: 9.785 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.001823/0.001823, allocations: 55.92 kB / 347.2 MB, free: 9.867 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2471/0.2489, allocations: 49.15 MB / 396.4 MB, free: 8.879 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.01417/0.2631, allocations: 14.24 MB / 410.6 MB, free: 15.38 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01117/0.2742, allocations: 4.53 MB / 415.1 MB, free: 12.25 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003823/0.2781, allocations: 134.8 kB / 415.3 MB, free: 12.21 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01731/0.2954, allocations: 6.699 MB / 422 MB, free: 7.305 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008998/0.3044, allocations: 1.873 MB / 423.8 MB, free: 5.84 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006506/0.3109, allocations: 1.606 MB / 425.4 MB, free: 4.617 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.01605/0.3269, allocations: 9.506 MB / 435 MB, free: 12.42 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02712/0.3541, allocations: 13.46 MB / 448.4 MB, free: 14.81 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009824/0.3639, allocations: 5.386 MB / 453.8 MB, free: 9.41 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01161/0.3755, allocations: 5.801 MB / 459.6 MB, free: 3.59 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.005053/0.3805, allocations: 1.355 MB / 461 MB, free: 2.234 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009369/0.3899, allocations: 1.633 MB / 462.6 MB, free: 0.6016 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.007197/0.3971, allocations: 2.806 MB / 465.4 MB, free: 13.79 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01321/0.4103, allocations: 4.187 MB / 469.6 MB, free: 9.586 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0327/0.443, allocations: 18.32 MB / 487.9 MB, free: 7.207 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.596e-06/0.443, allocations: 4 kB / 487.9 MB, free: 7.203 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.114e-06/0.443, allocations: 4 kB / 487.9 MB, free: 7.199 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0005915/0.4436, allocations: 0 / 487.9 MB, free: 7.199 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.0403/0.4839, allocations: 12.23 MB / 0.4884 GB, free: 10.89 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.103e-05/0.484, allocations: 11.98 kB / 0.4884 GB, free: 10.88 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005422/0.4894, allocations: 1.513 MB / 0.4899 GB, free: 9.352 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03684/0.5262, allocations: 6.292 MB / 0.496 GB, free: 3.047 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01466/0.5409, allocations: 5.258 MB / 0.5012 GB, free: 13.72 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007935/0.5417, allocations: 0.6742 MB / 0.5018 GB, free: 13.05 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003864/0.5456, allocations: 0.8788 MB / 0.5027 GB, free: 12.17 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03822/0.5838, allocations: 14.94 MB / 0.5173 GB, free: 13.12 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002272/0.584, allocations: 11.95 kB / 0.5173 GB, free: 13.11 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001428/0.5854, allocations: 376 kB / 0.5177 GB, free: 12.75 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005641/0.586, allocations: 499.3 kB / 0.5181 GB, free: 12.25 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03079/0.6168, allocations: 13.48 MB / 0.5313 GB, free: 14.75 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5458/1.163, allocations: 40 MB / 0.5704 GB, free: 118 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01039/1.173, allocations: 5.942 MB / 0.5762 GB, free: 117.8 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004279/1.177, allocations: 2.86 MB / 0.579 GB, free: 117.8 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003276/1.178, allocations: 90.25 kB / 0.579 GB, free: 117.8 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.374e-05/1.178, allocations: 87 kB / 0.5791 GB, free: 117.7 MB / 478.1 MB Notification: Performance of pre-optimization done (n=409): time 7.464e-06/1.178, allocations: 0 / 0.5791 GB, free: 117.7 MB / 478.1 MB Notification: Performance of matching and sorting (n=409): time 0.01856/1.196, allocations: 9.409 MB / 0.5883 GB, free: 115.4 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.002e-05/1.196, allocations: 119 kB / 0.5884 GB, free: 115.3 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004459/1.201, allocations: 3.283 MB / 0.5916 GB, free: 114.2 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004231/1.201, allocations: 88.52 kB / 0.5917 GB, free: 114.1 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001834/1.203, allocations: 3.831 MB / 0.5955 GB, free: 111.8 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000944/1.204, allocations: 1.462 MB / 0.5969 GB, free: 110.8 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001343/1.205, allocations: 1.137 MB / 0.598 GB, free: 110.3 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 4.558e-05/1.205, allocations: 301.1 kB / 0.5983 GB, free: 110 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003284/1.209, allocations: 2.84 MB / 0.6011 GB, free: 109 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004074/1.213, allocations: 4.897 MB / 0.6058 GB, free: 104.9 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008275/1.221, allocations: 8.257 MB / 0.6139 GB, free: 98.88 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.181e-05/1.221, allocations: 19.75 kB / 0.6139 GB, free: 98.88 MB / 478.1 MB Notification: Performance of matching and sorting (n=743) (initialization): time 0.01336/1.234, allocations: 9.081 MB / 0.6228 GB, free: 91.63 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.821e-05/1.234, allocations: 39.98 kB / 0.6228 GB, free: 91.59 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001064/1.235, allocations: 64 kB / 0.6229 GB, free: 91.53 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00336/1.238, allocations: 1.155 MB / 0.624 GB, free: 90.37 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005041/1.243, allocations: 1.291 MB / 0.6253 GB, free: 89.08 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01214/1.255, allocations: 10.45 MB / 0.6355 GB, free: 78.41 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004613/1.26, allocations: 0.7531 MB / 0.6362 GB, free: 77.66 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008547/1.261, allocations: 272 kB / 0.6365 GB, free: 77.39 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.005587/1.266, allocations: 3.425 MB / 0.6398 GB, free: 73.95 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008016/1.267, allocations: 365.7 kB / 0.6402 GB, free: 73.59 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00949/1.276, allocations: 6.886 MB / 0.6469 GB, free: 66.68 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.007185/1.284, allocations: 5.702 MB / 0.6525 GB, free: 60.96 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.866e-05/1.284, allocations: 8 kB / 0.6525 GB, free: 60.96 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.76e-05/1.284, allocations: 23.92 kB / 0.6525 GB, free: 60.93 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02357/1.307, allocations: 14.71 MB / 0.6669 GB, free: 46.08 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.13e-05/1.307, allocations: 12 kB / 0.6669 GB, free: 46.07 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00268/1.31, allocations: 0.7917 MB / 0.6676 GB, free: 45.27 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002859/1.313, allocations: 1.056 MB / 0.6687 GB, free: 44.21 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005823/1.313, allocations: 112.2 kB / 0.6688 GB, free: 44.1 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0116/1.325, allocations: 10.22 MB / 0.6788 GB, free: 33.67 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.296e-05/1.325, allocations: 23.88 kB / 0.6788 GB, free: 33.64 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01501/1.34, allocations: 10.66 MB / 0.6892 GB, free: 22.75 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002954/1.343, allocations: 0.9687 MB / 0.6901 GB, free: 21.78 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000726/1.344, allocations: 95.98 kB / 0.6902 GB, free: 21.68 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002188/1.346, allocations: 275.8 kB / 0.6905 GB, free: 21.41 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006005/1.347, allocations: 355 kB / 0.6908 GB, free: 21.07 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002358/1.347, allocations: 148 kB / 0.691 GB, free: 20.92 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.002615/1.349, allocations: 2.117 MB / 0.693 GB, free: 18.8 MB / 478.1 MB Notification: Performance of sort global known variables: time 8e-08/1.349, allocations: 0 / 0.693 GB, free: 18.8 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.005736/1.355, allocations: 2.243 MB / 0.6952 GB, free: 16.55 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.01253/1.368, allocations: 11.4 MB / 0.7064 GB, free: 4.922 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.01092/1.379, allocations: 7.151 MB / 0.7133 GB, free: 13.74 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.22e-05/1.379, allocations: 0 / 0.7133 GB, free: 13.74 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006359/1.385, allocations: 3.408 MB / 0.7167 GB, free: 10.32 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004014/1.389, allocations: 0.8098 MB / 0.7175 GB, free: 9.52 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.283/1.672, allocations: 51.91 MB / 0.7682 GB, free: 167.3 MB / 0.5138 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005305/1.677, allocations: 5.47 MB / 0.7735 GB, free: 165.7 MB / 0.5138 GB Notification: Performance of simCode: alias equations: time 0.00476/1.682, allocations: 2.16 MB / 0.7756 GB, free: 165.6 MB / 0.5138 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003185/1.685, allocations: 2.998 MB / 0.7785 GB, free: 163.1 MB / 0.5138 GB Notification: Performance of SimCode: time 1.523e-06/1.685, allocations: 0 / 0.7785 GB, free: 163.1 MB / 0.5138 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.942/3.628, allocations: 116.1 MB / 0.8919 GB, free: 57.02 MB / 0.5138 GB Notification: Performance of buildModelFMU: Generate platform static: time 20.41/24.03, allocations: 19.86 kB / 0.8919 GB, free: 57 MB / 0.5138 GB " [Timeout remaining time 636] (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: 32.84276121342555]