Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.001565/0.001565, allocations: 124.5 kB / 17.79 MB, free: 5.227 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.001635/0.001635, allocations: 207.2 kB / 20.75 MB, free: 2.273 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.467/1.467, allocations: 230.6 MB / 254.1 MB, free: 15.07 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4_1_0_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_Components_EddyCurrentLosses",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses,fileNamePrefix="Modelica_4_1_0_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_Components_EddyCurrentLosses",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.0018/0.0018, allocations: 59.92 kB / 373 MB, free: 10.18 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1222/0.124, allocations: 53.33 MB / 426.3 MB, free: 4.754 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.2342/0.3582, allocations: 16.68 MB / 443 MB, free: 1.508 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01117/0.3693, allocations: 4.711 MB / 447.7 MB, free: 14.64 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004742/0.3741, allocations: 157.2 kB / 447.9 MB, free: 14.59 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01843/0.3925, allocations: 7.224 MB / 455.1 MB, free: 10.29 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00872/0.4012, allocations: 1.972 MB / 457.1 MB, free: 9.098 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004888/0.4061, allocations: 1.545 MB / 458.6 MB, free: 8.184 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01475/0.4209, allocations: 9.507 MB / 468.1 MB, free: 2.895 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03169/0.4526, allocations: 16.24 MB / 484.4 MB, free: 6.816 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0104/0.463, allocations: 5.339 MB / 489.7 MB, free: 1.461 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01139/0.4743, allocations: 5.969 MB / 495.7 MB, free: 11.47 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.005143/0.4795, allocations: 1.359 MB / 497 MB, free: 10.11 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007063/0.4866, allocations: 1.667 MB / 498.7 MB, free: 8.445 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006866/0.4934, allocations: 2.798 MB / 0.4897 GB, free: 5.641 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0117/0.5051, allocations: 5.358 MB / 0.495 GB, free: 268 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02556/0.5307, allocations: 18.4 MB / 0.5129 GB, free: 13.8 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.301e-06/0.5307, allocations: 0 / 0.5129 GB, free: 13.8 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.054e-06/0.5307, allocations: 0 / 0.5129 GB, free: 13.8 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.000492/0.5312, allocations: 0 / 0.5129 GB, free: 13.8 MB / 430.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.03785/0.569, allocations: 12.34 MB / 0.525 GB, free: 1.367 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.299e-05/0.5691, allocations: 8.031 kB / 0.525 GB, free: 1.359 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004799/0.5739, allocations: 1.517 MB / 0.5265 GB, free: 15.83 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03747/0.6113, allocations: 6.195 MB / 0.5325 GB, free: 9.625 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01421/0.6256, allocations: 5.86 MB / 0.5383 GB, free: 3.703 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000785/0.6263, allocations: 0.6704 MB / 0.5389 GB, free: 3.031 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003593/0.6299, allocations: 0.8788 MB / 0.5398 GB, free: 2.152 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03763/0.6676, allocations: 14.74 MB / 0.5542 GB, free: 3.359 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003926/0.668, allocations: 15.89 kB / 0.5542 GB, free: 3.344 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002815/0.6708, allocations: 380 kB / 0.5545 GB, free: 2.973 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006155/0.6714, allocations: 499.3 kB / 0.555 GB, free: 2.48 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03106/0.7024, allocations: 13.56 MB / 0.5683 GB, free: 4.887 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08902/0.7915, allocations: 44.74 MB / 0.612 GB, free: 6.918 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.4153/1.207, allocations: 11.25 MB / 0.6229 GB, free: 146.2 MB / 0.5138 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005123/1.212, allocations: 2.87 MB / 0.6257 GB, free: 146.1 MB / 0.5138 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004857/1.212, allocations: 288.6 kB / 0.626 GB, free: 145.9 MB / 0.5138 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.526e-05/1.212, allocations: 76.28 kB / 0.6261 GB, free: 145.9 MB / 0.5138 GB Notification: Performance of pre-optimization done (n=409): time 6.482e-06/1.212, allocations: 0 / 0.6261 GB, free: 145.9 MB / 0.5138 GB Notification: Performance of matching and sorting (n=409): time 0.0233/1.236, allocations: 9.584 MB / 0.6354 GB, free: 143.1 MB / 0.5138 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.139e-05/1.236, allocations: 120.3 kB / 0.6356 GB, free: 143 MB / 0.5138 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005417/1.241, allocations: 3.161 MB / 0.6387 GB, free: 141.9 MB / 0.5138 GB Notification: Performance of collectPreVariables (initialization): time 0.0007787/1.242, allocations: 90.83 kB / 0.6387 GB, free: 141.8 MB / 0.5138 GB Notification: Performance of collectInitialEqns (initialization): time 0.002286/1.244, allocations: 3.83 MB / 0.6425 GB, free: 139.8 MB / 0.5138 GB Notification: Performance of collectInitialBindings (initialization): time 0.001671/1.246, allocations: 1.461 MB / 0.6439 GB, free: 138.8 MB / 0.5138 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001886/1.248, allocations: 1.154 MB / 0.645 GB, free: 138.2 MB / 0.5138 GB Notification: Performance of setup shared object (initialization): time 4.467e-05/1.248, allocations: 301.1 kB / 0.6453 GB, free: 137.9 MB / 0.5138 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004368/1.252, allocations: 2.842 MB / 0.6481 GB, free: 137 MB / 0.5138 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004779/1.257, allocations: 4.903 MB / 0.6529 GB, free: 133.3 MB / 0.5138 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008975/1.266, allocations: 8.277 MB / 0.661 GB, free: 128 MB / 0.5138 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.39e-05/1.266, allocations: 19.75 kB / 0.661 GB, free: 128 MB / 0.5138 GB Notification: Performance of matching and sorting (n=743) (initialization): time 0.01323/1.279, allocations: 9.115 MB / 0.6699 GB, free: 124.6 MB / 0.5138 GB Notification: Performance of prepare postOptimizeDAE: time 5.149e-05/1.279, allocations: 35.03 kB / 0.6699 GB, free: 124.6 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.948e-05/1.279, allocations: 67.48 kB / 0.67 GB, free: 124.6 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003045/1.282, allocations: 1.149 MB / 0.6711 GB, free: 124.3 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004361/1.287, allocations: 1.295 MB / 0.6724 GB, free: 124.2 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01218/1.299, allocations: 10.83 MB / 0.6829 GB, free: 115.6 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004521/1.304, allocations: 0.7524 MB / 0.6837 GB, free: 114.8 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008095/1.304, allocations: 284 kB / 0.684 GB, free: 114.5 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 (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.004867/1.309, allocations: 3.427 MB / 0.6873 GB, free: 111.1 MB / 0.5138 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007241/1.31, allocations: 361.7 kB / 0.6876 GB, free: 110.7 MB / 0.5138 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01014/1.32, allocations: 6.878 MB / 0.6944 GB, free: 103.8 MB / 0.5138 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.007694/1.328, allocations: 5.721 MB / 0.6999 GB, free: 98.11 MB / 0.5138 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.22e-05/1.328, allocations: 12 kB / 0.7 GB, free: 98.09 MB / 0.5138 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.731e-05/1.328, allocations: 19.92 kB / 0.7 GB, free: 98.07 MB / 0.5138 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02204/1.35, allocations: 15.24 MB / 0.7149 GB, free: 82.69 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.249e-05/1.35, allocations: 16 kB / 0.7149 GB, free: 82.67 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002839/1.353, allocations: 0.7918 MB / 0.7156 GB, free: 81.88 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002948/1.356, allocations: 1.059 MB / 0.7167 GB, free: 80.81 MB / 0.5138 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000478/1.356, allocations: 122.9 kB / 0.7168 GB, free: 80.7 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01209/1.368, allocations: 10.58 MB / 0.7271 GB, free: 69.85 MB / 0.5138 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.628e-06/1.368, allocations: 19.94 kB / 0.7271 GB, free: 69.83 MB / 0.5138 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01412/1.382, allocations: 10.7 MB / 0.7376 GB, free: 58.89 MB / 0.5138 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002018/1.384, allocations: 1.017 MB / 0.7386 GB, free: 57.85 MB / 0.5138 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000736/1.385, allocations: 95.98 kB / 0.7387 GB, free: 57.76 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002404/1.388, allocations: 275.7 kB / 0.7389 GB, free: 57.49 MB / 0.5138 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006845/1.388, allocations: 348.5 kB / 0.7393 GB, free: 57.15 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002733/1.388, allocations: 140 kB / 0.7394 GB, free: 57.01 MB / 0.5138 GB Notification: Performance of sorting global known variables: time 0.002678/1.391, allocations: 2.125 MB / 0.7415 GB, free: 54.88 MB / 0.5138 GB Notification: Performance of sort global known variables: time 2.31e-07/1.391, allocations: 0 / 0.7415 GB, free: 54.88 MB / 0.5138 GB Notification: Performance of remove unused functions: time 0.005636/1.397, allocations: 2.258 MB / 0.7437 GB, free: 52.62 MB / 0.5138 GB 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.015/1.412, allocations: 11.43 MB / 0.7549 GB, free: 40.96 MB / 0.5138 GB Notification: Performance of simCode: created initialization part: time 0.01111/1.423, allocations: 7.166 MB / 0.7619 GB, free: 33.78 MB / 0.5138 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-05/1.423, allocations: 1.875 kB / 0.7619 GB, free: 33.78 MB / 0.5138 GB Notification: Performance of simCode: created simulation system equations: time 0.006108/1.429, allocations: 3.416 MB / 0.7652 GB, free: 30.35 MB / 0.5138 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004469/1.434, allocations: 0.8044 MB / 0.766 GB, free: 29.57 MB / 0.5138 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08657/1.52, allocations: 51.79 MB / 0.8165 GB, free: 7.113 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01312/1.533, allocations: 5.934 MB / 0.8223 GB, free: 1.141 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.2408/1.774, allocations: 2.153 MB / 0.8244 GB, free: 169.5 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004326/1.778, allocations: 3.028 MB / 0.8274 GB, free: 169.5 MB / 0.545 GB Notification: Performance of SimCode: time 1.052e-06/1.778, allocations: 0 / 0.8274 GB, free: 169.5 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1717/1.95, allocations: 115.3 MB / 0.94 GB, free: 86.12 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.27/20.22, allocations: 6.875 kB / 0.94 GB, free: 86.12 MB / 0.545 GB " [Timeout remaining time 640] (rm -f Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_Components_EddyCurrentLosses_fmu --startTime=0 --stopTime=40 --stepSize=0.01 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_Components_EddyCurrentLosses.fmu > Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/Components/EddyCurrentLosses/EddyCurrentLosses.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_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: 24.441989321960136]