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.001319/0.001319, allocations: 114.4 kB / 17.73 MB, free: 5.355 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.001303/0.001303, allocations: 183.1 kB / 18.66 MB, free: 4.434 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.41/1.41, 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.001633/0.001633, allocations: 55.92 kB / 328.1 MB, free: 3.785 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09123/0.09287, 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.2016/0.2945, allocations: 25.34 MB / 400 MB, free: 13.18 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01751/0.3121, allocations: 7.066 MB / 407.1 MB, free: 7.977 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006815/0.3189, allocations: 150.3 kB / 407.2 MB, free: 7.938 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006784/0.3258, allocations: 1.712 MB / 408.9 MB, free: 7.004 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01076/0.3366, allocations: 2.268 MB / 411.2 MB, free: 5.469 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006176/0.3428, allocations: 1.516 MB / 412.7 MB, free: 4.379 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.01634/0.3592, allocations: 8.532 MB / 421.3 MB, free: 15.12 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01349/0.3727, allocations: 7.281 MB / 428.5 MB, free: 9.926 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008195/0.3809, allocations: 3.972 MB / 432.5 MB, free: 5.941 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008956/0.3899, allocations: 4.612 MB / 437.1 MB, free: 1.312 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003426/0.3934, allocations: 1.133 MB / 438.3 MB, free: 184 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005069/0.3985, allocations: 1.347 MB / 439.6 MB, free: 14.83 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004194/0.4027, allocations: 2.521 MB / 442.1 MB, free: 12.3 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.009276/0.412, allocations: 4.722 MB / 446.8 MB, free: 7.562 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02127/0.4333, allocations: 14.76 MB / 461.6 MB, free: 8.758 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.763e-06/0.4333, allocations: 0 / 461.6 MB, free: 8.758 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.744e-06/0.4334, allocations: 4 kB / 461.6 MB, free: 8.754 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0004214/0.4338, allocations: 0 / 461.6 MB, free: 8.754 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.02906/0.4629, allocations: 9.421 MB / 471 MB, free: 15.23 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.33e-05/0.463, allocations: 12.03 kB / 471 MB, free: 15.21 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003155/0.4661, allocations: 0.9921 MB / 472 MB, free: 14.21 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01035/0.4765, allocations: 1.772 MB / 473.8 MB, free: 12.43 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01007/0.4866, allocations: 4.772 MB / 478.6 MB, free: 7.59 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006806/0.4873, allocations: 0.5343 MB / 479.1 MB, free: 7.055 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002719/0.49, allocations: 0.7147 MB / 479.8 MB, free: 6.34 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02577/0.5158, allocations: 9.773 MB / 489.6 MB, free: 12.49 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003149/0.5161, allocations: 11.95 kB / 489.6 MB, free: 12.48 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002005/0.5182, allocations: 300 kB / 489.9 MB, free: 12.18 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004198/0.5186, allocations: 354.6 kB / 490.2 MB, free: 11.84 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01867/0.5373, allocations: 8.279 MB / 498.5 MB, free: 3.547 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05453/0.5918, allocations: 30.17 MB / 0.5163 GB, free: 4.672 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01818/0.61, allocations: 16.09 MB / 0.532 GB, free: 2.82 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005457/0.6155, allocations: 3.023 MB / 0.535 GB, free: 15.78 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01438/0.6299, allocations: 8.055 MB / 0.5428 GB, free: 7.57 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.909e-05/0.63, allocations: 64.78 kB / 0.5429 GB, free: 7.496 MB / 478.1 MB Notification: Performance of pre-optimization done (n=281): time 4.759e-06/0.63, allocations: 0 / 0.5429 GB, free: 7.496 MB / 478.1 MB Notification: Performance of matching and sorting (n=289): time 0.3376/0.9676, allocations: 11.67 MB / 0.5543 GB, free: 144.2 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.954e-05/0.9677, allocations: 86.14 kB / 0.5544 GB, free: 144.2 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005406/0.9731, allocations: 3.644 MB / 0.5579 GB, free: 142.8 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003389/0.9734, allocations: 72.67 kB / 0.558 GB, free: 142.8 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001871/0.9753, allocations: 3.276 MB / 0.5612 GB, free: 140.7 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007816/0.9761, allocations: 1.041 MB / 0.5622 GB, free: 140 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009149/0.977, allocations: 0.648 MB / 0.5629 GB, free: 139.7 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 4.497e-05/0.9771, allocations: 301.1 kB / 0.5631 GB, free: 139.4 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002417/0.9795, allocations: 1.481 MB / 0.5646 GB, free: 138.9 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00281/0.9823, allocations: 2.628 MB / 0.5672 GB, free: 136.9 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005393/0.9877, allocations: 4.388 MB / 0.5714 GB, free: 133.9 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.797e-05/0.9878, allocations: 10.69 kB / 0.5714 GB, free: 133.9 MB / 478.1 MB Notification: Performance of matching and sorting (n=476) (initialization): time 0.008318/0.9961, allocations: 5.042 MB / 0.5764 GB, free: 131.7 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.117e-05/0.9962, allocations: 25.19 kB / 0.5764 GB, free: 131.7 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.409e-05/0.9962, allocations: 36.92 kB / 0.5764 GB, free: 131.7 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009327/0.9972, allocations: 400.9 kB / 0.5768 GB, free: 131.6 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003023/1, allocations: 0.8652 MB / 0.5777 GB, free: 131.5 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005377/1.006, allocations: 7.971 MB / 0.5854 GB, free: 124.5 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003716/1.009, allocations: 170.1 kB / 0.5856 GB, free: 124.5 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004538/1.01, allocations: 171.9 kB / 0.5858 GB, free: 124.4 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.003712/1.014, allocations: 2.143 MB / 0.5879 GB, free: 123.3 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000735/1.014, allocations: 417.9 kB / 0.5883 GB, free: 123.1 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006356/1.021, allocations: 4.464 MB / 0.5926 GB, free: 121 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.771e-05/1.021, allocations: 30.16 kB / 0.5926 GB, free: 121 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.657e-05/1.021, allocations: 11.22 kB / 0.5927 GB, free: 121 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.375e-05/1.021, allocations: 18.42 kB / 0.5927 GB, free: 121 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01395/1.035, allocations: 10.47 MB / 0.6029 GB, free: 115.6 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.131e-05/1.035, allocations: 4 kB / 0.6029 GB, free: 115.5 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001726/1.036, allocations: 441.9 kB / 0.6033 GB, free: 115.1 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001821/1.038, allocations: 0.8748 MB / 0.6042 GB, free: 114.2 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000163/1.039, allocations: 83.97 kB / 0.6043 GB, free: 114.1 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01241/1.051, allocations: 17.64 MB / 0.6215 GB, free: 95.57 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.278e-06/1.051, allocations: 13.52 kB / 0.6215 GB, free: 95.56 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008258/1.059, allocations: 6.447 MB / 0.6278 GB, free: 88.9 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001462/1.061, allocations: 0.8146 MB / 0.6286 GB, free: 88.07 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005104/1.061, allocations: 67.98 kB / 0.6286 GB, free: 88 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001733/1.063, allocations: 139.9 kB / 0.6288 GB, free: 87.86 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004448/1.063, allocations: 221.7 kB / 0.629 GB, free: 87.64 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001503/1.064, allocations: 88.22 kB / 0.6291 GB, free: 87.56 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.002828/1.066, allocations: 2.469 MB / 0.6315 GB, free: 85.11 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.2e-07/1.066, allocations: 0 / 0.6315 GB, free: 85.11 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.003893/1.07, allocations: 1.211 MB / 0.6327 GB, free: 83.9 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.008175/1.078, allocations: 7.127 MB / 0.6396 GB, free: 76.56 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.005655/1.084, allocations: 4.376 MB / 0.6439 GB, free: 72.07 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 4.889e-06/1.084, allocations: 448 / 0.6439 GB, free: 72.07 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003516/1.088, allocations: 3.003 MB / 0.6468 GB, free: 68.97 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00444/1.092, allocations: 1.115 MB / 0.6479 GB, free: 67.87 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05377/1.146, allocations: 41.8 MB / 0.6887 GB, free: 24.64 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003311/1.149, allocations: 4.347 MB / 0.693 GB, free: 20.25 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.002825/1.152, allocations: 0.8942 MB / 0.6939 GB, free: 19.35 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002651/1.155, allocations: 2.729 MB / 0.6965 GB, free: 16.62 MB / 478.1 MB Notification: Performance of SimCode: time 1.042e-06/1.155, allocations: 0 / 0.6965 GB, free: 16.62 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3709/1.526, allocations: 106.4 MB / 0.8005 GB, free: 135 MB / 0.4982 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.66/20.19, allocations: 4.312 kB / 0.8005 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