Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_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.IMS_Characteristics,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMS_Characteristics",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMS_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.001739/0.001739, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002218/0.002217, allocations: 206.4 kB / 18.58 MB, free: 4.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.406/1.406, allocations: 227.4 MB / 246.8 MB, free: 10.61 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001349/0.001349, allocations: 67.92 kB / 307.1 MB, free: 484 kB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1043/0.1057, allocations: 50.54 MB / 357.6 MB, free: 13.93 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics): time 0.2061/0.3118, allocations: 26.99 MB / 384.6 MB, free: 6.598 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01552/0.3274, allocations: 8.152 MB / 392.8 MB, free: 1.418 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005876/0.3333, allocations: 201.8 kB / 393 MB, free: 1.379 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02078/0.3541, allocations: 9.363 MB / 402.3 MB, free: 11.4 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01204/0.3662, allocations: 3.31 MB / 405.6 MB, free: 8.77 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005963/0.3721, allocations: 1.837 MB / 407.5 MB, free: 7.336 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.01545/0.3876, allocations: 12.15 MB / 419.6 MB, free: 14.29 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03624/0.4239, allocations: 24.48 MB / 444.1 MB, free: 5.617 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0104/0.4343, allocations: 6.445 MB / 450.5 MB, free: 15.16 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01379/0.4481, allocations: 7.25 MB / 457.8 MB, free: 7.883 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00564/0.4538, allocations: 1.836 MB / 459.6 MB, free: 6.047 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008269/0.4621, allocations: 2.234 MB / 461.9 MB, free: 3.812 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005514/0.4677, allocations: 3.616 MB / 465.5 MB, free: 192 kB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01231/0.48, allocations: 6.927 MB / 472.4 MB, free: 9.23 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02846/0.5085, allocations: 24.65 MB / 497.1 MB, free: 0.5195 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.863e-06/0.5085, allocations: 0 / 497.1 MB, free: 0.5195 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.823e-06/0.5085, allocations: 7.938 kB / 497.1 MB, free: 0.5117 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0007338/0.5093, allocations: 0 / 497.1 MB, free: 0.5117 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3035 * Number of variables: 3035 Notification: Performance of Generate backend data structure: time 0.04544/0.5547, allocations: 14.56 MB / 0.4996 GB, free: 1.844 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.009e-05/0.5548, allocations: 12.03 kB / 0.4996 GB, free: 1.832 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006279/0.5611, allocations: 1.792 MB / 0.5014 GB, free: 28 kB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05115/0.6123, allocations: 8.442 MB / 0.5096 GB, free: 7.559 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01704/0.6294, allocations: 7.445 MB / 0.5169 GB, free: 28 kB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008999/0.6303, allocations: 0.8186 MB / 0.5177 GB, free: 15.2 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004906/0.6352, allocations: 1.058 MB / 0.5187 GB, free: 14.14 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3967/1.032, allocations: 18.29 MB / 0.5366 GB, free: 120.5 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003447/1.032, allocations: 13.27 kB / 0.5366 GB, free: 120.5 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002805/1.035, allocations: 455.4 kB / 0.5371 GB, free: 120.5 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006861/1.036, allocations: 0.666 MB / 0.5377 GB, free: 120.4 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0357/1.072, allocations: 17.53 MB / 0.5548 GB, free: 114 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08656/1.158, allocations: 59.88 MB / 0.6133 GB, free: 66.05 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02582/1.184, allocations: 37.46 MB / 0.6499 GB, free: 24.65 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006453/1.191, allocations: 4.124 MB / 0.6539 GB, free: 20.51 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004676/1.191, allocations: 273.2 kB / 0.6542 GB, free: 20.22 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.307e-05/1.191, allocations: 90.62 kB / 0.6543 GB, free: 20.12 MB / 446.1 MB Notification: Performance of pre-optimization done (n=518): time 6.772e-06/1.191, allocations: 0 / 0.6543 GB, free: 20.12 MB / 446.1 MB Notification: Performance of matching and sorting (n=524): time 0.04348/1.235, allocations: 21.44 MB / 0.6752 GB, free: 14.43 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.402e-05/1.235, allocations: 103.5 kB / 0.6753 GB, free: 14.32 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006798/1.242, allocations: 4.183 MB / 0.6794 GB, free: 10.11 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0008949/1.242, allocations: 113.7 kB / 0.6795 GB, free: 9.988 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003196/1.246, allocations: 4.507 MB / 0.6839 GB, free: 5.453 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002333/1.248, allocations: 1.781 MB / 0.6856 GB, free: 3.688 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002089/1.25, allocations: 1.347 MB / 0.6869 GB, free: 2.332 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001022/1.25, allocations: 305.1 kB / 0.6872 GB, free: 2.031 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005195/1.255, allocations: 3.445 MB / 0.6906 GB, free: 14.58 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008649/1.264, allocations: 5.883 MB / 0.6963 GB, free: 7.605 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02567/1.29, allocations: 10.01 MB / 0.7061 GB, free: 12.43 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001122/1.29, allocations: 24 kB / 0.7061 GB, free: 12.4 MB / 494.1 MB Notification: Performance of matching and sorting (n=910) (initialization): time 0.03402/1.324, allocations: 10.94 MB / 0.7168 GB, free: 1.367 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.952e-05/1.324, allocations: 39.98 kB / 0.7169 GB, free: 1.328 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001285/1.324, allocations: 80 kB / 0.7169 GB, free: 1.25 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.2339/1.558, allocations: 1.454 MB / 0.7184 GB, free: 156.6 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006813/1.565, allocations: 1.606 MB / 0.7199 GB, free: 156.6 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01944/1.584, allocations: 11.5 MB / 0.7312 GB, free: 152.5 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005432/1.59, allocations: 405 kB / 0.7316 GB, free: 152.4 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001333/1.591, allocations: 336.1 kB / 0.7319 GB, free: 152.4 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 354 * 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 (840): * Single equations (assignments): 838 * 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,56,41.3%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.007907/1.599, allocations: 4.159 MB / 0.7359 GB, free: 150.4 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002057/1.601, allocations: 481.9 kB / 0.7364 GB, free: 150.4 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02013/1.621, allocations: 8.487 MB / 0.7447 GB, free: 146.9 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01021/1.632, allocations: 7.085 MB / 0.7516 GB, free: 144.1 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.131e-05/1.632, allocations: 11.53 kB / 0.7516 GB, free: 144.1 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.605e-05/1.632, allocations: 26.91 kB / 0.7516 GB, free: 144.1 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0286/1.66, allocations: 19.32 MB / 0.7705 GB, free: 135.8 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.969e-05/1.661, allocations: 7.844 kB / 0.7705 GB, free: 135.8 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003715/1.664, allocations: 0.9384 MB / 0.7714 GB, free: 135 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003488/1.668, allocations: 1.312 MB / 0.7727 GB, free: 134 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007912/1.669, allocations: 114.4 kB / 0.7728 GB, free: 133.9 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0124/1.681, allocations: 10.18 MB / 0.7828 GB, free: 125.1 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.698e-06/1.681, allocations: 3.938 kB / 0.7828 GB, free: 125.1 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01971/1.701, allocations: 12.28 MB / 0.7948 GB, free: 113 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002913/1.704, allocations: 1.155 MB / 0.7959 GB, free: 111.8 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001063/1.705, allocations: 99.94 kB / 0.796 GB, free: 111.7 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002992/1.708, allocations: 271.8 kB / 0.7962 GB, free: 111.4 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007357/1.709, allocations: 344.5 kB / 0.7966 GB, free: 111.1 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000274/1.709, allocations: 152 kB / 0.7967 GB, free: 110.9 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.003564/1.712, allocations: 2.815 MB / 0.7995 GB, free: 108.1 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.6e-07/1.712, allocations: 0 / 0.7995 GB, free: 108.1 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.006146/1.719, allocations: 1.946 MB / 0.8014 GB, free: 106.2 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 2 (imsQS.rotor.stray.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 (499): * Single equations (assignments): 497 * 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,56,41.3%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0163/1.735, allocations: 13.04 MB / 0.8141 GB, free: 92.92 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.05075/1.786, allocations: 20.62 MB / 0.8342 GB, free: 72.29 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.095e-05/1.786, allocations: 0.8125 kB / 0.8342 GB, free: 72.29 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.01054/1.796, allocations: 4.188 MB / 0.8383 GB, free: 68.09 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007999/1.804, allocations: 1.139 MB / 0.8394 GB, free: 66.99 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2738/2.078, allocations: 75.82 MB / 0.9135 GB, free: 151.9 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009188/2.087, allocations: 7.012 MB / 0.9203 GB, free: 149.4 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.007416/2.095, allocations: 2.316 MB / 0.9226 GB, free: 149.2 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00627/2.101, allocations: 3.866 MB / 0.9263 GB, free: 146 MB / 494.1 MB Notification: Performance of SimCode: time 1.363e-06/2.101, allocations: 0 / 0.9263 GB, free: 146 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3602/2.461, allocations: 151.1 MB / 1.074 GB, free: 117.3 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.62/15.09, allocations: 7.844 kB / 1.074 GB, free: 117.3 MB / 494.1 MB (rm -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.sim & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_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_IMS_Characteristics.fmu > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMS_Characteristics/IMS_Characteristics.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches