Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.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.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Initialize",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_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.001458/0.001458, allocations: 121.8 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.001823/0.001823, allocations: 201.2 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.309/1.309, allocations: 227.4 MB / 246.9 MB, free: 10.46 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001335/0.001336, allocations: 63.91 kB / 358.2 MB, free: 13.44 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2678/0.2691, allocations: 50.54 MB / 408.8 MB, free: 1.57 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize): time 0.01407/0.2832, allocations: 13.51 MB / 422.3 MB, free: 3.992 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00985/0.2931, allocations: 4.532 MB / 426.8 MB, free: 15.45 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003182/0.2963, allocations: 79.69 kB / 426.9 MB, free: 15.37 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002905/0.2993, allocations: 1.036 MB / 427.9 MB, free: 14.33 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004189/0.3035, allocations: 1.313 MB / 429.2 MB, free: 13.01 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002256/0.3058, allocations: 0.8874 MB / 430.1 MB, free: 12.12 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004619/0.3104, allocations: 4.076 MB / 434.2 MB, free: 8.035 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003399/0.3138, allocations: 3.24 MB / 437.4 MB, free: 4.719 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002529/0.3164, allocations: 1.92 MB / 439.4 MB, free: 2.793 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003023/0.3194, allocations: 2.242 MB / 441.6 MB, free: 0.543 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006534/0.3201, allocations: 0.5078 MB / 442.1 MB, free: 36 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001362/0.3215, allocations: 0.7263 MB / 442.8 MB, free: 15.31 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008688/0.3223, allocations: 1.145 MB / 444 MB, free: 14.16 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002212/0.3246, allocations: 2.132 MB / 446.1 MB, free: 12.02 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006753/0.3313, allocations: 6.817 MB / 452.9 MB, free: 5.18 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.781e-06/0.3314, allocations: 0 / 452.9 MB, free: 5.18 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.934e-06/0.3314, allocations: 0 / 452.9 MB, free: 5.18 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001226/0.3315, allocations: 0 / 452.9 MB, free: 5.18 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 819 * Number of variables: 819 Notification: Performance of Generate backend data structure: time 0.01182/0.3433, allocations: 4.522 MB / 457.5 MB, free: 0.5781 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.312e-05/0.3434, allocations: 12.03 kB / 457.5 MB, free: 0.5664 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000889/0.3443, allocations: 455 kB / 457.9 MB, free: 112 kB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004687/0.349, allocations: 0.8599 MB / 458.8 MB, free: 15.25 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005405/0.3544, allocations: 2.512 MB / 461.3 MB, free: 12.68 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002508/0.3547, allocations: 235.8 kB / 461.5 MB, free: 12.45 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001012/0.3557, allocations: 315.9 kB / 461.8 MB, free: 12.14 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007627/0.3634, allocations: 4.258 MB / 466.1 MB, free: 7.832 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.65e-05/0.3635, allocations: 0 / 466.1 MB, free: 7.832 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002957/0.3638, allocations: 131.9 kB / 466.2 MB, free: 7.703 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000137/0.3639, allocations: 150.2 kB / 466.4 MB, free: 7.555 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006167/0.3701, allocations: 3.659 MB / 470 MB, free: 3.887 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02411/0.3942, allocations: 13.44 MB / 483.5 MB, free: 6.082 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006984/0.4012, allocations: 6.889 MB / 490.3 MB, free: 14.29 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002408/0.4037, allocations: 1.425 MB / 491.8 MB, free: 12.86 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006689/0.4104, allocations: 3.873 MB / 495.6 MB, free: 8.848 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.389e-05/0.4105, allocations: 51.56 kB / 495.7 MB, free: 8.785 MB / 414.1 MB Notification: Performance of pre-optimization done (n=124): time 3.596e-06/0.4105, allocations: 0 / 495.7 MB, free: 8.785 MB / 414.1 MB Notification: Performance of matching and sorting (n=144): time 0.01492/0.4254, allocations: 6.69 MB / 0.4906 GB, free: 1.902 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.128e-05/0.4256, allocations: 68.72 kB / 0.4907 GB, free: 1.82 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004564/0.4301, allocations: 1.892 MB / 0.4925 GB, free: 15.93 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000459/0.4306, allocations: 53.7 kB / 0.4926 GB, free: 15.87 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001517/0.4322, allocations: 1.475 MB / 0.494 GB, free: 14.38 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008031/0.433, allocations: 0.5151 MB / 0.4945 GB, free: 13.86 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009146/0.4339, allocations: 303.5 kB / 0.4948 GB, free: 13.56 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001259/0.4341, allocations: 305.1 kB / 0.4951 GB, free: 13.26 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001571/0.4357, allocations: 0.7652 MB / 0.4958 GB, free: 12.5 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001707/0.4374, allocations: 1.22 MB / 0.497 GB, free: 11.09 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003197/0.4406, allocations: 2.111 MB / 0.4991 GB, free: 8.785 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.898e-05/0.4406, allocations: 4 kB / 0.4991 GB, free: 8.781 MB / 430.1 MB Notification: Performance of matching and sorting (n=218) (initialization): time 0.005017/0.4457, allocations: 2.672 MB / 0.5017 GB, free: 6.094 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.358e-05/0.4457, allocations: 12 kB / 0.5017 GB, free: 6.082 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.218e-05/0.4458, allocations: 12 kB / 0.5017 GB, free: 6.07 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001436/0.4472, allocations: 0.5059 MB / 0.5022 GB, free: 5.559 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001449/0.4487, allocations: 383.3 kB / 0.5026 GB, free: 5.184 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008674/0.4574, allocations: 6.927 MB / 0.5094 GB, free: 13.98 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001821/0.4592, allocations: 71.91 kB / 0.5094 GB, free: 13.91 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000241/0.4595, allocations: 75.98 kB / 0.5095 GB, free: 13.83 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 62 * 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 (180): * Single equations (assignments): 178 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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,1,100.0%), (8,30,56.2%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001983/0.4615, allocations: 1.048 MB / 0.5105 GB, free: 12.77 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005821/0.4621, allocations: 214.8 kB / 0.5107 GB, free: 12.56 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00446/0.4665, allocations: 2.496 MB / 0.5132 GB, free: 10 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.508e-05/0.4666, allocations: 16 kB / 0.5132 GB, free: 9.984 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.545e-05/0.4666, allocations: 4 kB / 0.5132 GB, free: 9.98 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.501e-05/0.4666, allocations: 7.969 kB / 0.5132 GB, free: 9.973 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009759/0.4764, allocations: 5.561 MB / 0.5186 GB, free: 4.277 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.233e-06/0.4764, allocations: 0 / 0.5186 GB, free: 4.277 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001011/0.4774, allocations: 223.7 kB / 0.5188 GB, free: 4.059 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001266/0.4787, allocations: 495.9 kB / 0.5193 GB, free: 3.559 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001092/0.4788, allocations: 35.98 kB / 0.5193 GB, free: 3.523 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01014/0.489, allocations: 11.43 MB / 0.5305 GB, free: 7.395 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.489, allocations: 3.938 kB / 0.5305 GB, free: 7.391 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005425/0.4945, allocations: 3.575 MB / 0.534 GB, free: 3.723 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001024/0.4955, allocations: 475.6 kB / 0.5345 GB, free: 3.238 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004768/0.496, allocations: 28 kB / 0.5345 GB, free: 3.211 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001172/0.4972, allocations: 63.95 kB / 0.5345 GB, free: 3.148 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002844/0.4975, allocations: 117 kB / 0.5347 GB, free: 3.035 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.963e-05/0.4976, allocations: 43.98 kB / 0.5347 GB, free: 2.992 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002339/0.4999, allocations: 1.306 MB / 0.536 GB, free: 1.695 MB / 462.1 MB Notification: Performance of sort global known variables: time 2.4e-07/0.4999, allocations: 0 / 0.536 GB, free: 1.695 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002349/0.5023, allocations: 0.5937 MB / 0.5365 GB, free: 1.102 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 7 (aimc.inertiaRotor.w,aimc.stator.zeroInductor.i0,aimc.stator.core.Phi.re,aimc.stator.core.Phi.im,aimc.stator.stray.Phi.re,aimc.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 (102): * Single equations (assignments): 97 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 5 systems {(2,12,100.0%), (1,1,100.0%), (1,12,100.0%), (1,8,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.2164/0.7187, allocations: 4.185 MB / 0.5406 GB, free: 122.1 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.003682/0.7224, allocations: 2.409 MB / 0.543 GB, free: 121.4 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.669e-06/0.7224, allocations: 0 / 0.543 GB, free: 121.4 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002102/0.7245, allocations: 1.731 MB / 0.5447 GB, free: 120.4 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002444/0.727, allocations: 0.5351 MB / 0.5452 GB, free: 120.2 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02854/0.7556, allocations: 21.39 MB / 0.5661 GB, free: 105.5 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001597/0.7572, allocations: 2.391 MB / 0.5684 GB, free: 103.1 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.001174/0.7584, allocations: 417 kB / 0.5688 GB, free: 102.7 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00115/0.7596, allocations: 1.163 MB / 0.57 GB, free: 101.5 MB / 462.1 MB Notification: Performance of SimCode: time 1.583e-06/0.7596, allocations: 3.938 kB / 0.57 GB, free: 101.5 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07946/0.839, allocations: 55.65 MB / 0.6243 GB, free: 46.33 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.47/14.3, allocations: 5.578 kB / 0.6243 GB, free: 46.33 MB / 462.1 MB (rm -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.sim & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Magnetic.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 0.0001 Modelica_trunk_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Initialize.fmu > Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Magnetic.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/FundamentalWave/Examples/BasicMachines/InductionMachines/IMC_Initialize/IMC_Initialize.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches