Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_Inverter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_Inverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|loadInertia.phi|loadInertia.w|smee.is.1.|smee.is.2.|smpm.idq_dr.1.|smpm.idq_rr.2.|smpm.idq_sr.1.|smpm.idq_sr.2.|vfController.x",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_Inverter") translateModel(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_Inverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|loadInertia.phi|loadInertia.w|smee.is.1.|smee.is.2.|smpm.idq_dr.1.|smpm.idq_rr.2.|smpm.idq_sr.1.|smpm.idq_sr.2.|vfController.x",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_Inverter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002144/0.002143, allocations: 180.3 kB / 8.365 MB, free: 0.7109 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.108/2.108, allocations: 205.3 MB / 214.1 MB, free: 14.07 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001062/0.001062, allocations: 86.55 kB / 262.1 MB, free: 13.86 MB / 219.1 MB Notification: Performance of FrontEnd - loaded program: time 2.692e-05/2.691e-05, allocations: 4 kB / 314.8 MB, free: 9.129 MB / 267.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3323/0.3323, allocations: 47.56 MB / 362.4 MB, free: 45.79 MB / 299.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.175/0.5074, allocations: 108.1 MB / 470.4 MB, free: 10.16 MB / 363.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003517/0.5078, allocations: 87.95 kB / 470.5 MB, free: 10.07 MB / 363.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.478/0.9858, allocations: 49.28 MB / 0.5076 GB, free: 98.83 MB / 395.1 MB Notification: Performance of FrontEnd: time 2.415e-06/0.9859, allocations: 3.188 kB / 0.5076 GB, free: 98.83 MB / 395.1 MB Notification: Performance of Transformations before backend: time 0.0002596/0.9862, allocations: 60.97 kB / 0.5077 GB, free: 98.82 MB / 395.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 581 * Number of variables: 581 Notification: Performance of Generate backend data structure: time 0.008448/0.9946, allocations: 2.354 MB / 0.51 GB, free: 97.87 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.73e-05/0.9947, allocations: 11.97 kB / 0.51 GB, free: 97.87 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001836/0.9965, allocations: 320.1 kB / 0.5103 GB, free: 97.73 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005732/1.002, allocations: 1.69 MB / 0.5119 GB, free: 97.28 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001601/1.002, allocations: 78.05 kB / 0.512 GB, free: 97.28 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007124/1.003, allocations: 131.5 kB / 0.5121 GB, free: 97.28 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.006425/1.01, allocations: 2.081 MB / 0.5142 GB, free: 97.27 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007565/1.017, allocations: 2.499 MB / 0.5166 GB, free: 96.91 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001037/1.017, allocations: 12.31 kB / 0.5166 GB, free: 96.91 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002833/1.018, allocations: 2.656 kB / 0.5166 GB, free: 96.91 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001691/1.018, allocations: 109 kB / 0.5167 GB, free: 96.89 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02232/1.04, allocations: 8.71 MB / 0.5252 GB, free: 94.31 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003256/1.044, allocations: 1.659 MB / 0.5269 GB, free: 93.27 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001852/1.045, allocations: 0.7752 MB / 0.5276 GB, free: 92.99 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004521/1.046, allocations: 215.4 kB / 0.5278 GB, free: 92.8 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.303e-05/1.046, allocations: 48.22 kB / 0.5279 GB, free: 92.75 MB / 395.1 MB Notification: Performance of pre-optimization done (n=110): time 4.137e-06/1.046, allocations: 0 / 0.5279 GB, free: 92.75 MB / 395.1 MB Notification: Performance of matching and sorting (n=133): time 0.0152/1.061, allocations: 4.923 MB / 0.5327 GB, free: 90.75 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.437e-05/1.061, allocations: 64.41 kB / 0.5327 GB, free: 90.69 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002365/1.064, allocations: 1.115 MB / 0.5338 GB, free: 90.22 MB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003229/1.064, allocations: 25.7 kB / 0.5338 GB, free: 90.19 MB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006845/1.065, allocations: 1.064 MB / 0.5349 GB, free: 89.32 MB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005365/1.065, allocations: 454.1 kB / 0.5353 GB, free: 88.96 MB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001227/1.065, allocations: 0 / 0.5353 GB, free: 88.96 MB / 395.1 MB Notification: Performance of setup shared object (initialization): time 0.0001278/1.066, allocations: 374 kB / 0.5357 GB, free: 88.62 MB / 395.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001497/1.067, allocations: 0.6927 MB / 0.5364 GB, free: 88.36 MB / 395.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001709/1.069, allocations: 1.106 MB / 0.5374 GB, free: 87.59 MB / 395.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001941/1.071, allocations: 0.8794 MB / 0.5383 GB, free: 87.25 MB / 395.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.56e-05/1.071, allocations: 10.19 kB / 0.5383 GB, free: 87.25 MB / 395.1 MB Notification: Performance of matching and sorting (n=201) (initialization): time 0.006035/1.077, allocations: 2.337 MB / 0.5406 GB, free: 86.45 MB / 395.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.702e-05/1.077, allocations: 9.031 kB / 0.5406 GB, free: 86.45 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.977e-05/1.077, allocations: 20 kB / 0.5406 GB, free: 86.45 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002355/1.079, allocations: 0.5892 MB / 0.5412 GB, free: 86.29 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002661/1.082, allocations: 361.5 kB / 0.5415 GB, free: 86.25 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01103/1.093, allocations: 6.395 MB / 0.5478 GB, free: 82.14 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002395/1.096, allocations: 88.45 kB / 0.5479 GB, free: 82.14 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003248/1.096, allocations: 70.55 kB / 0.5479 GB, free: 82.12 MB / 395.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 58 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (171): * Single equations (assignments): 168 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(6,72.2%) 23,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003886/1.096, allocations: 146.9 kB / 0.5481 GB, free: 81.98 MB / 395.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004869/1.097, allocations: 166.8 kB / 0.5482 GB, free: 81.89 MB / 395.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005844/1.103, allocations: 2.21 MB / 0.5504 GB, free: 81.07 MB / 395.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.123e-05/1.103, allocations: 16.66 kB / 0.5504 GB, free: 81.07 MB / 395.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.329e-05/1.103, allocations: 7.375 kB / 0.5504 GB, free: 81.07 MB / 395.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.212e-05/1.103, allocations: 10.36 kB / 0.5504 GB, free: 81.07 MB / 395.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01257/1.115, allocations: 4.513 MB / 0.5548 GB, free: 79.22 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.799e-05/1.116, allocations: 7.719 kB / 0.5548 GB, free: 79.22 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001908/1.117, allocations: 233.9 kB / 0.5551 GB, free: 79.19 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002857/1.12, allocations: 0.6281 MB / 0.5557 GB, free: 79.02 MB / 395.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000272/1.121, allocations: 21.53 kB / 0.5557 GB, free: 79.02 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01275/1.133, allocations: 8.065 MB / 0.5636 GB, free: 72.09 MB / 395.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.618e-06/1.133, allocations: 4 kB / 0.5636 GB, free: 72.09 MB / 395.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007515/1.141, allocations: 3.445 MB / 0.5669 GB, free: 68.9 MB / 395.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001431/1.142, allocations: 396.3 kB / 0.5673 GB, free: 68.54 MB / 395.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004641/1.143, allocations: 8 kB / 0.5673 GB, free: 68.53 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001856/1.145, allocations: 82.2 kB / 0.5674 GB, free: 68.48 MB / 395.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003759/1.145, allocations: 111.3 kB / 0.5675 GB, free: 68.41 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001379/1.145, allocations: 39.75 kB / 0.5675 GB, free: 68.38 MB / 395.1 MB Notification: Performance of sorting global known variables: time 0.001758/1.147, allocations: 0.8275 MB / 0.5684 GB, free: 67.63 MB / 395.1 MB Notification: Performance of sort global known variables: time 7.82e-07/1.147, allocations: 4 kB / 0.5684 GB, free: 67.62 MB / 395.1 MB Notification: Performance of remove unused functions: time 0.002932/1.15, allocations: 491.7 kB / 0.5688 GB, free: 67.15 MB / 395.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 7 (smpm.inertiaRotor.w,smpm.idq_sr[1],smpm.idq_sr[2],smpm.idq_rr[2],smpm.idq_dr[1],vfController.x,loadInertia.phi) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (104): * Single equations (assignments): 101 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(6,72.2%) 23,(1,100.0%) 1,(2,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008266/1.151, allocations: 332 kB / 0.5691 GB, free: 66.87 MB / 395.1 MB Notification: Performance of simCode: created initialization part: time 0.005285/1.156, allocations: 2.24 MB / 0.5713 GB, free: 64.8 MB / 395.1 MB Notification: Performance of simCode: created event and clocks part: time 9.858e-06/1.156, allocations: 4 kB / 0.5713 GB, free: 64.8 MB / 395.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003841/1.16, allocations: 1.442 MB / 0.5727 GB, free: 63.48 MB / 395.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00324/1.164, allocations: 356.2 kB / 0.5731 GB, free: 63.21 MB / 395.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009993/1.174, allocations: 3.854 MB / 0.5768 GB, free: 59.74 MB / 395.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002056/1.176, allocations: 1.899 MB / 0.5787 GB, free: 58.2 MB / 395.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008299/1.177, allocations: 130.4 kB / 0.5788 GB, free: 58.09 MB / 395.1 MB Notification: Performance of SimCode: time 1.032e-06/1.177, allocations: 0 / 0.5788 GB, free: 58.09 MB / 395.1 MB Notification: Performance of Templates: time 0.09746/1.274, allocations: 59.47 MB / 0.6369 GB, free: 236 kB / 395.1 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_Inverter.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_Inverter.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_Inverter.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_Inverter.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_Inverter.sim & ./Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_Inverter --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_Inverter.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_Inverter_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Machines/Examples/SynchronousInductionMachines/SMPM_Inverter/SMPM_Inverter.csv","../files/Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_Inverter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches