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.001507/0.001507, allocations: 185.9 kB / 16.41 MB, free: 5.727 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.896/1.896, allocations: 205.4 MB / 222.5 MB, free: 9.133 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.00112/0.001119, allocations: 91.25 kB / 270.9 MB, free: 8.391 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004299/0.0004299, allocations: 16 kB / 327 MB, free: 220 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3321/0.3325, allocations: 47.57 MB / 374.5 MB, free: 45.45 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1762/0.5088, allocations: 108.8 MB / 483.4 MB, free: 3.891 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003307/0.5091, allocations: 91.95 kB / 483.5 MB, free: 3.801 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4677/0.9769, allocations: 49.89 MB / 0.5209 GB, free: 94.25 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.916e-06/0.9769, allocations: 0 / 0.5209 GB, free: 94.25 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0002143/0.9771, allocations: 60.84 kB / 0.5209 GB, free: 94.24 MB / 378.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.008862/0.986, allocations: 2.627 MB / 0.5235 GB, free: 92.42 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.321e-05/0.9861, allocations: 8.031 kB / 0.5235 GB, free: 92.41 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001594/0.9877, allocations: 324.5 kB / 0.5238 GB, free: 92.09 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005326/0.993, allocations: 1.696 MB / 0.5255 GB, free: 90.37 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001474/0.9932, allocations: 172.3 kB / 0.5256 GB, free: 90.2 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005647/0.9938, allocations: 223.9 kB / 0.5258 GB, free: 89.98 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007425/1.001, allocations: 2.895 MB / 0.5287 GB, free: 86.94 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001026/1.001, allocations: 8 kB / 0.5287 GB, free: 86.93 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003375/1.002, allocations: 91.91 kB / 0.5288 GB, free: 86.85 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001342/1.002, allocations: 108.3 kB / 0.5289 GB, free: 86.74 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006836/1.009, allocations: 2.328 MB / 0.5311 GB, free: 84.39 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02169/1.03, allocations: 9.144 MB / 0.5401 GB, free: 75.04 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003693/1.034, allocations: 1.769 MB / 0.5418 GB, free: 73.15 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004476/1.035, allocations: 215 kB / 0.542 GB, free: 72.91 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.691e-05/1.035, allocations: 47.56 kB / 0.542 GB, free: 72.86 MB / 378.7 MB Notification: Performance of pre-optimization done (n=108): time 4.799e-06/1.035, allocations: 0 / 0.542 GB, free: 72.86 MB / 378.7 MB Notification: Performance of matching and sorting (n=131): time 0.02804/1.063, allocations: 7.619 MB / 0.5495 GB, free: 65.12 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.218e-05/1.063, allocations: 68.7 kB / 0.5495 GB, free: 65.05 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002817/1.066, allocations: 1.35 MB / 0.5509 GB, free: 63.69 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003166/1.066, allocations: 49.7 kB / 0.5509 GB, free: 63.64 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006942/1.067, allocations: 1.054 MB / 0.5519 GB, free: 62.57 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004474/1.067, allocations: 457.2 kB / 0.5524 GB, free: 62.13 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001649/1.067, allocations: 32 kB / 0.5524 GB, free: 62.1 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001203/1.068, allocations: 374.8 kB / 0.5528 GB, free: 61.73 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001972/1.07, allocations: 0.7808 MB / 0.5535 GB, free: 60.95 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002131/1.072, allocations: 1.187 MB / 0.5547 GB, free: 59.59 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002331/1.074, allocations: 0.9706 MB / 0.5556 GB, free: 58.61 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.149e-05/1.074, allocations: 0 / 0.5556 GB, free: 58.61 MB / 378.7 MB Notification: Performance of matching and sorting (n=199) (initialization): time 0.006832/1.081, allocations: 2.603 MB / 0.5582 GB, free: 55.99 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.445e-05/1.081, allocations: 12 kB / 0.5582 GB, free: 55.98 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.896e-05/1.081, allocations: 12 kB / 0.5582 GB, free: 55.97 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002384/1.083, allocations: 0.5888 MB / 0.5588 GB, free: 55.37 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002627/1.086, allocations: 367.4 kB / 0.5591 GB, free: 55.01 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01194/1.098, allocations: 6.936 MB / 0.5659 GB, free: 47.82 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002448/1.101, allocations: 115.9 kB / 0.566 GB, free: 47.7 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002483/1.101, allocations: 67.98 kB / 0.5661 GB, free: 47.64 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 57 * 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 (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.001785/1.103, allocations: 0.7203 MB / 0.5668 GB, free: 46.91 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005182/1.103, allocations: 177.8 kB / 0.5669 GB, free: 46.73 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006598/1.11, allocations: 2.442 MB / 0.5693 GB, free: 44.26 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.615e-05/1.11, allocations: 16 kB / 0.5693 GB, free: 44.25 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.056e-05/1.11, allocations: 4 kB / 0.5694 GB, free: 44.24 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.922e-05/1.11, allocations: 7.984 kB / 0.5694 GB, free: 44.23 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01268/1.123, allocations: 5.006 MB / 0.5742 GB, free: 39.16 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.053e-05/1.123, allocations: 3.938 kB / 0.5743 GB, free: 39.15 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001797/1.124, allocations: 223.9 kB / 0.5745 GB, free: 38.93 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002764/1.127, allocations: 0.6425 MB / 0.5751 GB, free: 38.28 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001845/1.127, allocations: 31.98 kB / 0.5751 GB, free: 38.25 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01365/1.141, allocations: 8.654 MB / 0.5836 GB, free: 29.19 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.859e-06/1.141, allocations: 4 kB / 0.5836 GB, free: 29.19 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008804/1.15, allocations: 3.671 MB / 0.5872 GB, free: 25.4 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001313/1.151, allocations: 414.8 kB / 0.5876 GB, free: 24.97 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003744/1.152, allocations: 27.98 kB / 0.5876 GB, free: 24.95 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001757/1.154, allocations: 103.9 kB / 0.5877 GB, free: 24.84 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003611/1.154, allocations: 101.1 kB / 0.5878 GB, free: 24.75 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001296/1.154, allocations: 39.98 kB / 0.5878 GB, free: 24.71 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.002131/1.156, allocations: 1.035 MB / 0.5888 GB, free: 23.68 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.563e-06/1.156, allocations: 0 / 0.5888 GB, free: 23.68 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002702/1.159, allocations: 0.5585 MB / 0.5894 GB, free: 23.12 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (102): * Single equations (assignments): 99 * 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.0007686/1.16, allocations: 348.1 kB / 0.5897 GB, free: 22.8 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.006054/1.166, allocations: 2.452 MB / 0.5921 GB, free: 20.3 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 9.157e-06/1.166, allocations: 4 kB / 0.5921 GB, free: 20.3 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0041/1.17, allocations: 1.562 MB / 0.5936 GB, free: 18.7 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003418/1.173, allocations: 439.5 kB / 0.5941 GB, free: 18.27 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01114/1.185, allocations: 5.727 MB / 0.5996 GB, free: 12.49 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001866/1.187, allocations: 1.898 MB / 0.6015 GB, free: 10.56 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008322/1.187, allocations: 131.4 kB / 0.6016 GB, free: 10.43 MB / 378.7 MB Notification: Performance of SimCode: time 9.82e-07/1.187, allocations: 4 kB / 0.6016 GB, free: 10.43 MB / 378.7 MB Notification: Performance of Templates: time 0.3879/1.575, allocations: 60.94 MB / 0.6611 GB, free: 113 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