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.00178/0.00178, allocations: 117 kB / 18.49 MB, free: 4.566 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.002132/0.002132, allocations: 216.7 kB / 21.46 MB, free: 1.613 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.455/1.455, allocations: 230.4 MB / 254.7 MB, free: 15.04 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.002136/0.002136, allocations: 60.09 kB / 373.7 MB, free: 10.1 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1104/0.1126, allocations: 53.38 MB / 427.1 MB, free: 4.617 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.2257/0.3383, allocations: 16.68 MB / 443.8 MB, free: 1.363 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01084/0.3491, allocations: 4.707 MB / 448.5 MB, free: 14.48 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004716/0.3538, allocations: 161.9 kB / 448.6 MB, free: 14.43 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01719/0.371, allocations: 7.226 MB / 455.8 MB, free: 10.13 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008383/0.3794, allocations: 1.959 MB / 457.8 MB, free: 8.949 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005049/0.3845, allocations: 1.555 MB / 459.4 MB, free: 8.023 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01545/0.3999, allocations: 9.494 MB / 468.9 MB, free: 2.738 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03479/0.4347, allocations: 16.24 MB / 485.1 MB, free: 6.664 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01013/0.4448, allocations: 5.327 MB / 490.4 MB, free: 1.32 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01162/0.4564, allocations: 5.973 MB / 496.4 MB, free: 11.33 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004369/0.4608, allocations: 1.359 MB / 497.8 MB, free: 9.969 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005881/0.4667, allocations: 1.66 MB / 499.4 MB, free: 8.309 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004623/0.4713, allocations: 2.806 MB / 0.4904 GB, free: 5.496 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01055/0.4819, allocations: 5.354 MB / 0.4957 GB, free: 124 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02632/0.5082, allocations: 18.41 MB / 0.5137 GB, free: 13.65 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.703e-06/0.5082, allocations: 4 kB / 0.5137 GB, free: 13.64 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.435e-06/0.5082, allocations: 0 / 0.5137 GB, free: 13.64 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0005987/0.5088, allocations: 0 / 0.5137 GB, free: 13.64 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.03743/0.5462, allocations: 12.32 MB / 0.5257 GB, free: 1.227 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.904e-05/0.5463, allocations: 12.03 kB / 0.5257 GB, free: 1.215 MB / 430.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0003121/0.5466, allocations: 274 kB / 0.526 GB, free: 0.9453 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004954/0.5515, allocations: 1.517 MB / 0.5274 GB, free: 15.42 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03583/0.5874, allocations: 6.195 MB / 0.5335 GB, free: 9.211 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01366/0.601, allocations: 5.863 MB / 0.5392 GB, free: 3.285 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007915/0.6018, allocations: 0.6704 MB / 0.5399 GB, free: 2.613 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003938/0.6057, allocations: 0.8762 MB / 0.5407 GB, free: 1.738 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03841/0.6442, allocations: 14.76 MB / 0.5551 GB, free: 2.93 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003953/0.6446, allocations: 11.94 kB / 0.5552 GB, free: 2.918 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003599/0.6482, allocations: 376 kB / 0.5555 GB, free: 2.551 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006801/0.6488, allocations: 499.3 kB / 0.556 GB, free: 2.059 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03134/0.6802, allocations: 13.57 MB / 0.5692 GB, free: 4.453 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08307/0.7633, allocations: 44.73 MB / 0.6129 GB, free: 6.488 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.4085/1.172, allocations: 11.23 MB / 0.6239 GB, free: 147.4 MB / 0.5138 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005492/1.177, allocations: 2.88 MB / 0.6267 GB, free: 147.4 MB / 0.5138 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004736/1.178, allocations: 287.4 kB / 0.627 GB, free: 147.2 MB / 0.5138 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.924e-05/1.178, allocations: 83.52 kB / 0.6271 GB, free: 147.2 MB / 0.5138 GB Notification: Performance of pre-optimization done (n=413): time 5.922e-06/1.178, allocations: 0.875 kB / 0.6271 GB, free: 147.2 MB / 0.5138 GB Notification: Performance of matching and sorting (n=492): time 0.05294/1.231, allocations: 24.66 MB / 0.6511 GB, free: 138 MB / 0.5138 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.674e-05/1.231, allocations: 128.9 kB / 0.6513 GB, free: 137.9 MB / 0.5138 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004738/1.236, allocations: 3.162 MB / 0.6544 GB, free: 136.8 MB / 0.5138 GB Notification: Performance of collectPreVariables (initialization): time 0.0007272/1.236, allocations: 110.9 kB / 0.6545 GB, free: 136.7 MB / 0.5138 GB Notification: Performance of collectInitialEqns (initialization): time 0.001887/1.238, allocations: 3.832 MB / 0.6582 GB, free: 134.3 MB / 0.5138 GB Notification: Performance of collectInitialBindings (initialization): time 0.001366/1.24, allocations: 1.749 MB / 0.6599 GB, free: 132.9 MB / 0.5138 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001558/1.241, allocations: 1.235 MB / 0.6611 GB, free: 132.3 MB / 0.5138 GB Notification: Performance of setup shared object (initialization): time 4.392e-05/1.241, allocations: 309.1 kB / 0.6614 GB, free: 132 MB / 0.5138 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003622/1.245, allocations: 3.276 MB / 0.6646 GB, free: 130.9 MB / 0.5138 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004245/1.249, allocations: 5.381 MB / 0.6699 GB, free: 127 MB / 0.5138 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008673/1.258, allocations: 9.282 MB / 0.6789 GB, free: 120.4 MB / 0.5138 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.633e-05/1.258, allocations: 19.94 kB / 0.679 GB, free: 120.4 MB / 0.5138 GB Notification: Performance of matching and sorting (n=826) (initialization): time 0.01565/1.273, allocations: 10.99 MB / 0.6897 GB, free: 109.3 MB / 0.5138 GB Notification: Performance of prepare postOptimizeDAE: time 5.47e-05/1.273, allocations: 34.84 kB / 0.6897 GB, free: 109.3 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001124/1.274, allocations: 72.03 kB / 0.6898 GB, free: 109.2 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005455/1.279, allocations: 2.192 MB / 0.6919 GB, free: 107 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004522/1.284, allocations: 1.326 MB / 0.6932 GB, free: 105.7 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02325/1.307, allocations: 21.93 MB / 0.7146 GB, free: 83.25 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005142/1.312, allocations: 379.6 kB / 0.715 GB, free: 82.88 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001287/1.313, allocations: 300 kB / 0.7153 GB, free: 82.59 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 (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.006731/1.32, allocations: 3.52 MB / 0.7187 GB, free: 79.06 MB / 0.5138 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001238/1.321, allocations: 397.4 kB / 0.7191 GB, free: 78.67 MB / 0.5138 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01446/1.336, allocations: 8.862 MB / 0.7278 GB, free: 69.74 MB / 0.5138 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01211/1.348, allocations: 7.586 MB / 0.7352 GB, free: 62.1 MB / 0.5138 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.122e-05/1.348, allocations: 20 kB / 0.7352 GB, free: 62.08 MB / 0.5138 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.985e-05/1.348, allocations: 31.89 kB / 0.7352 GB, free: 62.05 MB / 0.5138 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03099/1.379, allocations: 18.46 MB / 0.7532 GB, free: 43.39 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.51e-05/1.379, allocations: 20.03 kB / 0.7533 GB, free: 43.38 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003223/1.382, allocations: 0.8464 MB / 0.7541 GB, free: 42.53 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005325/1.388, allocations: 1.999 MB / 0.756 GB, free: 40.52 MB / 0.5138 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007134/1.388, allocations: 124 kB / 0.7562 GB, free: 40.4 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02087/1.409, allocations: 19.92 MB / 0.7756 GB, free: 19.95 MB / 0.5138 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.196e-05/1.409, allocations: 23.88 kB / 0.7756 GB, free: 19.92 MB / 0.5138 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01722/1.426, allocations: 13.36 MB / 0.7887 GB, free: 6.031 MB / 0.5138 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002591/1.429, allocations: 1.068 MB / 0.7897 GB, free: 4.941 MB / 0.5138 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007746/1.43, allocations: 109.6 kB / 0.7898 GB, free: 4.836 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002589/1.432, allocations: 291.7 kB / 0.7901 GB, free: 4.551 MB / 0.5138 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008939/1.433, allocations: 427.3 kB / 0.7905 GB, free: 4.129 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002701/1.433, allocations: 164 kB / 0.7907 GB, free: 3.969 MB / 0.5138 GB Notification: Performance of sorting global known variables: time 0.002574/1.436, allocations: 2.129 MB / 0.7927 GB, free: 1.836 MB / 0.5138 GB Notification: Performance of sort global known variables: time 8e-08/1.436, allocations: 0 / 0.7927 GB, free: 1.836 MB / 0.5138 GB Notification: Performance of remove unused functions: time 0.006894/1.443, allocations: 1.773 MB / 0.7945 GB, free: 64 kB / 0.5138 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.02493/1.468, allocations: 14.12 MB / 0.8083 GB, free: 1.418 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.01925/1.487, allocations: 8.986 MB / 0.817 GB, free: 8.336 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-05/1.487, allocations: 0 / 0.817 GB, free: 8.336 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.01095/1.498, allocations: 4.65 MB / 0.8216 GB, free: 3.641 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007257/1.505, allocations: 0.846 MB / 0.8224 GB, free: 2.824 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3442/1.85, allocations: 57.83 MB / 0.8789 GB, free: 151.2 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006423/1.856, allocations: 6.125 MB / 0.8849 GB, free: 146 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.004565/1.861, allocations: 2.202 MB / 0.887 GB, free: 143.8 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003569/1.864, allocations: 3.129 MB / 0.8901 GB, free: 140.7 MB / 0.545 GB Notification: Performance of SimCode: time 1.412e-06/1.864, allocations: 0 / 0.8901 GB, free: 140.7 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.187/2.051, allocations: 130.6 MB / 1.018 GB, free: 10.59 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 19.71/21.76, allocations: 8.047 kB / 1.018 GB, free: 10.58 MB / 0.545 GB " [Timeout remaining time 638] (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: 27.94050857401453]