Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses,fileNamePrefix="Modelica_4_0_0_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_withLosses",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses,fileNamePrefix="Modelica_4_0_0_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_withLosses",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001161/0.001161, allocations: 100.7 kB / 16.5 MB, free: 6.641 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001167/0.001167, allocations: 194.6 kB / 17.42 MB, free: 6.066 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.419/1.419, allocations: 222.9 MB / 241.1 MB, free: 15.41 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00121/0.00121, allocations: 45.69 kB / 300.1 MB, free: 6.168 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1054/0.1066, allocations: 49.45 MB / 349.5 MB, free: 4.707 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses): time 0.2485/0.3551, allocations: 24.39 MB / 373.9 MB, free: 9.898 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01677/0.3719, allocations: 7.761 MB / 381.7 MB, free: 8.707 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006906/0.3789, allocations: 175.8 kB / 381.9 MB, free: 8.672 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01869/0.3976, allocations: 7.911 MB / 389.8 MB, free: 6.379 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01257/0.4102, allocations: 2.732 MB / 392.5 MB, free: 5.289 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00634/0.4166, allocations: 1.692 MB / 394.2 MB, free: 4.285 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.01642/0.433, allocations: 10.98 MB / 405.2 MB, free: 14.01 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03958/0.4726, allocations: 19.61 MB / 424.8 MB, free: 11.07 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01062/0.4833, allocations: 5.083 MB / 429.9 MB, free: 5.977 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01211/0.4955, allocations: 6.186 MB / 436.1 MB, free: 15.77 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0053/0.5008, allocations: 1.109 MB / 437.2 MB, free: 14.66 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009584/0.5104, allocations: 1.519 MB / 438.7 MB, free: 13.14 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005598/0.5161, allocations: 2.723 MB / 441.4 MB, free: 10.41 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01281/0.5289, allocations: 5.729 MB / 447.1 MB, free: 4.656 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02984/0.5588, allocations: 22.59 MB / 469.7 MB, free: 14 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.063e-06/0.5588, allocations: 0 / 469.7 MB, free: 14 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.846e-06/0.5588, allocations: 4 kB / 469.7 MB, free: 13.99 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0007964/0.5596, allocations: 3.938 kB / 469.7 MB, free: 13.99 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2685 * Number of variables: 2685 Notification: Performance of Generate backend data structure: time 0.04425/0.6039, allocations: 13.45 MB / 483.2 MB, free: 448 kB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.853e-05/0.6039, allocations: 8.031 kB / 483.2 MB, free: 440 kB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006643/0.6106, allocations: 1.62 MB / 484.8 MB, free: 14.8 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0348/0.6454, allocations: 6.208 MB / 491 MB, free: 8.562 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01507/0.6605, allocations: 7.08 MB / 498.1 MB, free: 1.402 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006465/0.6612, allocations: 0.7226 MB / 498.8 MB, free: 0.6797 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003606/0.6648, allocations: 0.953 MB / 499.8 MB, free: 15.73 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03752/0.7024, allocations: 16.18 MB / 0.5039 GB, free: 15.48 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002479/0.7027, allocations: 15.89 kB / 0.5039 GB, free: 15.47 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001739/0.7044, allocations: 400 kB / 0.5043 GB, free: 15.08 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005173/0.7049, allocations: 0.5632 MB / 0.5048 GB, free: 14.51 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.4597/1.165, allocations: 15.12 MB / 0.5196 GB, free: 114 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08733/1.252, allocations: 52.68 MB / 0.571 GB, free: 81.24 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01663/1.269, allocations: 20.12 MB / 0.5907 GB, free: 63.16 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00574/1.274, allocations: 3.664 MB / 0.5943 GB, free: 61.25 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005428/1.275, allocations: 187.9 kB / 0.5944 GB, free: 61.12 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.861e-05/1.275, allocations: 80.81 kB / 0.5945 GB, free: 61.05 MB / 430.1 MB Notification: Performance of pre-optimization done (n=453): time 7.173e-06/1.275, allocations: 0 / 0.5945 GB, free: 61.05 MB / 430.1 MB Notification: Performance of matching and sorting (n=458): time 0.05265/1.328, allocations: 20.67 MB / 0.6147 GB, free: 40.73 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.249e-05/1.328, allocations: 94.97 kB / 0.6148 GB, free: 40.63 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007783/1.336, allocations: 4.493 MB / 0.6192 GB, free: 36.11 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0008201/1.336, allocations: 97.7 kB / 0.6193 GB, free: 36.01 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002336/1.339, allocations: 4.203 MB / 0.6234 GB, free: 31.78 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002202/1.341, allocations: 1.547 MB / 0.6249 GB, free: 30.25 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002216/1.343, allocations: 1.203 MB / 0.6261 GB, free: 29.03 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001009/1.343, allocations: 301.1 kB / 0.6263 GB, free: 28.73 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004427/1.348, allocations: 3.096 MB / 0.6294 GB, free: 25.63 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004845/1.353, allocations: 5.247 MB / 0.6345 GB, free: 19.41 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009478/1.362, allocations: 8.939 MB / 0.6432 GB, free: 9.504 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.224e-05/1.362, allocations: 20 kB / 0.6432 GB, free: 9.484 MB / 430.1 MB Notification: Performance of matching and sorting (n=800) (initialization): time 0.01627/1.379, allocations: 9.91 MB / 0.6529 GB, free: 15.55 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.267e-05/1.379, allocations: 40.03 kB / 0.653 GB, free: 15.52 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001322/1.379, allocations: 68 kB / 0.653 GB, free: 15.45 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004065/1.383, allocations: 1.368 MB / 0.6544 GB, free: 14.08 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005496/1.388, allocations: 1.384 MB / 0.6557 GB, free: 12.7 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01846/1.407, allocations: 11.63 MB / 0.6671 GB, free: 0.8047 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005475/1.412, allocations: 359.4 kB / 0.6674 GB, free: 464 kB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001618/1.414, allocations: 292 kB / 0.6677 GB, free: 172 kB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 313 * 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 (723): * Single equations (assignments): 717 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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 {(1,6,100.0%), (14,54,45.4%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.008948/1.423, allocations: 3.904 MB / 0.6715 GB, free: 12.25 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001917/1.425, allocations: 458.2 kB / 0.6719 GB, free: 11.8 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01773/1.443, allocations: 8.571 MB / 0.6803 GB, free: 3.168 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01189/1.455, allocations: 6.292 MB / 0.6865 GB, free: 12.86 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.29e-05/1.455, allocations: 12 kB / 0.6865 GB, free: 12.85 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.714e-05/1.455, allocations: 23.91 kB / 0.6865 GB, free: 12.82 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2506/1.705, allocations: 17.75 MB / 0.7038 GB, free: 150 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.513e-05/1.706, allocations: 7.906 kB / 0.7038 GB, free: 150 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003527/1.709, allocations: 0.8102 MB / 0.7046 GB, free: 149.9 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003545/1.713, allocations: 1.277 MB / 0.7059 GB, free: 149.9 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004288/1.713, allocations: 103.1 kB / 0.706 GB, free: 149.9 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.014/1.727, allocations: 10.56 MB / 0.7163 GB, free: 144.5 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.071e-05/1.727, allocations: 14.81 kB / 0.7163 GB, free: 144.5 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01563/1.743, allocations: 11.29 MB / 0.7273 GB, free: 139.7 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002321/1.745, allocations: 1.089 MB / 0.7284 GB, free: 139.3 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008348/1.746, allocations: 88.16 kB / 0.7285 GB, free: 139.3 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002431/1.748, allocations: 236.8 kB / 0.7287 GB, free: 139.2 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008955/1.749, allocations: 330.7 kB / 0.729 GB, free: 139.1 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003308/1.75, allocations: 141.5 kB / 0.7292 GB, free: 139.1 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.004601/1.754, allocations: 3.112 MB / 0.7322 GB, free: 138 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.7e-07/1.754, allocations: 0 / 0.7322 GB, free: 138 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.00826/1.763, allocations: 1.723 MB / 0.7339 GB, free: 137.8 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 34 * Number of states: 4 (imcQS.inertiaRotor.w,imcQS.rotorCage.port_p.reference.gamma,loadInertiaQS.phi,PIQS.x) * 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 (420): * Single equations (assignments): 414 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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 {(1,6,100.0%), (14,54,44.4%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0183/1.781, allocations: 12.29 MB / 0.7459 GB, free: 131 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.01204/1.793, allocations: 8.021 MB / 0.7537 GB, free: 124 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 8.876e-06/1.793, allocations: 4 kB / 0.7537 GB, free: 124 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006528/1.799, allocations: 3.982 MB / 0.7576 GB, free: 120.6 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006085/1.806, allocations: 1.012 MB / 0.7586 GB, free: 119.7 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.126/1.932, allocations: 76.69 MB / 0.8335 GB, free: 39.41 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01042/1.942, allocations: 6.521 MB / 0.8399 GB, free: 32.86 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.006961/1.949, allocations: 2.107 MB / 0.8419 GB, free: 30.75 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00568/1.955, allocations: 3.553 MB / 0.8454 GB, free: 27.2 MB / 478.1 MB Notification: Performance of SimCode: time 1.132e-06/1.955, allocations: 4 kB / 0.8454 GB, free: 27.19 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3941/2.349, allocations: 138.4 MB / 0.9805 GB, free: 60.15 MB / 478.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001644/2.349, allocations: 336.9 kB / 0.9809 GB, free: 59.76 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.605/6.954, allocations: 0 / 0.9809 GB, free: 59.76 MB / 478.1 MB (rm -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_withLosses_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_withLosses.fmu > Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMC_withLosses/IMC_withLosses.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches