Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.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.BasicMachines.InductionMachines.IMC_Characteristics,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Characteristics",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Characteristics",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001306/0.001306, allocations: 122.2 kB / 17.79 MB, free: 5.273 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001301/0.001301, allocations: 202 kB / 18.74 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.466/1.466, allocations: 227.4 MB / 246.9 MB, free: 10.47 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001794/0.001794, allocations: 71.86 kB / 358.3 MB, free: 13.4 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2684/0.2702, allocations: 50.54 MB / 408.8 MB, free: 1.547 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics): time 0.02907/0.2993, allocations: 24.78 MB / 433.6 MB, free: 8.652 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01771/0.3171, allocations: 7.446 MB / 441 MB, free: 1.184 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005611/0.3228, allocations: 187.4 kB / 441.2 MB, free: 1 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02155/0.3443, allocations: 8.804 MB / 450 MB, free: 8.176 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01061/0.355, allocations: 2.894 MB / 452.9 MB, free: 5.27 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005558/0.3605, allocations: 1.736 MB / 454.6 MB, free: 3.539 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01578/0.3763, allocations: 10.82 MB / 465.5 MB, free: 8.688 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03524/0.4116, allocations: 21.83 MB / 487.3 MB, free: 2.715 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009297/0.421, allocations: 5.72 MB / 493 MB, free: 12.98 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01096/0.432, allocations: 6.281 MB / 499.3 MB, free: 6.68 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004835/0.4369, allocations: 1.672 MB / 0.4892 GB, free: 5.008 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006468/0.4433, allocations: 2.046 MB / 0.4912 GB, free: 2.961 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005186/0.4486, allocations: 3.157 MB / 0.4943 GB, free: 15.8 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01137/0.4599, allocations: 6.094 MB / 0.5003 GB, free: 9.68 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.029/0.489, allocations: 22.4 MB / 0.5221 GB, free: 3.207 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.604e-06/0.489, allocations: 7.938 kB / 0.5221 GB, free: 3.199 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.074e-06/0.489, allocations: 0 / 0.5221 GB, free: 3.199 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0005921/0.4896, allocations: 0 / 0.5221 GB, free: 3.199 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2620 * Number of variables: 2620 Notification: Performance of Generate backend data structure: time 0.03967/0.5293, allocations: 12.96 MB / 0.5348 GB, free: 6.125 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.323e-05/0.5294, allocations: 12.03 kB / 0.5348 GB, free: 6.113 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004827/0.5342, allocations: 1.544 MB / 0.5363 GB, free: 4.555 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.4871/1.021, allocations: 6.258 MB / 0.5424 GB, free: 109.4 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0127/1.034, allocations: 6.927 MB / 0.5492 GB, free: 106.7 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006033/1.035, allocations: 0.7043 MB / 0.5499 GB, free: 106.4 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004373/1.039, allocations: 0.9185 MB / 0.5508 GB, free: 106.1 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03362/1.073, allocations: 15.75 MB / 0.5662 GB, free: 97.22 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002504/1.073, allocations: 19.91 kB / 0.5662 GB, free: 97.2 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002065/1.075, allocations: 383.8 kB / 0.5665 GB, free: 96.84 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004017/1.076, allocations: 0.554 MB / 0.5671 GB, free: 96.28 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02658/1.102, allocations: 14.77 MB / 0.5815 GB, free: 81.48 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06886/1.171, allocations: 52.18 MB / 0.6325 GB, free: 28.53 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01651/1.188, allocations: 26.47 MB / 0.6583 GB, free: 15 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00542/1.193, allocations: 3.21 MB / 0.6614 GB, free: 11.79 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004229/1.193, allocations: 252.5 kB / 0.6617 GB, free: 11.52 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.461e-05/1.194, allocations: 69.69 kB / 0.6618 GB, free: 11.44 MB / 478.1 MB Notification: Performance of pre-optimization done (n=398): time 6.162e-06/1.194, allocations: 0 / 0.6618 GB, free: 11.44 MB / 478.1 MB Notification: Performance of matching and sorting (n=404): time 0.04028/1.234, allocations: 17.42 MB / 0.6788 GB, free: 10.13 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.027e-05/1.234, allocations: 90.58 kB / 0.6789 GB, free: 10.03 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006336/1.24, allocations: 3.704 MB / 0.6825 GB, free: 6.328 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0008302/1.241, allocations: 85.7 kB / 0.6826 GB, free: 6.238 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003437/1.245, allocations: 4.125 MB / 0.6866 GB, free: 2.105 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001851/1.247, allocations: 1.45 MB / 0.688 GB, free: 0.6719 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002034/1.249, allocations: 1.14 MB / 0.6891 GB, free: 15.52 MB / 0.4982 GB Notification: Performance of setup shared object (initialization): time 0.000147/1.249, allocations: 305.1 kB / 0.6894 GB, free: 15.22 MB / 0.4982 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00458/1.253, allocations: 2.799 MB / 0.6921 GB, free: 12.41 MB / 0.4982 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006704/1.26, allocations: 4.957 MB / 0.697 GB, free: 6.461 MB / 0.4982 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01288/1.273, allocations: 8.314 MB / 0.7051 GB, free: 13.15 MB / 0.5138 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.056e-05/1.273, allocations: 20 kB / 0.7051 GB, free: 13.13 MB / 0.5138 GB Notification: Performance of matching and sorting (n=752) (initialization): time 0.0186/1.292, allocations: 9.113 MB / 0.714 GB, free: 3.996 MB / 0.5138 GB Notification: Performance of prepare postOptimizeDAE: time 8.319e-05/1.292, allocations: 36 kB / 0.714 GB, free: 3.961 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001399/1.292, allocations: 71.94 kB / 0.7141 GB, free: 3.891 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003575/1.296, allocations: 1.234 MB / 0.7153 GB, free: 2.652 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005279/1.301, allocations: 1.314 MB / 0.7166 GB, free: 1.336 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01658/1.317, allocations: 9.933 MB / 0.7263 GB, free: 7.273 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005356/1.323, allocations: 331.6 kB / 0.7266 GB, free: 6.949 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001417/1.324, allocations: 284 kB / 0.7269 GB, free: 6.672 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 319 * 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 (694): * Single equations (assignments): 692 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(14,44,41.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.008235/1.333, allocations: 3.701 MB / 0.7305 GB, free: 2.957 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001188/1.334, allocations: 429.2 kB / 0.7309 GB, free: 2.535 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0126/1.346, allocations: 6.694 MB / 0.7375 GB, free: 11.81 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.009944/1.356, allocations: 5.591 MB / 0.7429 GB, free: 6.191 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.596e-05/1.356, allocations: 12 kB / 0.7429 GB, free: 6.18 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.424e-05/1.356, allocations: 23.86 kB / 0.7429 GB, free: 6.156 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2831/1.64, allocations: 15.77 MB / 0.7583 GB, free: 183.3 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.667e-05/1.64, allocations: 3.875 kB / 0.7583 GB, free: 183.3 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002645/1.642, allocations: 0.724 MB / 0.7591 GB, free: 183.3 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002829/1.645, allocations: 1.12 MB / 0.7601 GB, free: 183.1 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003005/1.645, allocations: 91.44 kB / 0.7602 GB, free: 183 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01093/1.656, allocations: 8.853 MB / 0.7689 GB, free: 178.3 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.999e-06/1.656, allocations: 3.906 kB / 0.7689 GB, free: 178.3 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01421/1.671, allocations: 9.866 MB / 0.7785 GB, free: 174.2 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002887/1.674, allocations: 0.9763 MB / 0.7795 GB, free: 173.8 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006721/1.674, allocations: 77.38 kB / 0.7795 GB, free: 173.7 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00203/1.676, allocations: 204.7 kB / 0.7797 GB, free: 173.7 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006157/1.677, allocations: 287.4 kB / 0.78 GB, free: 173.6 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002187/1.677, allocations: 120.8 kB / 0.7801 GB, free: 173.6 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.003518/1.681, allocations: 2.492 MB / 0.7826 GB, free: 172.7 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.71e-07/1.681, allocations: 8.562 kB / 0.7826 GB, free: 172.7 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.005716/1.686, allocations: 1.604 MB / 0.7841 GB, free: 172.5 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * Number of states: 2 (imcQS.rotorCage.port_p.reference.gamma,speed.phi) * 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 (389): * Single equations (assignments): 387 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(14,44,40.3%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01372/1.7, allocations: 10.61 MB / 0.7945 GB, free: 163.7 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0109/1.711, allocations: 7.142 MB / 0.8015 GB, free: 157.5 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.006e-05/1.711, allocations: 4 kB / 0.8015 GB, free: 157.5 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.005601/1.717, allocations: 3.397 MB / 0.8048 GB, free: 154.6 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004967/1.722, allocations: 0.9761 MB / 0.8057 GB, free: 153.6 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07716/1.799, allocations: 54.38 MB / 0.8589 GB, free: 96.73 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005165/1.804, allocations: 6.191 MB / 0.8649 GB, free: 90.49 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.00443/1.809, allocations: 1.912 MB / 0.8668 GB, free: 88.57 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00355/1.812, allocations: 3.307 MB / 0.87 GB, free: 85.27 MB / 0.545 GB Notification: Performance of SimCode: time 8.42e-07/1.812, allocations: 0 / 0.87 GB, free: 85.27 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4138/2.226, allocations: 126.9 MB / 0.9939 GB, free: 161.9 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 19.15/21.38, allocations: 17.27 kB / 0.994 GB, free: 161.9 MB / 0.545 GB (rm -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.sim & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 Modelica_trunk_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Characteristics.fmu > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMC_Characteristics/IMC_Characteristics.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches