Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_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_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_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.001358/0.001358, allocations: 176.8 kB / 14.1 MB, free: 1.211 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.357/1.357, allocations: 205.2 MB / 219.8 MB, free: 14.2 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.0008391/0.0008392, allocations: 86.7 kB / 268 MB, free: 14.03 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.386e-05/2.389e-05, allocations: 4 kB / 322.5 MB, free: 17.34 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07216/0.0722, allocations: 47.58 MB / 370 MB, free: 1.695 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3119/0.3841, allocations: 108.7 MB / 478.8 MB, free: 0.9609 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002286/0.3844, allocations: 85.95 kB / 478.9 MB, free: 0.918 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1336/0.518, allocations: 49.96 MB / 0.5164 GB, free: 15.72 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.263e-06/0.5181, allocations: 0 / 0.5164 GB, free: 15.72 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0001467/0.5182, allocations: 63.94 kB / 0.5165 GB, free: 15.66 MB / 410.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.004664/0.5229, allocations: 2.349 MB / 0.5188 GB, free: 13.25 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.566e-05/0.523, allocations: 12.03 kB / 0.5188 GB, free: 13.24 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009026/0.5239, allocations: 320.5 kB / 0.5191 GB, free: 12.92 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003323/0.5272, allocations: 1.687 MB / 0.5207 GB, free: 11.18 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001342/0.5274, allocations: 168.4 kB / 0.5209 GB, free: 11.01 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003435/0.5277, allocations: 220 kB / 0.5211 GB, free: 10.79 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004558/0.5323, allocations: 2.826 MB / 0.5239 GB, free: 7.82 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.081e-05/0.5323, allocations: 7.891 kB / 0.5239 GB, free: 7.812 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002112/0.5326, allocations: 99.95 kB / 0.524 GB, free: 7.715 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001003/0.5327, allocations: 104.3 kB / 0.5241 GB, free: 7.609 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003514/0.5362, allocations: 2.208 MB / 0.5262 GB, free: 5.387 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1983/0.7345, allocations: 9.133 MB / 0.5351 GB, free: 95.95 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002302/0.7368, allocations: 1.697 MB / 0.5368 GB, free: 95.34 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001245/0.7381, allocations: 0.8056 MB / 0.5376 GB, free: 95.33 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003466/0.7385, allocations: 217 kB / 0.5378 GB, free: 95.14 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.468e-05/0.7385, allocations: 49.94 kB / 0.5378 GB, free: 95.11 MB / 410.7 MB Notification: Performance of pre-optimization done (n=108): time 4.869e-06/0.7385, allocations: 0 / 0.5378 GB, free: 95.11 MB / 410.7 MB Notification: Performance of matching and sorting (n=131): time 0.01611/0.7547, allocations: 6.362 MB / 0.5441 GB, free: 94.43 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.126e-05/0.7547, allocations: 65.77 kB / 0.5441 GB, free: 94.36 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00229/0.757, allocations: 1.335 MB / 0.5454 GB, free: 94.19 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001053/0.7572, allocations: 49.11 kB / 0.5455 GB, free: 94.16 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008766/0.758, allocations: 1.102 MB / 0.5465 GB, free: 93.79 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000478/0.7585, allocations: 463.1 kB / 0.547 GB, free: 93.56 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.09e-05/0.7586, allocations: 28.16 kB / 0.547 GB, free: 93.56 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001437/0.7588, allocations: 370.5 kB / 0.5474 GB, free: 93.25 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00122/0.76, allocations: 0.7189 MB / 0.5481 GB, free: 93.25 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001349/0.7614, allocations: 1.141 MB / 0.5492 GB, free: 92.78 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001326/0.7627, allocations: 0.914 MB / 0.5501 GB, free: 92.76 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.161e-05/0.7627, allocations: 3.781 kB / 0.5501 GB, free: 92.76 MB / 410.7 MB Notification: Performance of matching and sorting (n=199) (initialization): time 0.004228/0.767, allocations: 2.593 MB / 0.5526 GB, free: 92.57 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.106e-05/0.767, allocations: 14.94 kB / 0.5526 GB, free: 92.57 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.135e-05/0.767, allocations: 11.84 kB / 0.5526 GB, free: 92.57 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001313/0.7684, allocations: 0.5934 MB / 0.5532 GB, free: 92.54 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00117/0.7695, allocations: 367.5 kB / 0.5536 GB, free: 92.54 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01021/0.7798, allocations: 6.679 MB / 0.5601 GB, free: 89.83 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002584/0.7824, allocations: 114.9 kB / 0.5602 GB, free: 89.8 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002633/0.7827, allocations: 61.94 kB / 0.5603 GB, free: 89.79 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.0004466/0.7831, allocations: 204.9 kB / 0.5605 GB, free: 89.64 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005504/0.7837, allocations: 175.1 kB / 0.5606 GB, free: 89.55 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005824/0.7895, allocations: 2.336 MB / 0.5629 GB, free: 88.68 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.811e-05/0.7896, allocations: 15.19 kB / 0.5629 GB, free: 88.68 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.404e-05/0.7896, allocations: 7.094 kB / 0.5629 GB, free: 88.68 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.871e-05/0.7897, allocations: 10.94 kB / 0.5629 GB, free: 88.68 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01192/0.8016, allocations: 4.9 MB / 0.5677 GB, free: 86.73 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.039e-05/0.8016, allocations: 3.875 kB / 0.5677 GB, free: 86.73 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001345/0.803, allocations: 215.5 kB / 0.5679 GB, free: 86.72 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002145/0.8051, allocations: 0.6532 MB / 0.5686 GB, free: 86.56 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001367/0.8053, allocations: 39.66 kB / 0.5686 GB, free: 86.54 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01134/0.8167, allocations: 8.382 MB / 0.5768 GB, free: 80.83 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.527e-06/0.8167, allocations: 6.625 kB / 0.5768 GB, free: 80.83 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006498/0.8232, allocations: 3.535 MB / 0.5802 GB, free: 79.18 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001313/0.8245, allocations: 414.3 kB / 0.5806 GB, free: 78.92 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006447/0.8252, allocations: 37.53 kB / 0.5807 GB, free: 78.89 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001827/0.827, allocations: 100.6 kB / 0.5808 GB, free: 78.88 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003525/0.8274, allocations: 101.1 kB / 0.5809 GB, free: 78.86 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001526/0.8276, allocations: 41.02 kB / 0.5809 GB, free: 78.85 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.002531/0.8301, allocations: 1.018 MB / 0.5819 GB, free: 78.44 MB / 410.7 MB Notification: Performance of sort global known variables: time 3.71e-07/0.8301, allocations: 0 / 0.5819 GB, free: 78.44 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.003245/0.8334, allocations: 0.5511 MB / 0.5824 GB, free: 78.38 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.000809/0.8342, allocations: 378.5 kB / 0.5828 GB, free: 78.25 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.004962/0.8392, allocations: 2.324 MB / 0.5851 GB, free: 77.27 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 7.123e-06/0.8392, allocations: 0 / 0.5851 GB, free: 77.27 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00339/0.8426, allocations: 1.493 MB / 0.5865 GB, free: 76.52 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003415/0.8461, allocations: 446.5 kB / 0.587 GB, free: 76.4 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01058/0.8567, allocations: 3.861 MB / 0.5907 GB, free: 74.69 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002453/0.8592, allocations: 1.937 MB / 0.5926 GB, free: 73.75 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.002399/0.8616, allocations: 379.5 kB / 0.593 GB, free: 73.71 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006999/0.8624, allocations: 120.5 kB / 0.5931 GB, free: 73.7 MB / 410.7 MB Notification: Performance of SimCode: time 1.132e-06/0.8624, allocations: 3.828 kB / 0.5931 GB, free: 73.7 MB / 410.7 MB Notification: Performance of Templates: time 0.07018/0.9326, allocations: 29.74 MB / 0.6221 GB, free: 55.16 MB / 410.7 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_Inverter.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_Inverter.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_Inverter.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_Inverter.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_Inverter.sim & ./Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_Inverter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_Inverter.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_Inverter_res.mat","/var/lib/jenkins/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_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_Inverter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches