Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMR_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.SMR_Inverter_Polyphase,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_SynchronousMachines_ComparisonPolyphase_SMR_Inverter_Polyphase",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMR_Inverter_Polyphase,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_SynchronousMachines_ComparisonPolyphase_SMR_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.001419/0.001419, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001756/0.001756, allocations: 206.4 kB / 18.58 MB, free: 4.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.367/1.367, allocations: 227.4 MB / 246.8 MB, free: 10.64 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001285/0.001285, allocations: 60.12 kB / 307.1 MB, free: 0.5352 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09982/0.1011, allocations: 50.54 MB / 357.6 MB, free: 13.99 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMR_Inverter_Polyphase): time 0.2105/0.3117, allocations: 25 MB / 382.6 MB, free: 8.086 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01275/0.3245, allocations: 6.898 MB / 389.5 MB, free: 3.73 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005024/0.3296, allocations: 172 kB / 389.7 MB, free: 3.688 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004637/0.3343, allocations: 1.608 MB / 391.3 MB, free: 2.797 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006971/0.3413, allocations: 2.12 MB / 393.4 MB, free: 1.367 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003706/0.345, allocations: 1.482 MB / 394.9 MB, free: 444 kB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.01021/0.3552, allocations: 8.092 MB / 403 MB, free: 11.98 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008528/0.3638, allocations: 7.316 MB / 410.3 MB, free: 7.684 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005923/0.3697, allocations: 3.828 MB / 414.1 MB, free: 3.844 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007297/0.3771, allocations: 4.663 MB / 418.8 MB, free: 15.16 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003267/0.3804, allocations: 1.098 MB / 419.9 MB, free: 14.06 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005284/0.3857, allocations: 1.336 MB / 421.2 MB, free: 12.73 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004147/0.3898, allocations: 2.439 MB / 423.7 MB, free: 10.28 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01108/0.401, allocations: 4.544 MB / 428.2 MB, free: 5.719 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02267/0.4237, allocations: 14.16 MB / 442.4 MB, free: 7.52 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.192e-05/0.4237, allocations: 0 / 442.4 MB, free: 7.52 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.256e-06/0.4238, allocations: 0 / 442.4 MB, free: 7.52 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0006629/0.4244, allocations: 0 / 442.4 MB, free: 7.52 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: 1854 * Number of variables: 1854 Notification: Performance of Generate backend data structure: time 0.0357/0.4602, allocations: 8.892 MB / 451.3 MB, free: 14.53 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.159e-05/0.4602, allocations: 12.03 kB / 451.3 MB, free: 14.52 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004277/0.4645, allocations: 0.955 MB / 452.2 MB, free: 13.55 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0107/0.4752, allocations: 1.674 MB / 453.9 MB, free: 11.86 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01242/0.4877, allocations: 4.728 MB / 458.6 MB, free: 7.062 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000704/0.4884, allocations: 0.5221 MB / 459.2 MB, free: 6.539 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002943/0.4914, allocations: 0.6833 MB / 459.8 MB, free: 5.855 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0307/0.5221, allocations: 9.447 MB / 469.3 MB, free: 12.34 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000204/0.5224, allocations: 15.89 kB / 469.3 MB, free: 12.33 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001297/0.5237, allocations: 284 kB / 469.6 MB, free: 12.05 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003473/0.524, allocations: 326.2 kB / 469.9 MB, free: 11.73 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01921/0.5432, allocations: 8.078 MB / 478 MB, free: 3.641 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05973/0.603, allocations: 28.97 MB / 0.4951 GB, free: 5.996 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01902/0.6221, allocations: 17.76 MB / 0.5124 GB, free: 2.172 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007796/0.6299, allocations: 3.51 MB / 0.5158 GB, free: 14.64 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01857/0.6485, allocations: 8.922 MB / 0.5245 GB, free: 5.457 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.066e-05/0.6486, allocations: 60.61 kB / 0.5246 GB, free: 5.387 MB / 446.1 MB Notification: Performance of pre-optimization done (n=259): time 5.169e-06/0.6487, allocations: 4 kB / 0.5246 GB, free: 5.383 MB / 446.1 MB Notification: Performance of matching and sorting (n=265): time 0.2666/0.9153, allocations: 11.7 MB / 0.536 GB, free: 136.2 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.066e-05/0.9154, allocations: 83.09 kB / 0.5361 GB, free: 136.2 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007244/0.9227, allocations: 3.405 MB / 0.5394 GB, free: 134.9 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006698/0.9234, allocations: 71.86 kB / 0.5395 GB, free: 134.8 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002637/0.926, allocations: 3.058 MB / 0.5425 GB, free: 132.5 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00135/0.9274, allocations: 0.9141 MB / 0.5434 GB, free: 131.8 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001209/0.9286, allocations: 0.5964 MB / 0.544 GB, free: 131.5 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 7.169e-05/0.9287, allocations: 307.3 kB / 0.5443 GB, free: 131.2 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002951/0.9316, allocations: 1.452 MB / 0.5457 GB, free: 130.7 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003579/0.9352, allocations: 2.485 MB / 0.5481 GB, free: 128.8 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006392/0.9417, allocations: 4.197 MB / 0.5522 GB, free: 126.1 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.858e-05/0.9417, allocations: 9.688 kB / 0.5522 GB, free: 126.1 MB / 446.1 MB Notification: Performance of matching and sorting (n=436) (initialization): time 0.00935/0.9511, allocations: 5.02 MB / 0.5571 GB, free: 123.9 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.977e-05/0.9512, allocations: 19.72 kB / 0.5571 GB, free: 123.9 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.485e-05/0.9512, allocations: 31.69 kB / 0.5572 GB, free: 123.9 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001497/0.9528, allocations: 0.5643 MB / 0.5577 GB, free: 123.7 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003249/0.956, allocations: 0.7827 MB / 0.5585 GB, free: 123.6 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007869/0.9639, allocations: 9.482 MB / 0.5677 GB, free: 116 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003805/0.9678, allocations: 158.5 kB / 0.5679 GB, free: 115.9 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003108/0.9681, allocations: 148.6 kB / 0.568 GB, free: 115.9 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 146 * 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 (406): * Single equations (assignments): 400 * 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.004103/0.9722, allocations: 2.093 MB / 0.5701 GB, free: 114.8 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008414/0.973, allocations: 370.7 kB / 0.5704 GB, free: 114.6 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006894/0.9799, allocations: 4.555 MB / 0.5749 GB, free: 112.5 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.719e-05/0.98, allocations: 25.91 kB / 0.5749 GB, free: 112.5 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.732e-05/0.98, allocations: 14.81 kB / 0.5749 GB, free: 112.5 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.542e-05/0.98, allocations: 12.88 kB / 0.5749 GB, free: 112.5 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01518/0.9952, allocations: 10.36 MB / 0.585 GB, free: 103.2 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.123e-05/0.9953, allocations: 4 kB / 0.5851 GB, free: 103.2 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001637/0.9969, allocations: 409 kB / 0.5854 GB, free: 102.8 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002293/0.9992, allocations: 1.029 MB / 0.5864 GB, free: 101.7 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000163/0.9994, allocations: 71.97 kB / 0.5865 GB, free: 101.7 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01493/1.014, allocations: 18.82 MB / 0.6049 GB, free: 81.91 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.648e-06/1.014, allocations: 8.031 kB / 0.6049 GB, free: 81.91 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009041/1.023, allocations: 6.436 MB / 0.6112 GB, free: 75.27 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002116/1.026, allocations: 0.7736 MB / 0.6119 GB, free: 74.48 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005817/1.026, allocations: 59.98 kB / 0.612 GB, free: 74.42 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001699/1.028, allocations: 131.9 kB / 0.6121 GB, free: 74.29 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00051/1.028, allocations: 205.7 kB / 0.6123 GB, free: 74.09 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001397/1.029, allocations: 75.97 kB / 0.6124 GB, free: 74.01 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002995/1.032, allocations: 2.315 MB / 0.6147 GB, free: 71.71 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.4e-07/1.032, allocations: 0 / 0.6147 GB, free: 71.71 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.004445/1.036, allocations: 1.167 MB / 0.6158 GB, free: 70.55 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 14 (smrM.inertiaRotor.w,smrM.stator.core.Phi.re,smrM.stator.core.Phi.im,smrM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.re,smrM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.im,smr3.inertiaRotor.w,smr3.stator.core.Phi.re,smr3.stator.core.Phi.im,smr3.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.re,smr3.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.im,loadInertiaM.phi,loadInertia3.phi,vfController3.x,vfControllerM.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 (195): * Single equations (assignments): 188 * 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,12,100.0%), (2,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.008909/1.045, allocations: 7.134 MB / 0.6228 GB, free: 63.21 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.01151/1.056, allocations: 5.881 MB / 0.6285 GB, free: 57.24 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.201e-05/1.057, allocations: 0 / 0.6285 GB, free: 57.24 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004106/1.061, allocations: 2.957 MB / 0.6314 GB, free: 54.19 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00712/1.068, allocations: 1.02 MB / 0.6324 GB, free: 53.19 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.103/1.171, allocations: 48.67 MB / 0.6799 GB, free: 15.7 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004804/1.176, allocations: 4.248 MB / 0.6841 GB, free: 11.43 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.002872/1.179, allocations: 0.8289 MB / 0.6849 GB, free: 10.59 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003099/1.182, allocations: 2.557 MB / 0.6874 GB, free: 8.031 MB / 462.1 MB Notification: Performance of SimCode: time 5.21e-07/1.182, allocations: 0 / 0.6874 GB, free: 8.031 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4508/1.632, allocations: 102.1 MB / 0.7871 GB, free: 105.5 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.32/13.95, allocations: 12.47 kB / 0.7871 GB, free: 105.5 MB / 478.1 MB (rm -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMR_Inverter_Polyphase.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMR_Inverter_Polyphase.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMR_Inverter_Polyphase.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMR_Inverter_Polyphase.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMR_Inverter_Polyphase_res.mat --tempDir=temp_Modelica_trunk_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_SynchronousMachines_ComparisonPolyphase_SMR_Inverter_Polyphase_fmu --startTime=0 --stopTime=1.5 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_SynchronousMachines_ComparisonPolyphase_SMR_Inverter_Polyphase.fmu > Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMR_Inverter_Polyphase.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMR_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/SMR_Inverter_Polyphase/SMR_Inverter_Polyphase.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMR_Inverter_Polyphase.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches