Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMPM_Inverter_Polyphase.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.SynchronousMachines.ComparisonPolyphase.SMPM_Inverter_Polyphase,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_SynchronousMachines_ComparisonPolyphase_SMPM_Inverter_Polyphase",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMPM_Inverter_Polyphase,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_SynchronousMachines_ComparisonPolyphase_SMPM_Inverter_Polyphase",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001512/0.001512, allocations: 103.8 kB / 17.63 MB, free: 5.48 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002017/0.002017, allocations: 210.4 kB / 18.58 MB, free: 4.535 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.362/1.362, allocations: 227.4 MB / 246.8 MB, free: 10.59 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001363/0.001364, allocations: 57.47 kB / 307.1 MB, free: 0.5 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08991/0.0913, allocations: 50.53 MB / 357.6 MB, free: 13.97 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMPM_Inverter_Polyphase): time 0.1901/0.2814, allocations: 27.12 MB / 384.7 MB, free: 6.453 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01445/0.2959, allocations: 7.509 MB / 392.2 MB, free: 1.582 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005908/0.3019, allocations: 178.7 kB / 392.4 MB, free: 1.539 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005185/0.3071, allocations: 1.774 MB / 394.2 MB, free: 0.5664 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009507/0.3167, allocations: 2.341 MB / 396.5 MB, free: 14.98 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005893/0.3226, allocations: 1.551 MB / 398.1 MB, free: 14 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.01279/0.3354, allocations: 8.691 MB / 406.8 MB, free: 8.867 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01177/0.3472, allocations: 7.432 MB / 414.2 MB, free: 3.617 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006913/0.3541, allocations: 4.062 MB / 418.3 MB, free: 15.54 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008018/0.3622, allocations: 4.897 MB / 423.2 MB, free: 10.62 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002897/0.3651, allocations: 1.141 MB / 424.3 MB, free: 9.484 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004388/0.3695, allocations: 1.383 MB / 425.7 MB, free: 8.102 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003336/0.3729, allocations: 2.544 MB / 428.2 MB, free: 5.551 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008487/0.3814, allocations: 4.796 MB / 433 MB, free: 0.7344 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0171/0.3985, allocations: 14.8 MB / 447.8 MB, free: 1.891 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.023e-06/0.3985, allocations: 0 / 447.8 MB, free: 1.891 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.734e-06/0.3986, allocations: 0 / 447.8 MB, free: 1.891 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0003844/0.3989, allocations: 0 / 447.8 MB, free: 1.891 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1932 * Number of variables: 1932 Notification: Performance of Generate backend data structure: time 0.02661/0.4256, allocations: 9.412 MB / 457.2 MB, free: 8.379 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.21e-05/0.4256, allocations: 8.031 kB / 457.2 MB, free: 8.371 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002556/0.4282, allocations: 0.9921 MB / 458.2 MB, free: 7.367 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009822/0.438, allocations: 1.759 MB / 460 MB, free: 5.598 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01052/0.4486, allocations: 5.002 MB / 465 MB, free: 0.5234 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005731/0.4492, allocations: 0.5422 MB / 465.5 MB, free: 15.98 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002104/0.4513, allocations: 0.7107 MB / 466.3 MB, free: 15.27 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02136/0.4727, allocations: 9.785 MB / 476 MB, free: 5.406 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002181/0.4729, allocations: 4 kB / 476 MB, free: 5.402 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001445/0.4744, allocations: 296 kB / 476.3 MB, free: 5.113 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003626/0.4748, allocations: 354.6 kB / 476.7 MB, free: 4.766 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01927/0.4941, allocations: 8.318 MB / 485 MB, free: 12.44 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05567/0.5498, allocations: 30.89 MB / 0.5038 GB, free: 12.76 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01703/0.5668, allocations: 17.25 MB / 0.5206 GB, free: 9.574 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007027/0.5739, allocations: 3.643 MB / 0.5242 GB, free: 5.914 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.3045/0.8785, allocations: 9.28 MB / 0.5333 GB, free: 134.6 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.31e-05/0.8786, allocations: 62.86 kB / 0.5333 GB, free: 134.6 MB / 446.1 MB Notification: Performance of pre-optimization done (n=281): time 5.52e-06/0.8786, allocations: 2.844 kB / 0.5333 GB, free: 134.6 MB / 446.1 MB Notification: Performance of matching and sorting (n=289): time 0.02707/0.9056, allocations: 12.4 MB / 0.5454 GB, free: 129.6 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001029/0.9058, allocations: 86.03 kB / 0.5455 GB, free: 129.6 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007324/0.9131, allocations: 3.811 MB / 0.5492 GB, free: 128.1 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006208/0.9138, allocations: 77.3 kB / 0.5493 GB, free: 128.1 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00207/0.9159, allocations: 3.252 MB / 0.5525 GB, free: 125.6 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001021/0.9169, allocations: 0.9961 MB / 0.5535 GB, free: 124.8 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009689/0.9179, allocations: 0.6452 MB / 0.5541 GB, free: 124.5 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.66e-05/0.9179, allocations: 301.1 kB / 0.5544 GB, free: 124.2 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002105/0.92, allocations: 1.544 MB / 0.5559 GB, free: 123.6 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002534/0.9226, allocations: 2.683 MB / 0.5585 GB, free: 121.6 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005055/0.9277, allocations: 4.508 MB / 0.5629 GB, free: 118.5 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.758e-05/0.9277, allocations: 11.84 kB / 0.5629 GB, free: 118.5 MB / 446.1 MB Notification: Performance of matching and sorting (n=476) (initialization): time 0.008126/0.9358, allocations: 5.354 MB / 0.5681 GB, free: 116.2 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.899e-05/0.9359, allocations: 18.75 kB / 0.5682 GB, free: 116.2 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.091e-05/0.936, allocations: 38.22 kB / 0.5682 GB, free: 116.2 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001228/0.9372, allocations: 0.5783 MB / 0.5688 GB, free: 116 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002931/0.9401, allocations: 0.842 MB / 0.5696 GB, free: 115.9 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007053/0.9472, allocations: 9.483 MB / 0.5788 GB, free: 107.9 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003729/0.951, allocations: 173.9 kB / 0.579 GB, free: 107.8 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005699/0.9516, allocations: 163.7 kB / 0.5792 GB, free: 107.6 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 162 * 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 (446): * Single equations (assignments): 440 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,1,100.0%), (1,8,100.0%), (1,1,100.0%), (3,16,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004319/0.9559, allocations: 2.16 MB / 0.5813 GB, free: 105.7 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001308/0.9572, allocations: 419.8 kB / 0.5817 GB, free: 105.3 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007974/0.9652, allocations: 4.804 MB / 0.5864 GB, free: 100.8 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.89e-05/0.9653, allocations: 28 kB / 0.5864 GB, free: 100.7 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.817e-05/0.9653, allocations: 12 kB / 0.5864 GB, free: 100.7 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.264e-05/0.9654, allocations: 15.94 kB / 0.5864 GB, free: 100.7 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01666/0.982, allocations: 11.02 MB / 0.5972 GB, free: 89.54 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.544e-05/0.9821, allocations: 5.797 kB / 0.5972 GB, free: 89.54 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001814/0.9839, allocations: 439.9 kB / 0.5976 GB, free: 89.11 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002419/0.9863, allocations: 1.048 MB / 0.5986 GB, free: 88.04 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004276/0.9868, allocations: 75.97 kB / 0.5987 GB, free: 87.96 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01511/1.002, allocations: 18.99 MB / 0.6172 GB, free: 68.05 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.64e-06/1.002, allocations: 12.03 kB / 0.6173 GB, free: 68.04 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01008/1.012, allocations: 6.859 MB / 0.6239 GB, free: 60.96 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00203/1.014, allocations: 0.8238 MB / 0.6248 GB, free: 60.12 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00105/1.015, allocations: 67.98 kB / 0.6248 GB, free: 60.05 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002352/1.018, allocations: 139.9 kB / 0.625 GB, free: 59.91 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005289/1.018, allocations: 217.8 kB / 0.6252 GB, free: 59.7 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001963/1.018, allocations: 85.84 kB / 0.6252 GB, free: 59.62 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.004059/1.022, allocations: 2.584 MB / 0.6278 GB, free: 57.02 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.4e-07/1.022, allocations: 0 / 0.6278 GB, free: 57.02 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.004429/1.027, allocations: 1.245 MB / 0.629 GB, free: 55.78 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 18 * Number of states: 14 (vfController3.x,smpmM.inertiaRotor.w,smpmM.stator.core.Phi.re,smpmM.stator.core.Phi.im,smpmM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.re,smpmM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.im,smpm3.inertiaRotor.w,smpm3.stator.core.Phi.re,smpm3.stator.core.Phi.im,smpm3.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.re,smpm3.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.im,loadInertiaM.phi,loadInertia3.phi,vfController.x) * 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 (217): * Single equations (assignments): 210 * 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,8,100.0%), (4,33,93.8%), (1,1,100.0%), (1,1,100.0%), (1,8,100.0%), (2,13,100.0%), (2,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.009716/1.037, allocations: 7.545 MB / 0.6363 GB, free: 48.02 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0134/1.05, allocations: 6.324 MB / 0.6425 GB, free: 41.62 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.146e-05/1.05, allocations: 4 kB / 0.6425 GB, free: 41.61 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004644/1.055, allocations: 3.062 MB / 0.6455 GB, free: 38.46 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007738/1.063, allocations: 1.203 MB / 0.6467 GB, free: 37.29 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06757/1.13, allocations: 54.34 MB / 0.6998 GB, free: 9.52 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004487/1.135, allocations: 4.401 MB / 0.7041 GB, free: 5.082 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.003696/1.138, allocations: 0.8991 MB / 0.7049 GB, free: 4.18 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003593/1.142, allocations: 2.776 MB / 0.7076 GB, free: 1.402 MB / 478.1 MB Notification: Performance of SimCode: time 7.41e-07/1.142, allocations: 0 / 0.7076 GB, free: 1.402 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3889/1.531, allocations: 112.3 MB / 0.8173 GB, free: 73.16 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.69/14.22, allocations: 14.48 kB / 0.8173 GB, free: 73.14 MB / 478.1 MB (rm -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMPM_Inverter_Polyphase.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMPM_Inverter_Polyphase.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMPM_Inverter_Polyphase.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMPM_Inverter_Polyphase.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMPM_Inverter_Polyphase_res.mat --tempDir=temp_Modelica_trunk_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_SynchronousMachines_ComparisonPolyphase_SMPM_Inverter_Polyphase_fmu --startTime=0 --stopTime=1.5 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_SynchronousMachines_ComparisonPolyphase_SMPM_Inverter_Polyphase.fmu > Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMPM_Inverter_Polyphase.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMPM_Inverter_Polyphase_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FundamentalWave/Examples/BasicMachines/SynchronousMachines/ComparisonPolyphase/SMPM_Inverter_Polyphase/SMPM_Inverter_Polyphase.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMPM_Inverter_Polyphase.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches