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.001634/0.001634, allocations: 121.1 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.00186/0.00186, allocations: 203.8 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.442/1.442, allocations: 227.4 MB / 246.9 MB, free: 10.46 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001818/0.001818, allocations: 71.86 kB / 358.3 MB, free: 13.4 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2812/0.2831, allocations: 50.54 MB / 408.8 MB, free: 1.527 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics): time 0.03123/0.3143, allocations: 27 MB / 435.8 MB, free: 6.402 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01945/0.3339, allocations: 8.152 MB / 443.9 MB, free: 14.22 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005676/0.3396, allocations: 195.4 kB / 444.1 MB, free: 14.03 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0226/0.3623, allocations: 9.374 MB / 453.5 MB, free: 4.641 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01131/0.3736, allocations: 3.314 MB / 456.8 MB, free: 1.316 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006432/0.38, allocations: 1.831 MB / 458.7 MB, free: 15.5 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.018/0.3981, allocations: 12.24 MB / 470.9 MB, free: 3.219 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03832/0.4364, allocations: 24.38 MB / 495.3 MB, free: 10.64 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01218/0.4487, allocations: 6.456 MB / 0.49 GB, free: 4.168 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.014/0.4627, allocations: 7.207 MB / 0.497 GB, free: 12.94 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.005492/0.4683, allocations: 1.84 MB / 0.4988 GB, free: 11.1 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008515/0.4768, allocations: 2.23 MB / 0.501 GB, free: 8.867 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006353/0.4832, allocations: 3.601 MB / 0.5045 GB, free: 5.258 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01321/0.4965, allocations: 6.93 MB / 0.5113 GB, free: 14.3 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03329/0.5298, allocations: 24.81 MB / 0.5355 GB, free: 5.41 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.192e-06/0.5298, allocations: 0 / 0.5355 GB, free: 5.41 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.943e-06/0.5299, allocations: 0 / 0.5355 GB, free: 5.41 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0006942/0.5306, allocations: 0 / 0.5355 GB, free: 5.41 MB / 462.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.4318/0.9624, allocations: 14.77 MB / 0.5499 GB, free: 108.1 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.459e-05/0.9624, allocations: 7.875 kB / 0.5499 GB, free: 108.1 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005132/0.9676, allocations: 1.788 MB / 0.5517 GB, free: 107 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04364/1.011, allocations: 8.56 MB / 0.56 GB, free: 101.2 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01422/1.025, allocations: 7.657 MB / 0.5675 GB, free: 93.98 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005716/1.026, allocations: 0.8099 MB / 0.5683 GB, free: 93.18 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004058/1.03, allocations: 1.061 MB / 0.5693 GB, free: 92.13 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04085/1.071, allocations: 18.29 MB / 0.5872 GB, free: 73.83 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004115/1.071, allocations: 27.77 kB / 0.5872 GB, free: 73.8 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00421/1.076, allocations: 454.9 kB / 0.5877 GB, free: 73.38 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005314/1.076, allocations: 0.6633 MB / 0.5883 GB, free: 72.71 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03206/1.108, allocations: 17.54 MB / 0.6054 GB, free: 55.16 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08406/1.192, allocations: 59.35 MB / 0.6634 GB, free: 10.75 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03671/1.229, allocations: 37.46 MB / 0.7 GB, free: 1.355 MB / 0.4982 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007258/1.236, allocations: 4.113 MB / 0.704 GB, free: 13.22 MB / 0.5138 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005483/1.237, allocations: 274.1 kB / 0.7043 GB, free: 12.91 MB / 0.5138 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.713e-05/1.237, allocations: 86.62 kB / 0.7043 GB, free: 12.82 MB / 0.5138 GB Notification: Performance of pre-optimization done (n=518): time 7.233e-06/1.237, allocations: 0 / 0.7043 GB, free: 12.82 MB / 0.5138 GB Notification: Performance of matching and sorting (n=524): time 0.04966/1.287, allocations: 21.59 MB / 0.7254 GB, free: 7.09 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.26e-05/1.287, allocations: 103.5 kB / 0.7255 GB, free: 6.973 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006868/1.294, allocations: 4.191 MB / 0.7296 GB, free: 2.754 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0008409/1.295, allocations: 113.7 kB / 0.7297 GB, free: 2.637 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.003618/1.298, allocations: 4.664 MB / 0.7343 GB, free: 13.93 MB / 0.5451 GB Notification: Performance of collectInitialBindings (initialization): time 0.002412/1.301, allocations: 1.867 MB / 0.7361 GB, free: 12.05 MB / 0.5451 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002493/1.303, allocations: 1.359 MB / 0.7374 GB, free: 10.68 MB / 0.5451 GB Notification: Performance of setup shared object (initialization): time 0.0001334/1.303, allocations: 301.1 kB / 0.7377 GB, free: 10.38 MB / 0.5451 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005669/1.309, allocations: 3.441 MB / 0.7411 GB, free: 6.938 MB / 0.5451 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2491/1.558, allocations: 5.877 MB / 0.7468 GB, free: 182.7 MB / 0.5451 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01351/1.572, allocations: 10.02 MB / 0.7566 GB, free: 177.6 MB / 0.5451 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.186e-05/1.572, allocations: 27.72 kB / 0.7566 GB, free: 177.6 MB / 0.5451 GB Notification: Performance of matching and sorting (n=910) (initialization): time 0.0194/1.591, allocations: 10.96 MB / 0.7673 GB, free: 173.4 MB / 0.5451 GB Notification: Performance of prepare postOptimizeDAE: time 7.715e-05/1.591, allocations: 42.95 kB / 0.7674 GB, free: 173.4 MB / 0.5451 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00015/1.592, allocations: 78.31 kB / 0.7674 GB, free: 173.4 MB / 0.5451 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003531/1.595, allocations: 1.443 MB / 0.7689 GB, free: 173.1 MB / 0.5451 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005578/1.601, allocations: 1.616 MB / 0.7704 GB, free: 173 MB / 0.5451 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01433/1.615, allocations: 11.49 MB / 0.7817 GB, free: 167 MB / 0.5451 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005153/1.62, allocations: 414.2 kB / 0.782 GB, free: 166.9 MB / 0.5451 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009425/1.621, allocations: 335.8 kB / 0.7824 GB, free: 166.8 MB / 0.5451 GB 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.00641/1.628, allocations: 4.161 MB / 0.7864 GB, free: 164 MB / 0.5451 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001101/1.629, allocations: 0.4889 MB / 0.7869 GB, free: 163.8 MB / 0.5451 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01226/1.641, allocations: 8.482 MB / 0.7952 GB, free: 156.7 MB / 0.5451 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.009627/1.651, allocations: 7.082 MB / 0.8021 GB, free: 150.5 MB / 0.5451 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.265e-05/1.651, allocations: 12 kB / 0.8021 GB, free: 150.5 MB / 0.5451 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.834e-05/1.651, allocations: 26.53 kB / 0.8021 GB, free: 150.5 MB / 0.5451 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02923/1.68, allocations: 18.77 MB / 0.8205 GB, free: 132 MB / 0.5451 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-05/1.68, allocations: 4 kB / 0.8205 GB, free: 132 MB / 0.5451 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003381/1.683, allocations: 0.9461 MB / 0.8214 GB, free: 131 MB / 0.5451 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003056/1.687, allocations: 1.301 MB / 0.8227 GB, free: 129.7 MB / 0.5451 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004227/1.687, allocations: 112 kB / 0.8228 GB, free: 129.6 MB / 0.5451 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01155/1.699, allocations: 10.18 MB / 0.8327 GB, free: 119.4 MB / 0.5451 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.476e-06/1.699, allocations: 4 kB / 0.8327 GB, free: 119.4 MB / 0.5451 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01567/1.714, allocations: 12.3 MB / 0.8447 GB, free: 106.9 MB / 0.5451 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002689/1.717, allocations: 1.179 MB / 0.8459 GB, free: 105.7 MB / 0.5451 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007622/1.718, allocations: 95.98 kB / 0.846 GB, free: 105.6 MB / 0.5451 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002414/1.72, allocations: 275.8 kB / 0.8463 GB, free: 105.3 MB / 0.5451 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007131/1.721, allocations: 348.3 kB / 0.8466 GB, free: 105 MB / 0.5451 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002627/1.721, allocations: 147.3 kB / 0.8467 GB, free: 104.9 MB / 0.5451 GB Notification: Performance of sorting global known variables: time 0.003455/1.725, allocations: 2.823 MB / 0.8495 GB, free: 102 MB / 0.5451 GB Notification: Performance of sort global known variables: time 1.6e-07/1.725, allocations: 0 / 0.8495 GB, free: 102 MB / 0.5451 GB Notification: Performance of remove unused functions: time 0.006596/1.731, allocations: 1.935 MB / 0.8514 GB, free: 100.1 MB / 0.5451 GB 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.01593/1.747, allocations: 13.05 MB / 0.8641 GB, free: 86.85 MB / 0.5451 GB Notification: Performance of simCode: created initialization part: time 0.0133/1.761, allocations: 8.74 MB / 0.8727 GB, free: 78.05 MB / 0.5451 GB Notification: Performance of simCode: created event and clocks part: time 8.666e-06/1.761, allocations: 0 / 0.8727 GB, free: 78.05 MB / 0.5451 GB Notification: Performance of simCode: created simulation system equations: time 0.006943/1.768, allocations: 4.2 MB / 0.8768 GB, free: 73.83 MB / 0.5451 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005886/1.774, allocations: 1.138 MB / 0.8779 GB, free: 72.71 MB / 0.5451 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08189/1.855, allocations: 64.1 MB / 0.9405 GB, free: 5.684 MB / 0.5451 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007319/1.863, allocations: 7.014 MB / 0.9473 GB, free: 14.62 MB / 0.5607 GB Notification: Performance of simCode: alias equations: time 0.006434/1.869, allocations: 2.313 MB / 0.9496 GB, free: 12.3 MB / 0.5607 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.2427/2.112, allocations: 3.865 MB / 0.9533 GB, free: 192.5 MB / 0.5607 GB Notification: Performance of SimCode: time 1.613e-06/2.112, allocations: 0.5 kB / 0.9533 GB, free: 192.5 MB / 0.5607 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1932/2.305, allocations: 148.8 MB / 1.099 GB, free: 67.36 MB / 0.5607 GB Notification: Performance of buildModelFMU: Generate platform static: time 23.49/25.79, allocations: 8.828 kB / 1.099 GB, free: 67.35 MB / 0.5607 GB (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.1.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