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.002057/0.002057, allocations: 181.4 kB / 13.66 MB, free: 1.664 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.976/1.976, allocations: 205.2 MB / 219.4 MB, free: 14.28 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001077/0.001076, allocations: 98.62 kB / 267.5 MB, free: 14.1 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.359e-05/3.387e-05, allocations: 4 kB / 321.5 MB, free: 17.84 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09094/0.091, allocations: 47.57 MB / 369.1 MB, free: 2.211 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4438/0.5348, allocations: 108.7 MB / 477.8 MB, free: 0.8555 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003095/0.5352, allocations: 88.2 kB / 477.9 MB, free: 0.8125 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2166/0.7518, allocations: 49.96 MB / 0.5155 GB, free: 72 kB / 394.7 MB Notification: Performance of FrontEnd: time 2.064e-06/0.7518, allocations: 0 / 0.5155 GB, free: 72 kB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0002919/0.7521, allocations: 59.94 kB / 0.5156 GB, free: 12 kB / 394.7 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.008915/0.7611, allocations: 2.353 MB / 0.5179 GB, free: 13.6 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.157e-05/0.7611, allocations: 8.031 kB / 0.5179 GB, free: 13.59 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001852/0.763, allocations: 324.5 kB / 0.5182 GB, free: 13.27 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006045/0.7691, allocations: 1.687 MB / 0.5198 GB, free: 11.53 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002606/0.7694, allocations: 164.4 kB / 0.52 GB, free: 11.36 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009023/0.7703, allocations: 227.9 kB / 0.5202 GB, free: 11.14 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008575/0.7789, allocations: 2.822 MB / 0.523 GB, free: 8.172 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001146/0.7791, allocations: 7.906 kB / 0.523 GB, free: 8.164 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003646/0.7795, allocations: 99.89 kB / 0.5231 GB, free: 8.066 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001786/0.7796, allocations: 108.3 kB / 0.5232 GB, free: 7.957 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007622/0.7873, allocations: 2.204 MB / 0.5253 GB, free: 5.738 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2987/1.086, allocations: 9.131 MB / 0.5342 GB, free: 96.61 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003854/1.09, allocations: 1.704 MB / 0.5359 GB, free: 95.99 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002321/1.092, allocations: 0.811 MB / 0.5367 GB, free: 95.98 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004901/1.093, allocations: 217.5 kB / 0.5369 GB, free: 95.8 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.434e-05/1.093, allocations: 42.56 kB / 0.5369 GB, free: 95.76 MB / 410.7 MB Notification: Performance of pre-optimization done (n=108): time 4.358e-06/1.093, allocations: 4.656 kB / 0.5369 GB, free: 95.76 MB / 410.7 MB Notification: Performance of matching and sorting (n=131): time 0.02686/1.12, allocations: 6.363 MB / 0.5432 GB, free: 95.09 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.916e-05/1.12, allocations: 65.03 kB / 0.5432 GB, free: 95.02 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003504/1.123, allocations: 1.329 MB / 0.5445 GB, free: 94.86 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003528/1.124, allocations: 49.58 kB / 0.5446 GB, free: 94.83 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008973/1.125, allocations: 1.056 MB / 0.5456 GB, free: 94.39 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006992/1.125, allocations: 459.5 kB / 0.546 GB, free: 94.16 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001497/1.126, allocations: 30.22 kB / 0.5461 GB, free: 94.16 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001476/1.126, allocations: 376.3 kB / 0.5464 GB, free: 93.85 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001916/1.128, allocations: 0.7212 MB / 0.5471 GB, free: 93.84 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002262/1.13, allocations: 1.136 MB / 0.5482 GB, free: 93.37 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002391/1.132, allocations: 0.9091 MB / 0.5491 GB, free: 93.36 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.456e-05/1.133, allocations: 6.062 kB / 0.5491 GB, free: 93.36 MB / 410.7 MB Notification: Performance of matching and sorting (n=199) (initialization): time 0.006649/1.139, allocations: 2.496 MB / 0.5516 GB, free: 93.22 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.594e-05/1.139, allocations: 12.72 kB / 0.5516 GB, free: 93.22 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.847e-05/1.139, allocations: 14.03 kB / 0.5516 GB, free: 93.22 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002407/1.142, allocations: 0.5938 MB / 0.5522 GB, free: 93.19 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0026/1.144, allocations: 358.9 kB / 0.5525 GB, free: 93.19 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01147/1.156, allocations: 6.677 MB / 0.559 GB, free: 90.54 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002481/1.158, allocations: 116.1 kB / 0.5591 GB, free: 90.54 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002853/1.159, allocations: 72.75 kB / 0.5592 GB, free: 90.54 MB / 410.7 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 (169): * Single equations (assignments): 166 * 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.0004281/1.159, allocations: 193.2 kB / 0.5594 GB, free: 90.43 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005545/1.16, allocations: 174.9 kB / 0.5596 GB, free: 90.34 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006228/1.166, allocations: 2.337 MB / 0.5618 GB, free: 89.49 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.867e-05/1.166, allocations: 13.44 kB / 0.5619 GB, free: 89.49 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.281e-05/1.166, allocations: 6.062 kB / 0.5619 GB, free: 89.49 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.427e-05/1.166, allocations: 7.688 kB / 0.5619 GB, free: 89.49 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01391/1.18, allocations: 4.903 MB / 0.5667 GB, free: 87.54 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.512e-05/1.18, allocations: 3.688 kB / 0.5667 GB, free: 87.54 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001843/1.182, allocations: 221.9 kB / 0.5669 GB, free: 87.54 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002897/1.185, allocations: 0.6357 MB / 0.5675 GB, free: 87.38 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002612/1.185, allocations: 40.69 kB / 0.5675 GB, free: 87.36 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01337/1.199, allocations: 8.389 MB / 0.5757 GB, free: 81.64 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.563e-06/1.199, allocations: 6.625 kB / 0.5757 GB, free: 81.64 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008118/1.207, allocations: 3.535 MB / 0.5792 GB, free: 80 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001461/1.208, allocations: 414.3 kB / 0.5796 GB, free: 79.73 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004556/1.209, allocations: 36.86 kB / 0.5796 GB, free: 79.71 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001941/1.211, allocations: 99.59 kB / 0.5797 GB, free: 79.7 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003988/1.211, allocations: 101.9 kB / 0.5798 GB, free: 79.68 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00014/1.211, allocations: 46.95 kB / 0.5799 GB, free: 79.66 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.002173/1.213, allocations: 1.019 MB / 0.5808 GB, free: 79.25 MB / 410.7 MB Notification: Performance of sort global known variables: time 7.12e-07/1.213, allocations: 2.062 kB / 0.5808 GB, free: 79.25 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002911/1.216, allocations: 0.5496 MB / 0.5814 GB, free: 79.2 MB / 410.7 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 (103): * Single equations (assignments): 100 * 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.0008275/1.217, allocations: 366.8 kB / 0.5817 GB, free: 79.07 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.005653/1.223, allocations: 2.324 MB / 0.584 GB, free: 78.08 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.188e-05/1.223, allocations: 3.062 kB / 0.584 GB, free: 78.08 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0041/1.227, allocations: 1.495 MB / 0.5855 GB, free: 77.34 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003653/1.231, allocations: 433.5 kB / 0.5859 GB, free: 77.22 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01014/1.241, allocations: 3.941 MB / 0.5897 GB, free: 75.45 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002061/1.243, allocations: 1.904 MB / 0.5916 GB, free: 74.53 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008371/1.244, allocations: 132.2 kB / 0.5917 GB, free: 74.51 MB / 410.7 MB Notification: Performance of SimCode: time 1.242e-06/1.244, allocations: 0 / 0.5917 GB, free: 74.51 MB / 410.7 MB Notification: Performance of Templates: time 0.09377/1.338, allocations: 60.86 MB / 0.6511 GB, free: 25.24 MB / 410.7 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