Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001945/0.001945, allocations: 111.1 kB / 20.44 MB, free: 1.062 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002502/0.002502, allocations: 213 kB / 23.73 MB, free: 4.164 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.451/1.451, allocations: 230.5 MB / 257.4 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_Components_EddyCurrentLosses",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_Components_EddyCurrentLosses",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00194/0.00194, allocations: 67.88 kB / 377.7 MB, free: 2.832 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.236/0.2379, allocations: 53.41 MB / 431.2 MB, free: 6.465 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.01824/0.2561, allocations: 14.31 MB / 445.5 MB, free: 8.082 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.009915/0.2661, allocations: 4.546 MB / 450 MB, free: 3.523 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00273/0.2688, allocations: 159.2 kB / 450.2 MB, free: 3.367 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01648/0.2853, allocations: 6.688 MB / 456.9 MB, free: 12.66 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007167/0.2924, allocations: 1.99 MB / 458.9 MB, free: 10.67 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004577/0.297, allocations: 1.514 MB / 460.4 MB, free: 9.16 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01216/0.3092, allocations: 9.621 MB / 470 MB, free: 15.5 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0216/0.3308, allocations: 13.46 MB / 483.4 MB, free: 1.891 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007358/0.3381, allocations: 5.378 MB / 488.8 MB, free: 12.5 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009015/0.3472, allocations: 5.836 MB / 494.7 MB, free: 6.645 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002944/0.3501, allocations: 1.355 MB / 496 MB, free: 5.289 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004026/0.3541, allocations: 1.664 MB / 497.7 MB, free: 3.625 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003028/0.3572, allocations: 2.79 MB / 0.4887 GB, free: 0.8281 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00705/0.3642, allocations: 4.183 MB / 0.4928 GB, free: 12.62 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0205/0.3847, allocations: 18.5 MB / 0.5109 GB, free: 10.07 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.406e-06/0.3847, allocations: 4 kB / 0.5109 GB, free: 10.06 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.764e-06/0.3847, allocations: 0 / 0.5109 GB, free: 10.06 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0004086/0.3851, allocations: 4 kB / 0.5109 GB, free: 10.06 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.03354/0.4187, allocations: 12.25 MB / 0.5229 GB, free: 13.73 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.975e-05/0.4187, allocations: 11.98 kB / 0.5229 GB, free: 13.72 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003937/0.4227, allocations: 1.509 MB / 0.5243 GB, free: 12.2 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03573/0.4584, allocations: 6.202 MB / 0.5304 GB, free: 5.988 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.3691/0.8275, allocations: 5.919 MB / 0.5362 GB, free: 88.17 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009276/0.8284, allocations: 0.6728 MB / 0.5368 GB, free: 88.15 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002842/0.8313, allocations: 0.8746 MB / 0.5377 GB, free: 88.15 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02723/0.8585, allocations: 14.98 MB / 0.5523 GB, free: 82.75 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002104/0.8587, allocations: 8.094 kB / 0.5523 GB, free: 82.75 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001181/0.8599, allocations: 373.9 kB / 0.5527 GB, free: 82.47 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003596/0.8603, allocations: 495.5 kB / 0.5532 GB, free: 82.43 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02044/0.8807, allocations: 13.52 MB / 0.5664 GB, free: 69.7 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05237/0.9331, allocations: 40.08 MB / 0.6055 GB, free: 29.49 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008462/0.9415, allocations: 5.97 MB / 0.6113 GB, free: 23.74 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003487/0.945, allocations: 2.866 MB / 0.6141 GB, free: 20.88 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000287/0.9453, allocations: 111.8 kB / 0.6142 GB, free: 20.77 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.586e-05/0.9454, allocations: 88.36 kB / 0.6143 GB, free: 20.67 MB / 446.1 MB Notification: Performance of pre-optimization done (n=409): time 7.033e-06/0.9454, allocations: 0 / 0.6143 GB, free: 20.67 MB / 446.1 MB Notification: Performance of matching and sorting (n=409): time 0.0171/0.9625, allocations: 9.422 MB / 0.6235 GB, free: 11.26 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.09e-05/0.9625, allocations: 121.1 kB / 0.6236 GB, free: 11.12 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003593/0.9661, allocations: 3.279 MB / 0.6268 GB, free: 7.914 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003389/0.9665, allocations: 93.7 kB / 0.6269 GB, free: 7.816 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001325/0.9678, allocations: 3.835 MB / 0.6307 GB, free: 4.398 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007867/0.9686, allocations: 1.462 MB / 0.6321 GB, free: 2.957 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001313/0.9699, allocations: 1.14 MB / 0.6332 GB, free: 1.805 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.84e-05/0.9699, allocations: 305.1 kB / 0.6335 GB, free: 1.504 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003793/0.9737, allocations: 2.849 MB / 0.6363 GB, free: 14.65 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006829/0.9805, allocations: 4.904 MB / 0.6411 GB, free: 8.797 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01212/0.9927, allocations: 8.276 MB / 0.6492 GB, free: 15.59 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.726e-05/0.9927, allocations: 20 kB / 0.6492 GB, free: 15.57 MB / 478.1 MB Notification: Performance of matching and sorting (n=743) (initialization): time 0.01792/1.011, allocations: 9.107 MB / 0.6581 GB, free: 6.445 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.36e-05/1.011, allocations: 36 kB / 0.6581 GB, free: 6.41 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001157/1.011, allocations: 64 kB / 0.6582 GB, free: 6.348 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003469/1.014, allocations: 1.154 MB / 0.6593 GB, free: 5.188 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004849/1.019, allocations: 1.302 MB / 0.6606 GB, free: 3.883 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01625/1.035, allocations: 10.46 MB / 0.6708 GB, free: 9.199 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004085/1.039, allocations: 0.7413 MB / 0.6715 GB, free: 8.453 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000686/1.04, allocations: 284 kB / 0.6718 GB, free: 8.176 MB / 494.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.005778/1.046, allocations: 3.427 MB / 0.6751 GB, free: 4.734 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008458/1.047, allocations: 369.6 kB / 0.6755 GB, free: 4.371 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01287/1.06, allocations: 6.879 MB / 0.6822 GB, free: 13.46 MB / 0.4982 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01016/1.07, allocations: 5.717 MB / 0.6878 GB, free: 7.734 MB / 0.4982 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.565e-05/1.07, allocations: 16 kB / 0.6878 GB, free: 7.719 MB / 0.4982 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.695e-05/1.07, allocations: 23.91 kB / 0.6878 GB, free: 7.695 MB / 0.4982 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02801/1.098, allocations: 14.73 MB / 0.7022 GB, free: 8.766 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.369e-05/1.098, allocations: 24.05 kB / 0.7022 GB, free: 8.742 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003098/1.101, allocations: 0.7957 MB / 0.703 GB, free: 7.945 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003176/1.104, allocations: 1.052 MB / 0.704 GB, free: 6.887 MB / 0.5138 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004632/1.105, allocations: 112 kB / 0.7041 GB, free: 6.777 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01603/1.121, allocations: 10.22 MB / 0.7141 GB, free: 12.33 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.502e-05/1.121, allocations: 23.88 kB / 0.7141 GB, free: 12.3 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0182/1.139, allocations: 10.7 MB / 0.7246 GB, free: 1.363 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002772/1.142, allocations: 0.9726 MB / 0.7255 GB, free: 396 kB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007419/1.142, allocations: 92 kB / 0.7256 GB, free: 304 kB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002283/1.145, allocations: 275.6 kB / 0.7259 GB, free: 28 kB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007143/1.145, allocations: 359.1 kB / 0.7262 GB, free: 15.67 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002865/1.146, allocations: 144 kB / 0.7264 GB, free: 15.53 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.003316/1.149, allocations: 2.132 MB / 0.7285 GB, free: 13.39 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.3e-07/1.149, allocations: 0 / 0.7285 GB, free: 13.39 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.005826/1.155, allocations: 2.251 MB / 0.7307 GB, free: 11.14 MB / 0.545 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.2136/1.368, allocations: 11.42 MB / 0.7418 GB, free: 179.6 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01165/1.38, allocations: 7.163 MB / 0.7488 GB, free: 179 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.523e-05/1.38, allocations: 3.938 kB / 0.7488 GB, free: 179 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.004878/1.385, allocations: 3.418 MB / 0.7521 GB, free: 177.6 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003636/1.389, allocations: 0.8175 MB / 0.7529 GB, free: 177.3 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.062/1.451, allocations: 51.87 MB / 0.8036 GB, free: 139.2 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004726/1.455, allocations: 5.469 MB / 0.8089 GB, free: 133.7 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.004419/1.46, allocations: 2.158 MB / 0.8111 GB, free: 131.5 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003297/1.463, allocations: 3.034 MB / 0.814 GB, free: 128.5 MB / 0.545 GB Notification: Performance of SimCode: time 8.11e-07/1.463, allocations: 0 / 0.814 GB, free: 128.5 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.151/1.614, allocations: 117.1 MB / 0.9284 GB, free: 11.98 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.05/18.66, allocations: 7.031 kB / 0.9284 GB, free: 11.98 MB / 0.545 GB " [Timeout remaining time 641] (rm -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.sim & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses_res.csv --start-time 0 --stop-time 40 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.01 Modelica_trunk_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_Components_EddyCurrentLosses.fmu > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses_res.csv","/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_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 21.369541496038437]