Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_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.SMR_Inverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|loadInertia.phi|loadInertia.w|smee.is.1.|smee.is.2.|smr.idq_rr.1.|smr.idq_rr.2.|smr.idq_sr.1.|smr.idq_sr.2.|vfController.x",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_Inverter") translateModel(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_Inverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|loadInertia.phi|loadInertia.w|smee.is.1.|smee.is.2.|smr.idq_rr.1.|smr.idq_rr.2.|smr.idq_sr.1.|smr.idq_sr.2.|vfController.x",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_Inverter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001519/0.001519, allocations: 180.6 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 2.007/2.007, 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.001105/0.001104, allocations: 98.56 kB / 267.5 MB, free: 14.11 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.997e-05/3.007e-05, allocations: 4 kB / 321.5 MB, free: 17.84 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0922/0.09225, allocations: 47.57 MB / 369.1 MB, free: 2.203 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.492/0.5843, allocations: 105.4 MB / 474.5 MB, free: 4.168 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003028/0.5846, allocations: 84.02 kB / 474.6 MB, free: 4.125 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1981/0.7827, allocations: 46.13 MB / 0.5085 GB, free: 7.297 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.234e-06/0.7828, allocations: 0 / 0.5085 GB, free: 7.297 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0002688/0.7831, allocations: 59.94 kB / 0.5085 GB, free: 7.238 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 553 * Number of variables: 553 Notification: Performance of Generate backend data structure: time 0.00863/0.7917, allocations: 2.251 MB / 0.5107 GB, free: 4.93 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.557e-05/0.7918, allocations: 8.031 kB / 0.5107 GB, free: 4.922 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00173/0.7936, allocations: 296.7 kB / 0.511 GB, free: 4.629 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005712/0.7993, allocations: 1.596 MB / 0.5126 GB, free: 2.973 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002363/0.7996, allocations: 160.2 kB / 0.5127 GB, free: 2.812 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008599/0.8005, allocations: 211.9 kB / 0.5129 GB, free: 2.605 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008763/0.8092, allocations: 2.715 MB / 0.5156 GB, free: 15.75 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001293/0.8094, allocations: 11.86 kB / 0.5156 GB, free: 15.73 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005977/0.8101, allocations: 88 kB / 0.5157 GB, free: 15.65 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001699/0.8102, allocations: 96.19 kB / 0.5158 GB, free: 15.55 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007655/0.8179, allocations: 2.129 MB / 0.5179 GB, free: 13.41 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02562/0.8436, allocations: 8.624 MB / 0.5263 GB, free: 4.535 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004041/0.8477, allocations: 1.694 MB / 0.5279 GB, free: 2.711 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002219/0.85, allocations: 0.7847 MB / 0.5287 GB, free: 1.93 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005465/0.8506, allocations: 219.1 kB / 0.5289 GB, free: 1.68 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.417e-05/0.8506, allocations: 51.55 kB / 0.529 GB, free: 1.621 MB / 410.7 MB Notification: Performance of pre-optimization done (n=104): time 4.478e-06/0.8507, allocations: 0 / 0.529 GB, free: 1.621 MB / 410.7 MB Notification: Performance of matching and sorting (n=125): time 0.3057/1.156, allocations: 5.925 MB / 0.5347 GB, free: 103.4 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.578e-05/1.156, allocations: 68.7 kB / 0.5348 GB, free: 103.3 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003331/1.16, allocations: 1.234 MB / 0.536 GB, free: 103.2 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003653/1.16, allocations: 46.98 kB / 0.5361 GB, free: 103.2 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009981/1.161, allocations: 0.9871 MB / 0.537 GB, free: 102.7 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007956/1.162, allocations: 441.4 kB / 0.5374 GB, free: 102.5 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001482/1.162, allocations: 30.53 kB / 0.5375 GB, free: 102.5 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001671/1.162, allocations: 374.3 kB / 0.5378 GB, free: 102.2 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001985/1.164, allocations: 0.6962 MB / 0.5385 GB, free: 102.2 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002161/1.167, allocations: 1.071 MB / 0.5396 GB, free: 101.8 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002292/1.169, allocations: 0.8721 MB / 0.5404 GB, free: 101.8 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.777e-05/1.169, allocations: 6.031 kB / 0.5404 GB, free: 101.8 MB / 410.7 MB Notification: Performance of matching and sorting (n=186) (initialization): time 0.007451/1.176, allocations: 2.395 MB / 0.5428 GB, free: 101.6 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.437e-05/1.177, allocations: 10.41 kB / 0.5428 GB, free: 101.6 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.978e-05/1.177, allocations: 12.16 kB / 0.5428 GB, free: 101.6 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002707/1.179, allocations: 0.5861 MB / 0.5434 GB, free: 101.6 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002793/1.182, allocations: 340.6 kB / 0.5437 GB, free: 101.6 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01283/1.195, allocations: 6.307 MB / 0.5498 GB, free: 99.02 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002465/1.198, allocations: 113.3 kB / 0.5499 GB, free: 99.02 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002208/1.198, allocations: 63.33 kB / 0.55 GB, free: 99.02 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 51 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (157): * Single equations (assignments): 154 * 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%) 22,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000453/1.198, allocations: 183.9 kB / 0.5502 GB, free: 98.91 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004782/1.199, allocations: 163.1 kB / 0.5503 GB, free: 98.83 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006141/1.205, allocations: 2.279 MB / 0.5526 GB, free: 98.69 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.966e-05/1.205, allocations: 16.12 kB / 0.5526 GB, free: 98.69 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.209e-05/1.205, allocations: 6 kB / 0.5526 GB, free: 98.69 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.156e-05/1.205, allocations: 6.938 kB / 0.5526 GB, free: 98.69 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01256/1.218, allocations: 4.694 MB / 0.5572 GB, free: 96.88 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.277e-05/1.218, allocations: 7.422 kB / 0.5572 GB, free: 96.88 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00176/1.219, allocations: 211.9 kB / 0.5574 GB, free: 96.88 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002825/1.222, allocations: 0.6375 MB / 0.558 GB, free: 96.71 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002035/1.222, allocations: 31.36 kB / 0.558 GB, free: 96.69 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01317/1.236, allocations: 8.056 MB / 0.5659 GB, free: 91.17 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.917e-06/1.236, allocations: 8.656 kB / 0.5659 GB, free: 91.17 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008247/1.244, allocations: 3.393 MB / 0.5692 GB, free: 89.62 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001485/1.246, allocations: 406.3 kB / 0.5696 GB, free: 89.36 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004262/1.246, allocations: 23.16 kB / 0.5696 GB, free: 89.34 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001834/1.248, allocations: 99.17 kB / 0.5697 GB, free: 89.32 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004049/1.248, allocations: 105.6 kB / 0.5698 GB, free: 89.3 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001351/1.248, allocations: 34.86 kB / 0.5699 GB, free: 89.3 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.002051/1.251, allocations: 0.9447 MB / 0.5708 GB, free: 88.91 MB / 410.7 MB Notification: Performance of sort global known variables: time 7.91e-07/1.251, allocations: 4.938 kB / 0.5708 GB, free: 88.91 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002909/1.253, allocations: 0.523 MB / 0.5713 GB, free: 88.85 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 7 (smr.inertiaRotor.w,smr.idq_sr[1],smr.idq_sr[2],smr.idq_dr[1],smr.idq_dr[2],vfController.x,loadInertia.phi) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (98): * Single equations (assignments): 95 * 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%) 22,(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.0008176/1.254, allocations: 308.6 kB / 0.5716 GB, free: 88.74 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.005882/1.26, allocations: 2.257 MB / 0.5738 GB, free: 87.78 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 9.859e-06/1.26, allocations: 0 / 0.5738 GB, free: 87.78 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003978/1.264, allocations: 1.475 MB / 0.5752 GB, free: 87.04 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003259/1.268, allocations: 375.4 kB / 0.5756 GB, free: 86.94 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009586/1.277, allocations: 3.769 MB / 0.5793 GB, free: 85.3 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00184/1.279, allocations: 1.835 MB / 0.5811 GB, free: 84.39 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008329/1.28, allocations: 124.4 kB / 0.5812 GB, free: 84.38 MB / 410.7 MB Notification: Performance of SimCode: time 1.693e-06/1.28, allocations: 4 kB / 0.5812 GB, free: 84.38 MB / 410.7 MB Notification: Performance of Templates: time 0.08771/1.368, allocations: 56.86 MB / 0.6367 GB, free: 41.48 MB / 410.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_Inverter.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_Inverter.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_Inverter.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_Inverter.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_Inverter.sim & ./Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_Inverter --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_Inverter.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_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/SMR_Inverter/SMR_Inverter.csv","../files/Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_Inverter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches