Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMPM_Inverter_Polyphase.conf.json 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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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) Running command: translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMPM_Inverter_Polyphase,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|loadInertia3.phi|loadInertia3.w|loadInertiaM.phi|loadInertiaM.w|smpm3.is.1.|smpm3.is.2.|smpm3.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|smpm3.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|smpm3.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|smpm3.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|smpmM.is.1.|smpmM.is.2.|smpmM.is.3.|smpmM.is.4.|smpmM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|smpmM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|smpmM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|smpmM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|vfController.x|vfController3.x",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMPM_Inverter_Polyphase") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMPM_Inverter_Polyphase,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|loadInertia3.phi|loadInertia3.w|loadInertiaM.phi|loadInertiaM.w|smpm3.is.1.|smpm3.is.2.|smpm3.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|smpm3.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|smpm3.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|smpm3.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|smpmM.is.1.|smpmM.is.2.|smpmM.is.3.|smpmM.is.4.|smpmM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|smpmM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|smpmM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|smpmM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|vfController.x|vfController3.x",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMPM_Inverter_Polyphase") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001368/0.001368, allocations: 176.4 kB / 17.4 MB, free: 4.422 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.369/1.369, allocations: 223.3 MB / 241.4 MB, free: 9.992 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007618/0.0007619, allocations: 97.78 kB / 292.6 MB, free: 10.57 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002959/0.000296, allocations: 23.94 kB / 352.4 MB, free: 14.78 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2565/0.2569, allocations: 50.39 MB / 402.8 MB, free: 32.43 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3184/0.5753, allocations: 119.8 MB / 0.5103 GB, free: 102.2 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000241/0.5756, allocations: 110.3 kB / 0.5104 GB, free: 102.2 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.552/1.128, allocations: 169.4 MB / 0.6759 GB, free: 32.49 MB / 426.7 MB Notification: Performance of FrontEnd: time 3.136e-06/1.128, allocations: 0 / 0.6759 GB, free: 32.49 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0006557/1.128, allocations: 178.8 kB / 0.676 GB, free: 32.48 MB / 426.7 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.02127/1.15, allocations: 7.249 MB / 0.6831 GB, free: 30.12 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.129e-05/1.15, allocations: 7.844 kB / 0.6831 GB, free: 30.12 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009359/1.159, allocations: 1.611 MB / 0.6847 GB, free: 29.7 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01355/1.173, allocations: 5.411 MB / 0.69 GB, free: 28.73 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005939/1.173, allocations: 0.5334 MB / 0.6905 GB, free: 28.72 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004586/1.178, allocations: 0.7116 MB / 0.6912 GB, free: 28.71 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02748/1.205, allocations: 9.588 MB / 0.7006 GB, free: 27.91 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005009/1.206, allocations: 22.03 kB / 0.7006 GB, free: 27.9 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00261/1.209, allocations: 306.1 kB / 0.7009 GB, free: 27.9 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003431/1.209, allocations: 338.1 kB / 0.7012 GB, free: 27.88 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01857/1.227, allocations: 7.798 MB / 0.7088 GB, free: 27.82 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05758/1.285, allocations: 30.68 MB / 0.7388 GB, free: 18.56 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01339/1.299, allocations: 16.19 MB / 0.7546 GB, free: 4.348 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005364/1.304, allocations: 3.173 MB / 0.7577 GB, free: 3.148 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01653/1.32, allocations: 8.37 MB / 0.7659 GB, free: 14.94 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.116e-05/1.321, allocations: 66.72 kB / 0.7659 GB, free: 14.88 MB / 442.7 MB Notification: Performance of pre-optimization done (n=290): time 6.192e-06/1.321, allocations: 0 / 0.7659 GB, free: 14.88 MB / 442.7 MB Notification: Performance of matching and sorting (n=298): time 0.02576/1.346, allocations: 11.94 MB / 0.7776 GB, free: 8.945 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.663e-05/1.346, allocations: 80.94 kB / 0.7777 GB, free: 8.879 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008268/1.355, allocations: 3.633 MB / 0.7812 GB, free: 7.527 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000608/1.355, allocations: 77.02 kB / 0.7813 GB, free: 7.457 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00307/1.358, allocations: 3.182 MB / 0.7844 GB, free: 5.043 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001459/1.36, allocations: 1.019 MB / 0.7854 GB, free: 4.254 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002699/1.36, allocations: 77.91 kB / 0.7855 GB, free: 4.195 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0003169/1.361, allocations: 453.9 kB / 0.7859 GB, free: 3.824 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004008/1.365, allocations: 1.503 MB / 0.7874 GB, free: 3.242 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004861/1.369, allocations: 2.643 MB / 0.7899 GB, free: 1.25 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009586/1.379, allocations: 4.434 MB / 0.7943 GB, free: 13.42 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.947e-05/1.379, allocations: 8 kB / 0.7943 GB, free: 13.41 MB / 458.7 MB Notification: Performance of matching and sorting (n=481) (initialization): time 0.01064/1.39, allocations: 5.078 MB / 0.7992 GB, free: 8.977 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.315e-05/1.39, allocations: 24.03 kB / 0.7993 GB, free: 8.953 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.874e-05/1.39, allocations: 39.94 kB / 0.7993 GB, free: 8.914 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001061/1.391, allocations: 404.8 kB / 0.7997 GB, free: 8.566 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003672/1.395, allocations: 0.8755 MB / 0.8005 GB, free: 7.871 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006097/1.401, allocations: 7.352 MB / 0.8077 GB, free: 484 kB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00341/1.404, allocations: 188.9 kB / 0.8079 GB, free: 320 kB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003189/1.405, allocations: 170.9 kB / 0.8081 GB, free: 156 kB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 158 * 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 (456): * Single equations (assignments): 450 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 1,(1,100.0%) 5,(1,100.0%) 1,(3,77.8%) 14} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.01136/1.416, allocations: 2.666 MB / 0.8107 GB, free: 15.78 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001105/1.417, allocations: 407 kB / 0.8111 GB, free: 15.38 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008294/1.425, allocations: 4.576 MB / 0.8155 GB, free: 11.4 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.188e-05/1.425, allocations: 31 kB / 0.8156 GB, free: 11.38 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.273e-05/1.425, allocations: 12 kB / 0.8156 GB, free: 11.36 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.759e-05/1.425, allocations: 19.36 kB / 0.8156 GB, free: 11.36 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01965/1.445, allocations: 10.66 MB / 0.826 GB, free: 2.574 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.611e-05/1.445, allocations: 4 kB / 0.826 GB, free: 2.57 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002034/1.447, allocations: 470.4 kB / 0.8264 GB, free: 2.184 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002381/1.45, allocations: 0.8866 MB / 0.8273 GB, free: 1.441 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002615/1.45, allocations: 75.08 kB / 0.8274 GB, free: 1.375 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2431/1.693, allocations: 16.35 MB / 0.8434 GB, free: 64.45 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.48e-06/1.693, allocations: 6.25 kB / 0.8434 GB, free: 64.45 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009857/1.703, allocations: 6.59 MB / 0.8498 GB, free: 63.7 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001933/1.705, allocations: 0.8264 MB / 0.8506 GB, free: 63.6 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005276/1.705, allocations: 70.5 kB / 0.8507 GB, free: 63.6 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001709/1.707, allocations: 158.6 kB / 0.8508 GB, free: 63.6 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004628/1.708, allocations: 223.3 kB / 0.851 GB, free: 63.59 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000161/1.708, allocations: 92.67 kB / 0.8511 GB, free: 63.59 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.003565/1.711, allocations: 2.451 MB / 0.8535 GB, free: 63.45 MB / 474.7 MB Notification: Performance of sort global known variables: time 2.31e-07/1.711, allocations: 0 / 0.8535 GB, free: 63.45 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.004484/1.716, allocations: 1.283 MB / 0.8548 GB, free: 63.45 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * 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 (226): * Single equations (assignments): 219 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 7 {(1,100.0%) 5,(4,93.8%) 33,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 8,(2,100.0%) 14,(2,100.0%) 14} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009109/1.717, allocations: 0.5847 MB / 0.8553 GB, free: 63.33 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.006618/1.723, allocations: 4.429 MB / 0.8597 GB, free: 62.6 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 8.967e-06/1.723, allocations: 8.688 kB / 0.8597 GB, free: 62.6 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004042/1.727, allocations: 3.046 MB / 0.8626 GB, free: 61.75 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006691/1.734, allocations: 1.057 MB / 0.8637 GB, free: 61.73 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02235/1.757, allocations: 15.16 MB / 0.8785 GB, free: 55.29 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004027/1.761, allocations: 4.345 MB / 0.8827 GB, free: 54.36 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.003532/1.764, allocations: 0.911 MB / 0.8836 GB, free: 54.24 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006715/1.765, allocations: 280.3 kB / 0.8839 GB, free: 54.24 MB / 474.7 MB Notification: Performance of SimCode: time 1.032e-06/1.765, allocations: 0 / 0.8839 GB, free: 54.24 MB / 474.7 MB Notification: Performance of Templates: time 0.08694/1.852, allocations: 61.42 MB / 0.9439 GB, free: 44.22 MB / 474.7 MB make -j1 -f Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMPM_Inverter_Polyphase.makefile (rm -f Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMPM_Inverter_Polyphase.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMPM_Inverter_Polyphase.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMPM_Inverter_Polyphase.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMPM_Inverter_Polyphase.sim & ./Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMPM_Inverter_Polyphase -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMPM_Inverter_Polyphase.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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","../files/Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMPM_Inverter_Polyphase.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches