Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_Inverter_MultiPhase.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_Inverter_MultiPhase,fileNamePrefix="Modelica_3_2_3_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_SMPM_Inverter_MultiPhase",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_Inverter_MultiPhase,fileNamePrefix="Modelica_3_2_3_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_SMPM_Inverter_MultiPhase",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00161/0.00161, allocations: 101.5 kB / 17.72 MB, free: 5.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001861/0.001861, allocations: 192 kB / 18.66 MB, free: 4.445 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.281/1.281, allocations: 205.1 MB / 224.5 MB, free: 12.25 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001228/0.001228, allocations: 63.89 kB / 328.1 MB, free: 3.785 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07591/0.07715, allocations: 46.62 MB / 374.7 MB, free: 5.055 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_Inverter_MultiPhase): time 0.196/0.2731, allocations: 25.34 MB / 400 MB, free: 13.18 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01611/0.2893, allocations: 7.066 MB / 407.1 MB, free: 7.984 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00567/0.295, allocations: 147.2 kB / 407.2 MB, free: 7.949 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006157/0.3012, allocations: 1.716 MB / 408.9 MB, free: 7.012 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009861/0.3111, allocations: 2.273 MB / 411.2 MB, free: 5.473 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005562/0.3167, allocations: 1.518 MB / 412.7 MB, free: 4.387 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.01314/0.3299, allocations: 8.524 MB / 421.2 MB, free: 15.14 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01179/0.3417, allocations: 7.279 MB / 428.5 MB, free: 9.945 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007372/0.3491, allocations: 4.007 MB / 432.5 MB, free: 5.926 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008086/0.3572, allocations: 4.616 MB / 437.2 MB, free: 1.293 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00296/0.3602, allocations: 1.133 MB / 438.3 MB, free: 164 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004471/0.3647, allocations: 1.343 MB / 439.6 MB, free: 14.82 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003828/0.3686, allocations: 2.521 MB / 442.1 MB, free: 12.29 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008123/0.3767, allocations: 4.723 MB / 446.9 MB, free: 7.547 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01883/0.3956, allocations: 14.71 MB / 461.6 MB, free: 8.789 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.282e-06/0.3956, allocations: 0 / 461.6 MB, free: 8.789 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.814e-06/0.3956, allocations: 0 / 461.6 MB, free: 8.789 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0004923/0.3961, allocations: 0 / 461.6 MB, free: 8.789 MB / 382.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.0263/0.4224, allocations: 9.224 MB / 470.8 MB, free: 15.47 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.261e-05/0.4225, allocations: 8.031 kB / 470.8 MB, free: 15.46 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003012/0.4255, allocations: 0.9921 MB / 471.8 MB, free: 14.46 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01005/0.4356, allocations: 1.732 MB / 473.5 MB, free: 12.71 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009488/0.4451, allocations: 4.754 MB / 478.3 MB, free: 7.887 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005412/0.4457, allocations: 0.5382 MB / 478.8 MB, free: 7.348 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00205/0.4478, allocations: 0.7069 MB / 479.5 MB, free: 6.641 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02128/0.4691, allocations: 9.777 MB / 489.3 MB, free: 12.79 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001899/0.4693, allocations: 15.83 kB / 489.3 MB, free: 12.77 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001026/0.4703, allocations: 296 kB / 489.6 MB, free: 12.48 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003078/0.4707, allocations: 354.6 kB / 490 MB, free: 12.13 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01642/0.4871, allocations: 8.283 MB / 498.3 MB, free: 3.84 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04828/0.5354, allocations: 30.08 MB / 0.516 GB, free: 5.043 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01411/0.5496, allocations: 16.08 MB / 0.5317 GB, free: 3.195 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005151/0.5548, allocations: 3.019 MB / 0.5346 GB, free: 164 kB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01368/0.5685, allocations: 8.042 MB / 0.5425 GB, free: 7.961 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.751e-05/0.5686, allocations: 64.78 kB / 0.5425 GB, free: 7.887 MB / 478.1 MB Notification: Performance of pre-optimization done (n=281): time 4.288e-06/0.5686, allocations: 0 / 0.5425 GB, free: 7.887 MB / 478.1 MB Notification: Performance of matching and sorting (n=289): time 0.3158/0.8843, allocations: 11.58 MB / 0.5538 GB, free: 144.3 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.899e-05/0.8844, allocations: 85.91 kB / 0.5539 GB, free: 144.2 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006354/0.8908, allocations: 3.641 MB / 0.5575 GB, free: 142.9 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000434/0.8912, allocations: 77.2 kB / 0.5575 GB, free: 142.8 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001994/0.8933, allocations: 3.184 MB / 0.5606 GB, free: 140.4 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009219/0.8942, allocations: 0.9915 MB / 0.5616 GB, free: 139.7 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009716/0.8952, allocations: 0.6477 MB / 0.5622 GB, free: 139.3 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 3.753e-05/0.8952, allocations: 303.8 kB / 0.5625 GB, free: 139 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002399/0.8976, allocations: 1.479 MB / 0.564 GB, free: 138.5 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00277/0.9004, allocations: 2.624 MB / 0.5665 GB, free: 136.5 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005363/0.9058, allocations: 4.389 MB / 0.5708 GB, free: 133.6 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.086e-05/0.9059, allocations: 11.47 kB / 0.5708 GB, free: 133.6 MB / 478.1 MB Notification: Performance of matching and sorting (n=476) (initialization): time 0.008542/0.9144, allocations: 5.019 MB / 0.5757 GB, free: 131.3 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.176e-05/0.9145, allocations: 21.25 kB / 0.5758 GB, free: 131.3 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.033e-05/0.9145, allocations: 36.86 kB / 0.5758 GB, free: 131.3 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009299/0.9155, allocations: 403.7 kB / 0.5762 GB, free: 131.2 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003212/0.9187, allocations: 0.8649 MB / 0.577 GB, free: 131.1 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005205/0.9239, allocations: 7.974 MB / 0.5848 GB, free: 124.2 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003207/0.9272, allocations: 172.3 kB / 0.585 GB, free: 124.1 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004332/0.9276, allocations: 160.5 kB / 0.5851 GB, free: 124.1 MB / 478.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 (451): * Single equations (assignments): 445 * 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,5,100.0%), (1,1,100.0%), (3,14,88.9%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003354/0.931, allocations: 2.138 MB / 0.5872 GB, free: 122.9 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007674/0.9318, allocations: 397.3 kB / 0.5876 GB, free: 122.7 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006322/0.9381, allocations: 4.47 MB / 0.592 GB, free: 120.7 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.56e-05/0.9381, allocations: 26.94 kB / 0.592 GB, free: 120.7 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.471e-05/0.9381, allocations: 11.28 kB / 0.592 GB, free: 120.7 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.202e-05/0.9382, allocations: 15.19 kB / 0.592 GB, free: 120.7 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01475/0.9529, allocations: 10.47 MB / 0.6022 GB, free: 115.5 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.076e-05/0.953, allocations: 4 kB / 0.6022 GB, free: 115.5 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001723/0.9547, allocations: 445.8 kB / 0.6027 GB, free: 115.2 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001912/0.9566, allocations: 0.8739 MB / 0.6035 GB, free: 114.3 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002257/0.9569, allocations: 79.97 kB / 0.6036 GB, free: 114.2 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01242/0.9693, allocations: 17.63 MB / 0.6208 GB, free: 95.64 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.829e-06/0.9693, allocations: 7.938 kB / 0.6208 GB, free: 95.64 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008536/0.9779, allocations: 6.435 MB / 0.6271 GB, free: 88.99 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001915/0.9798, allocations: 0.7929 MB / 0.6279 GB, free: 88.17 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008927/0.9807, allocations: 71.98 kB / 0.6279 GB, free: 88.1 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001897/0.9827, allocations: 135.9 kB / 0.6281 GB, free: 87.97 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004223/0.9831, allocations: 217.8 kB / 0.6283 GB, free: 87.75 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001519/0.9833, allocations: 87.97 kB / 0.6284 GB, free: 87.67 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.003096/0.9864, allocations: 2.469 MB / 0.6308 GB, free: 85.22 MB / 478.1 MB Notification: Performance of sort global known variables: time 4.2e-07/0.9864, allocations: 0 / 0.6308 GB, free: 85.22 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.004201/0.9906, allocations: 1.214 MB / 0.632 GB, free: 84.01 MB / 478.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 (220): * Single equations (assignments): 213 * 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,5,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.008766/0.9994, allocations: 7.105 MB / 0.6389 GB, free: 76.69 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.005824/1.005, allocations: 4.373 MB / 0.6432 GB, free: 72.21 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 6.562e-06/1.005, allocations: 384 / 0.6432 GB, free: 72.21 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003731/1.009, allocations: 2.986 MB / 0.6461 GB, free: 69.13 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004716/1.014, allocations: 1.116 MB / 0.6472 GB, free: 68.03 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05683/1.071, allocations: 41.55 MB / 0.6878 GB, free: 25.06 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003893/1.075, allocations: 4.343 MB / 0.692 GB, free: 20.67 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.002705/1.077, allocations: 0.8942 MB / 0.6929 GB, free: 19.77 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002958/1.08, allocations: 2.733 MB / 0.6955 GB, free: 17.04 MB / 478.1 MB Notification: Performance of SimCode: time 9.42e-07/1.08, allocations: 0 / 0.6955 GB, free: 17.04 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.372/1.452, allocations: 107 MB / 0.8 GB, free: 135.1 MB / 0.4982 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.76/18.21, allocations: 17.19 kB / 0.8 GB, free: 135 MB / 0.4982 GB (rm -f Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_Inverter_MultiPhase.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_Inverter_MultiPhase.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_Inverter_MultiPhase.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_Inverter_MultiPhase.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_Inverter_MultiPhase_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_SMPM_Inverter_MultiPhase_fmu --startTime=0 --stopTime=1.5 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_SMPM_Inverter_MultiPhase.fmu > Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_Inverter_MultiPhase.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_Inverter_MultiPhase_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/FundamentalWave/Examples/BasicMachines/SMPM_Inverter_MultiPhase/SMPM_Inverter_MultiPhase.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_Inverter_MultiPhase.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches