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.001298/0.001298, allocations: 105.1 kB / 21.22 MB, free: 0.6289 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.001688/0.001688, allocations: 214.8 kB / 24.52 MB, free: 3.91 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.431/1.431, allocations: 230.5 MB / 258.2 MB, free: 7.773 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_Components_EddyCurrentLosses",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00183/0.00183, allocations: 55.91 kB / 378.5 MB, free: 2.812 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3214/0.3232, allocations: 53.41 MB / 431.9 MB, free: 6.469 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.01753/0.3407, allocations: 14.3 MB / 446.2 MB, free: 8.098 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01139/0.3521, allocations: 4.529 MB / 450.8 MB, free: 3.555 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004516/0.3566, allocations: 155.2 kB / 450.9 MB, free: 3.402 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0177/0.3743, allocations: 6.692 MB / 457.6 MB, free: 12.7 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008495/0.3828, allocations: 2.013 MB / 459.6 MB, free: 10.68 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00522/0.3881, allocations: 1.517 MB / 461.1 MB, free: 9.164 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01585/0.4039, allocations: 9.618 MB / 470.8 MB, free: 15.51 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03271/0.4366, allocations: 13.58 MB / 484.3 MB, free: 1.777 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01148/0.4481, allocations: 5.378 MB / 489.7 MB, free: 12.38 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01259/0.4607, allocations: 5.981 MB / 495.7 MB, free: 6.383 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.005893/0.4666, allocations: 1.355 MB / 497 MB, free: 5.027 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007636/0.4742, allocations: 1.668 MB / 498.7 MB, free: 3.363 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006793/0.481, allocations: 2.802 MB / 0.4898 GB, free: 0.5547 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0118/0.4928, allocations: 4.195 MB / 0.4939 GB, free: 12.34 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02876/0.5216, allocations: 18.49 MB / 0.5119 GB, free: 9.793 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.468e-06/0.5216, allocations: 0 / 0.5119 GB, free: 9.793 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.655e-06/0.5216, allocations: 0 / 0.5119 GB, free: 9.793 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0006691/0.5222, allocations: 0 / 0.5119 GB, free: 9.793 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.04286/0.5651, allocations: 12.25 MB / 0.5239 GB, free: 13.46 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.684e-05/0.5652, allocations: 16.02 kB / 0.5239 GB, free: 13.44 MB / 446.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0004113/0.5656, allocations: 270 kB / 0.5242 GB, free: 13.18 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005992/0.5716, allocations: 1.517 MB / 0.5256 GB, free: 11.65 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03643/0.608, allocations: 6.199 MB / 0.5317 GB, free: 5.438 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.5264/1.134, allocations: 5.923 MB / 0.5375 GB, free: 58.87 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008004/1.135, allocations: 0.6725 MB / 0.5381 GB, free: 58.85 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00465/1.14, allocations: 0.8799 MB / 0.539 GB, free: 58.85 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03389/1.174, allocations: 14.98 MB / 0.5536 GB, free: 56.59 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003454/1.174, allocations: 11.08 kB / 0.5536 GB, free: 56.59 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002576/1.177, allocations: 377.2 kB / 0.554 GB, free: 56.3 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005279/1.177, allocations: 0.4896 MB / 0.5545 GB, free: 56.26 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02409/1.201, allocations: 13.57 MB / 0.5677 GB, free: 50.64 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07221/1.273, allocations: 39.9 MB / 0.6067 GB, free: 11.94 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008242/1.282, allocations: 5.934 MB / 0.6125 GB, free: 6.223 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003443/1.285, allocations: 2.875 MB / 0.6153 GB, free: 3.355 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003104/1.285, allocations: 111.9 kB / 0.6154 GB, free: 3.246 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.825e-05/1.286, allocations: 78.56 kB / 0.6155 GB, free: 3.16 MB / 446.1 MB Notification: Performance of pre-optimization done (n=413): time 7.604e-06/1.286, allocations: 0 / 0.6155 GB, free: 3.16 MB / 446.1 MB Notification: Performance of matching and sorting (n=492): time 0.05564/1.341, allocations: 24.36 MB / 0.6393 GB, free: 11.22 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001123/1.341, allocations: 125.3 kB / 0.6394 GB, free: 11.08 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005291/1.347, allocations: 3.163 MB / 0.6425 GB, free: 7.945 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0008649/1.347, allocations: 105.7 kB / 0.6426 GB, free: 7.836 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003291/1.351, allocations: 3.832 MB / 0.6463 GB, free: 4.062 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002227/1.353, allocations: 1.748 MB / 0.648 GB, free: 2.336 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002099/1.355, allocations: 1.244 MB / 0.6492 GB, free: 1.082 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001347/1.355, allocations: 305.1 kB / 0.6495 GB, free: 0.7812 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005367/1.361, allocations: 3.273 MB / 0.6527 GB, free: 13.5 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007548/1.368, allocations: 5.39 MB / 0.658 GB, free: 7.211 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01532/1.383, allocations: 9.279 MB / 0.667 GB, free: 13.24 MB / 0.4982 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002084/1.384, allocations: 20 kB / 0.6671 GB, free: 13.22 MB / 0.4982 GB Notification: Performance of matching and sorting (n=826) (initialization): time 0.0277/1.411, allocations: 10.99 MB / 0.6778 GB, free: 2.641 MB / 0.4982 GB Notification: Performance of prepare postOptimizeDAE: time 8.43e-05/1.411, allocations: 39.28 kB / 0.6778 GB, free: 2.605 MB / 0.4982 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001633/1.412, allocations: 64 kB / 0.6779 GB, free: 2.543 MB / 0.4982 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006836/1.418, allocations: 2.192 MB / 0.68 GB, free: 348 kB / 0.4982 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005942/1.424, allocations: 1.324 MB / 0.6813 GB, free: 15.11 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03495/1.459, allocations: 21.19 MB / 0.702 GB, free: 9.562 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005577/1.465, allocations: 379.6 kB / 0.7024 GB, free: 9.191 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001578/1.466, allocations: 296 kB / 0.7027 GB, free: 8.902 MB / 0.5294 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.008617/1.475, allocations: 3.522 MB / 0.7061 GB, free: 5.457 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001414/1.476, allocations: 397.5 kB / 0.7065 GB, free: 5.066 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02117/1.498, allocations: 8.859 MB / 0.7151 GB, free: 12.21 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0172/1.515, allocations: 7.59 MB / 0.7225 GB, free: 4.648 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001037/1.515, allocations: 21.97 kB / 0.7226 GB, free: 4.629 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001848/1.515, allocations: 31.89 kB / 0.7226 GB, free: 4.598 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04444/1.56, allocations: 17.84 MB / 0.74 GB, free: 2.762 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.415e-05/1.56, allocations: 16 kB / 0.74 GB, free: 2.746 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003925/1.564, allocations: 0.8358 MB / 0.7409 GB, free: 1.957 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006525/1.57, allocations: 2.004 MB / 0.7428 GB, free: 15.95 MB / 0.5763 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001012/1.571, allocations: 132 kB / 0.7429 GB, free: 15.82 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2959/1.867, allocations: 19.19 MB / 0.7617 GB, free: 208.3 MB / 0.5763 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-05/1.867, allocations: 23.12 kB / 0.7617 GB, free: 208.3 MB / 0.5763 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02017/1.887, allocations: 13.36 MB / 0.7747 GB, free: 204.3 MB / 0.5763 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003396/1.891, allocations: 1.023 MB / 0.7757 GB, free: 204.1 MB / 0.5763 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001032/1.892, allocations: 112 kB / 0.7759 GB, free: 204 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002683/1.894, allocations: 287.9 kB / 0.7761 GB, free: 203.9 MB / 0.5763 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009307/1.895, allocations: 441.2 kB / 0.7765 GB, free: 203.9 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000305/1.896, allocations: 167.3 kB / 0.7767 GB, free: 203.8 MB / 0.5763 GB Notification: Performance of sorting global known variables: time 0.002551/1.898, allocations: 2.124 MB / 0.7788 GB, free: 203.1 MB / 0.5763 GB Notification: Performance of sort global known variables: time 9.1e-08/1.898, allocations: 2.375 kB / 0.7788 GB, free: 203.1 MB / 0.5763 GB Notification: Performance of remove unused functions: time 0.006767/1.905, allocations: 1.77 MB / 0.7805 GB, free: 202.9 MB / 0.5763 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,94.4%), (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.01881/1.924, allocations: 14.13 MB / 0.7943 GB, free: 195.1 MB / 0.5763 GB Notification: Performance of simCode: created initialization part: time 0.01387/1.938, allocations: 8.985 MB / 0.8031 GB, free: 187.4 MB / 0.5763 GB Notification: Performance of simCode: created event and clocks part: time 2.013e-05/1.938, allocations: 4 kB / 0.8031 GB, free: 187.4 MB / 0.5763 GB Notification: Performance of simCode: created simulation system equations: time 0.008075/1.946, allocations: 4.645 MB / 0.8076 GB, free: 183.4 MB / 0.5763 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005507/1.951, allocations: 0.8353 MB / 0.8084 GB, free: 182.7 MB / 0.5763 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08119/2.032, allocations: 58 MB / 0.8651 GB, free: 122.7 MB / 0.5763 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005558/2.038, allocations: 5.661 MB / 0.8706 GB, free: 117 MB / 0.5763 GB Notification: Performance of simCode: alias equations: time 0.004891/2.043, allocations: 2.204 MB / 0.8728 GB, free: 114.8 MB / 0.5763 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00388/2.047, allocations: 3.124 MB / 0.8758 GB, free: 111.7 MB / 0.5763 GB Notification: Performance of SimCode: time 1.182e-06/2.047, allocations: 0 / 0.8758 GB, free: 111.7 MB / 0.5763 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5267/2.573, allocations: 136.2 MB / 1.009 GB, free: 196.3 MB / 0.5763 GB Notification: Performance of buildModelFMU: Generate platform static: time 22.1/24.67, allocations: 3.5 kB / 1.009 GB, free: 196.3 MB / 0.5763 GB " [Timeout remaining time 635] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses_res.mat --tempDir=temp_Modelica_trunk_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_Components_EddyCurrentLosses_fmu --startTime=0 --stopTime=40 --stepSize=0.01 --timeout=50 --tolerance=1e-06 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.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_trunk_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: 30.804604647913948]