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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008304/0.0008304, allocations: 95.19 kB / 17.35 MB, free: 6.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009612/0.0009612, allocations: 205.5 kB / 18.28 MB, free: 5.492 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.215/1.215, allocations: 227.8 MB / 246.8 MB, free: 9.68 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0001884/0.0001884, allocations: 4 kB / 307.8 MB, free: 0.5117 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07758/0.07778, allocations: 51.53 MB / 359.4 MB, free: 12.97 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.1556/0.2334, allocations: 15.44 MB / 374.8 MB, free: 8.906 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.008298/0.2417, allocations: 4.65 MB / 379.5 MB, free: 8.68 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002319/0.2441, allocations: 126.3 kB / 379.6 MB, free: 8.656 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003018/0.2471, allocations: 1.154 MB / 380.7 MB, free: 8.32 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005725/0.2528, allocations: 1.772 MB / 382.5 MB, free: 7.652 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003426/0.2563, allocations: 1.443 MB / 384 MB, free: 6.988 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.01218/0.2685, allocations: 9.596 MB / 393.6 MB, free: 2.953 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03446/0.303, allocations: 21.01 MB / 414.6 MB, free: 3.754 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006174/0.3092, allocations: 3.756 MB / 418.3 MB, free: 88 kB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006906/0.3161, allocations: 4.547 MB / 422.9 MB, free: 11.71 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001743/0.3179, allocations: 0.5625 MB / 423.4 MB, free: 11.14 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003588/0.3215, allocations: 0.8665 MB / 424.3 MB, free: 10.29 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002345/0.3239, allocations: 1.794 MB / 426.1 MB, free: 8.531 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006558/0.3304, allocations: 4.264 MB / 430.3 MB, free: 4.285 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01529/0.3457, allocations: 17.27 MB / 447.6 MB, free: 3.105 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.3458, allocations: 0 / 447.6 MB, free: 3.105 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.196e-06/0.3458, allocations: 0 / 447.6 MB, free: 3.105 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0004696/0.3463, allocations: 3.938 kB / 447.6 MB, free: 3.102 MB / 350.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.02573/0.372, allocations: 10.29 MB / 457.9 MB, free: 8.73 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.331e-05/0.3721, allocations: 12.03 kB / 457.9 MB, free: 8.719 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004118/0.3762, allocations: 1.513 MB / 459.4 MB, free: 7.195 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03308/0.4093, allocations: 6.244 MB / 465.7 MB, free: 0.9336 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01046/0.4198, allocations: 5.671 MB / 471.4 MB, free: 11.2 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005839/0.4204, allocations: 0.6704 MB / 472 MB, free: 10.53 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002726/0.4231, allocations: 0.8788 MB / 472.9 MB, free: 9.648 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03127/0.4544, allocations: 14.75 MB / 487.7 MB, free: 10.84 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003229/0.4548, allocations: 7.906 kB / 487.7 MB, free: 10.84 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00228/0.4571, allocations: 376 kB / 488 MB, free: 10.47 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005245/0.4576, allocations: 499.3 kB / 488.5 MB, free: 9.977 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0248/0.4824, allocations: 13.57 MB / 0.4903 GB, free: 12.38 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3542/0.8366, allocations: 45.24 MB / 0.5345 GB, free: 116.4 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01051/0.8472, allocations: 11.7 MB / 0.5459 GB, free: 109.6 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004185/0.8514, allocations: 3.226 MB / 0.5491 GB, free: 109.6 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003213/0.8517, allocations: 261.2 kB / 0.5493 GB, free: 109.4 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.173e-05/0.8518, allocations: 78.03 kB / 0.5494 GB, free: 109.4 MB / 446.1 MB Notification: Performance of pre-optimization done (n=421): time 5.891e-06/0.8518, allocations: 3.391 kB / 0.5494 GB, free: 109.4 MB / 446.1 MB Notification: Performance of matching and sorting (n=421): time 0.01701/0.8688, allocations: 9.765 MB / 0.5589 GB, free: 108 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.271e-05/0.8689, allocations: 120.7 kB / 0.559 GB, free: 107.9 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003502/0.8724, allocations: 3.151 MB / 0.5621 GB, free: 106.8 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001968/0.8726, allocations: 89.58 kB / 0.5622 GB, free: 106.7 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001319/0.8739, allocations: 3.691 MB / 0.5658 GB, free: 104.1 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007286/0.8747, allocations: 1.422 MB / 0.5672 GB, free: 103 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004737/0.8751, allocations: 481.7 kB / 0.5677 GB, free: 102.8 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.282e-05/0.8752, allocations: 305.1 kB / 0.568 GB, free: 102.5 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002983/0.8782, allocations: 2.907 MB / 0.5708 GB, free: 101.5 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003622/0.8818, allocations: 4.977 MB / 0.5757 GB, free: 97.77 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006916/0.8887, allocations: 8.403 MB / 0.5839 GB, free: 92.36 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.325e-05/0.8888, allocations: 19.34 kB / 0.5839 GB, free: 92.36 MB / 446.1 MB Notification: Performance of matching and sorting (n=755) (initialization): time 0.01065/0.8994, allocations: 9.238 MB / 0.5929 GB, free: 88.63 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.921e-05/0.8995, allocations: 38.75 kB / 0.5929 GB, free: 88.63 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.498e-05/0.8995, allocations: 66.59 kB / 0.593 GB, free: 88.63 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002583/0.9021, allocations: 1.115 MB / 0.5941 GB, free: 88.12 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003994/0.9061, allocations: 1.289 MB / 0.5953 GB, free: 87.8 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01023/0.9164, allocations: 9.93 MB / 0.605 GB, free: 77.82 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003197/0.9196, allocations: 0.7395 MB / 0.6058 GB, free: 77.08 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003362/0.9199, allocations: 276 kB / 0.606 GB, free: 76.81 MB / 446.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 (681): * Single equations (assignments): 671 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * 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.003965/0.9239, allocations: 3.441 MB / 0.6094 GB, free: 73.36 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004965/0.9244, allocations: 343.7 kB / 0.6097 GB, free: 73.02 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009499/0.9339, allocations: 7.047 MB / 0.6166 GB, free: 65.91 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.00706/0.941, allocations: 5.882 MB / 0.6223 GB, free: 59.98 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.859e-05/0.941, allocations: 12 kB / 0.6224 GB, free: 59.97 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.019e-05/0.9411, allocations: 19.92 kB / 0.6224 GB, free: 59.95 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02082/0.9619, allocations: 15.55 MB / 0.6376 GB, free: 44.25 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.096e-05/0.962, allocations: 20 kB / 0.6376 GB, free: 44.23 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002486/0.9645, allocations: 0.7878 MB / 0.6384 GB, free: 43.45 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002433/0.9669, allocations: 1.036 MB / 0.6394 GB, free: 42.4 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002609/0.9672, allocations: 104 kB / 0.6395 GB, free: 42.3 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009814/0.977, allocations: 9.691 MB / 0.6489 GB, free: 32.35 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.676e-06/0.977, allocations: 15.94 kB / 0.6489 GB, free: 32.33 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01145/0.9885, allocations: 10.93 MB / 0.6596 GB, free: 21.17 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001432/0.9899, allocations: 1.011 MB / 0.6606 GB, free: 20.14 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005745/0.9905, allocations: 95.98 kB / 0.6607 GB, free: 20.04 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002147/0.9926, allocations: 279.8 kB / 0.661 GB, free: 19.77 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004863/0.9931, allocations: 339.7 kB / 0.6613 GB, free: 19.44 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000234/0.9934, allocations: 148 kB / 0.6614 GB, free: 19.29 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002737/0.9961, allocations: 2.121 MB / 0.6635 GB, free: 17.17 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.9961, allocations: 0 / 0.6635 GB, free: 17.17 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.004732/1.001, allocations: 2.223 MB / 0.6657 GB, free: 14.94 MB / 446.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 (421): * Single equations (assignments): 411 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * 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 Backend phase and start with SimCode phase: time 0.01231/1.013, allocations: 11.68 MB / 0.6771 GB, free: 3.035 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.01036/1.024, allocations: 7.579 MB / 0.6845 GB, free: 11.43 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.026e-05/1.024, allocations: 5.938 kB / 0.6845 GB, free: 11.43 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005334/1.029, allocations: 3.725 MB / 0.6881 GB, free: 7.688 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007501/1.036, allocations: 0.7705 MB / 0.6889 GB, free: 6.926 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2395/1.276, allocations: 61.26 MB / 0.7487 GB, free: 127.8 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004494/1.28, allocations: 5.932 MB / 0.7545 GB, free: 125.7 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.004776/1.285, allocations: 2.165 MB / 0.7566 GB, free: 124.9 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003025/1.288, allocations: 3.023 MB / 0.7596 GB, free: 122.2 MB / 478.1 MB Notification: Performance of SimCode: time 1.112e-06/1.288, allocations: 0 / 0.7596 GB, free: 122.2 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1359/1.424, allocations: 112.2 MB / 0.8692 GB, free: 13.5 MB / 478.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001455/1.424, allocations: 274.6 kB / 0.8694 GB, free: 13.13 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.714/5.139, allocations: 0 / 0.8694 GB, free: 13.13 MB / 478.1 MB (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 --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) 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.0.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) Reference file matches