Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.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_Initialize,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Initialize",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Initialize",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001277/0.001277, allocations: 103.6 kB / 17.63 MB, free: 5.344 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: 214.4 kB / 18.58 MB, free: 4.406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.395/1.395, allocations: 227.4 MB / 246.8 MB, free: 10.53 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001379/0.00138, allocations: 60.19 kB / 307.1 MB, free: 484 kB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1038/0.1052, allocations: 50.53 MB / 357.6 MB, free: 13.95 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize): time 0.2184/0.3237, allocations: 33.49 MB / 391.1 MB, free: 2.512 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.02098/0.3447, allocations: 9.243 MB / 400.3 MB, free: 11.9 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007906/0.3526, allocations: 238.1 kB / 400.6 MB, free: 11.86 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02057/0.3733, allocations: 7.982 MB / 408.6 MB, free: 6.293 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01581/0.3891, allocations: 3.65 MB / 412.2 MB, free: 3.344 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007969/0.3971, allocations: 2.151 MB / 414.4 MB, free: 1.605 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.01835/0.4155, allocations: 13.06 MB / 427.4 MB, free: 6.465 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03896/0.4545, allocations: 22.61 MB / 450 MB, free: 15.7 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01098/0.4655, allocations: 6.537 MB / 456.6 MB, free: 9.145 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01142/0.477, allocations: 7.405 MB / 464 MB, free: 1.715 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.005029/0.482, allocations: 1.879 MB / 465.8 MB, free: 15.83 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007213/0.4892, allocations: 2.281 MB / 468.1 MB, free: 13.55 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005601/0.4949, allocations: 3.756 MB / 471.9 MB, free: 9.789 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01271/0.5076, allocations: 7.113 MB / 479 MB, free: 2.648 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02804/0.5357, allocations: 24.92 MB / 0.4921 GB, free: 9.66 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.071e-06/0.5357, allocations: 0 / 0.4921 GB, free: 9.66 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.744e-06/0.5357, allocations: 0 / 0.4921 GB, free: 9.66 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0006295/0.5363, allocations: 0 / 0.4921 GB, free: 9.66 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2952 * Number of variables: 2952 Notification: Performance of Generate backend data structure: time 0.04489/0.5812, allocations: 14.68 MB / 0.5064 GB, free: 10.86 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.734e-05/0.5813, allocations: 8.031 kB / 0.5065 GB, free: 10.86 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006619/0.5879, allocations: 1.514 MB / 0.5079 GB, free: 9.328 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04072/0.6287, allocations: 6.788 MB / 0.5146 GB, free: 2.52 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01782/0.6465, allocations: 7.909 MB / 0.5223 GB, free: 10.53 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009418/0.6475, allocations: 0.7947 MB / 0.5231 GB, free: 9.734 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00441/0.652, allocations: 1.054 MB / 0.5241 GB, free: 8.68 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3674/1.019, allocations: 17.21 MB / 0.5409 GB, free: 121.7 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004969/1.02, allocations: 20.28 kB / 0.5409 GB, free: 121.7 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00317/1.023, allocations: 449.3 kB / 0.5413 GB, free: 121.3 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000714/1.024, allocations: 0.6254 MB / 0.542 GB, free: 121.3 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03533/1.059, allocations: 16.29 MB / 0.5579 GB, free: 115 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08397/1.143, allocations: 56.99 MB / 0.6135 GB, free: 65.82 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02401/1.167, allocations: 31.39 MB / 0.6442 GB, free: 30.69 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006977/1.174, allocations: 4.366 MB / 0.6484 GB, free: 26.33 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01791/1.192, allocations: 10.74 MB / 0.6589 GB, free: 15.55 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.774e-05/1.192, allocations: 77.81 kB / 0.659 GB, free: 15.46 MB / 446.1 MB Notification: Performance of pre-optimization done (n=398): time 5.921e-06/1.192, allocations: 0 / 0.659 GB, free: 15.46 MB / 446.1 MB Notification: Performance of matching and sorting (n=423): time 0.04806/1.24, allocations: 21.54 MB / 0.68 GB, free: 9.547 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.905e-05/1.241, allocations: 124.7 kB / 0.6802 GB, free: 9.402 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009494/1.25, allocations: 4.714 MB / 0.6848 GB, free: 4.68 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0009679/1.251, allocations: 93.7 kB / 0.6849 GB, free: 4.582 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003817/1.255, allocations: 4.672 MB / 0.6894 GB, free: 15.88 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002196/1.257, allocations: 1.451 MB / 0.6908 GB, free: 14.44 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003958/1.261, allocations: 1.136 MB / 0.6919 GB, free: 13.29 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 9.898e-05/1.261, allocations: 301.1 kB / 0.6922 GB, free: 12.99 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005179/1.266, allocations: 2.905 MB / 0.6951 GB, free: 10.08 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007093/1.273, allocations: 4.945 MB / 0.6999 GB, free: 4.211 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01254/1.286, allocations: 8.345 MB / 0.708 GB, free: 10.93 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.886e-05/1.286, allocations: 20 kB / 0.7081 GB, free: 10.91 MB / 494.1 MB Notification: Performance of matching and sorting (n=764) (initialization): time 0.01998/1.306, allocations: 9.735 MB / 0.7176 GB, free: 1.113 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.07e-05/1.306, allocations: 32 kB / 0.7176 GB, free: 1.082 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001121/1.306, allocations: 64 kB / 0.7177 GB, free: 1.02 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.2213/1.528, allocations: 1.654 MB / 0.7193 GB, free: 157.1 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006043/1.534, allocations: 1.318 MB / 0.7206 GB, free: 157.1 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02438/1.558, allocations: 17.77 MB / 0.7379 GB, free: 147.6 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006442/1.565, allocations: 331.8 kB / 0.7382 GB, free: 147.5 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001456/1.566, allocations: 280 kB / 0.7385 GB, free: 147.5 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 296 * 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 (671): * Single equations (assignments): 667 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,1,100.0%), (7,28,61.2%), (1,1,100.0%), (14,44,39.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.009941/1.576, allocations: 3.887 MB / 0.7423 GB, free: 145.5 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001782/1.578, allocations: 0.4972 MB / 0.7428 GB, free: 145.5 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01322/1.591, allocations: 7.802 MB / 0.7504 GB, free: 142.2 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.229e-05/1.591, allocations: 42.62 kB / 0.7504 GB, free: 142.2 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.666e-05/1.591, allocations: 15.41 kB / 0.7505 GB, free: 142.2 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.58e-05/1.591, allocations: 22.97 kB / 0.7505 GB, free: 142.2 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02654/1.618, allocations: 17.48 MB / 0.7676 GB, free: 134.7 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.871e-05/1.618, allocations: 3.719 kB / 0.7676 GB, free: 134.7 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003103/1.621, allocations: 0.7224 MB / 0.7683 GB, free: 134.7 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00403/1.625, allocations: 1.563 MB / 0.7698 GB, free: 134.3 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006758/1.626, allocations: 103.8 kB / 0.7699 GB, free: 134.2 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01934/1.645, allocations: 21.24 MB / 0.7906 GB, free: 116.3 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.392e-06/1.645, allocations: 8 kB / 0.7906 GB, free: 116.3 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01539/1.66, allocations: 11.45 MB / 0.8018 GB, free: 105.4 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002573/1.663, allocations: 1.151 MB / 0.8029 GB, free: 104.3 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009642/1.664, allocations: 91.98 kB / 0.803 GB, free: 104.2 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002623/1.667, allocations: 231.8 kB / 0.8033 GB, free: 104 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007103/1.667, allocations: 327.3 kB / 0.8036 GB, free: 103.7 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002576/1.668, allocations: 132 kB / 0.8037 GB, free: 103.6 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.004115/1.672, allocations: 3.186 MB / 0.8068 GB, free: 100.4 MB / 494.1 MB Notification: Performance of sort global known variables: time 2.71e-07/1.672, allocations: 0 / 0.8068 GB, free: 100.4 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.006195/1.678, allocations: 1.874 MB / 0.8086 GB, free: 98.5 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 27 * Number of states: 10 (imcQS.inertiaRotor.w,imcQS.rotorCage.port_p.reference.gamma,loadInertiaQS.phi,imc.inertiaRotor.w,imc.stator.zeroInductor.i0,imc.stator.core.Phi.re,imc.stator.core.Phi.im,imc.stator.stray.Phi.re,imc.stator.stray.Phi.im,loadInertia.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 (364): * Single equations (assignments): 357 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 7 systems {(1,1,100.0%), (14,44,41.3%), (2,12,100.0%), (1,1,100.0%), (1,12,100.0%), (1,5,100.0%), (1,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01437/1.692, allocations: 12.2 MB / 0.8205 GB, free: 86.11 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0216/1.714, allocations: 11.59 MB / 0.8319 GB, free: 74.52 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.025e-05/1.714, allocations: 0 / 0.8319 GB, free: 74.52 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006828/1.721, allocations: 4.64 MB / 0.8364 GB, free: 69.8 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007222/1.728, allocations: 1.308 MB / 0.8377 GB, free: 68.53 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2782/2.006, allocations: 79.06 MB / 0.9149 GB, free: 151.2 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008176/2.015, allocations: 6.777 MB / 0.9215 GB, free: 148.9 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.006124/2.021, allocations: 1.865 MB / 0.9233 GB, free: 148.8 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006697/2.027, allocations: 3.922 MB / 0.9271 GB, free: 145.4 MB / 494.1 MB Notification: Performance of SimCode: time 1.944e-06/2.028, allocations: 0 / 0.9271 GB, free: 145.4 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3957/2.423, allocations: 154 MB / 1.078 GB, free: 115 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.87/15.3, allocations: 12.39 kB / 1.078 GB, free: 115 MB / 494.1 MB (rm -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.sim & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize_res.csv --start-time 0 --stop-time 1.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1e-05 Modelica_trunk_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Initialize.fmu > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMC_Initialize/IMC_Initialize.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches