Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_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_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_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.001157/0.001158, allocations: 172.8 kB / 14.1 MB, free: 1.223 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.322/1.322, allocations: 205.2 MB / 219.8 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.000793/0.000793, allocations: 82.7 kB / 268 MB, free: 14.11 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.197e-05/2.199e-05, allocations: 4 kB / 322.5 MB, free: 17.36 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07823/0.07827, allocations: 47.58 MB / 370 MB, free: 1.711 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3084/0.3867, allocations: 105.4 MB / 475.4 MB, free: 4.297 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002578/0.387, allocations: 80.02 kB / 475.5 MB, free: 4.258 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1225/0.5095, allocations: 46.13 MB / 0.5094 GB, free: 6.953 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.012e-06/0.5095, allocations: 0 / 0.5094 GB, free: 6.953 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0001299/0.5096, allocations: 59.94 kB / 0.5095 GB, free: 6.895 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.004079/0.5137, allocations: 2.243 MB / 0.5116 GB, free: 4.594 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.862e-05/0.5138, allocations: 8.031 kB / 0.5117 GB, free: 4.586 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006807/0.5145, allocations: 300.7 kB / 0.5119 GB, free: 4.289 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0028/0.5173, allocations: 1.6 MB / 0.5135 GB, free: 2.629 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001145/0.5174, allocations: 152.2 kB / 0.5136 GB, free: 2.477 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003163/0.5177, allocations: 212 kB / 0.5138 GB, free: 2.27 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004201/0.5219, allocations: 2.719 MB / 0.5165 GB, free: 15.41 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.259e-05/0.522, allocations: 11.8 kB / 0.5165 GB, free: 15.39 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002051/0.5222, allocations: 91.98 kB / 0.5166 GB, free: 15.3 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.444e-05/0.5223, allocations: 96.19 kB / 0.5167 GB, free: 15.21 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003421/0.5257, allocations: 2.129 MB / 0.5188 GB, free: 13.06 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01277/0.5385, allocations: 8.624 MB / 0.5272 GB, free: 4.191 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0023/0.5409, allocations: 1.702 MB / 0.5289 GB, free: 2.359 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001154/0.542, allocations: 0.7851 MB / 0.5296 GB, free: 1.578 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00035/0.5424, allocations: 215.1 kB / 0.5298 GB, free: 1.332 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.192e-05/0.5425, allocations: 47.56 kB / 0.5299 GB, free: 1.277 MB / 410.7 MB Notification: Performance of pre-optimization done (n=104): time 3.066e-06/0.5425, allocations: 0 / 0.5299 GB, free: 1.277 MB / 410.7 MB Notification: Performance of matching and sorting (n=125): time 0.2291/0.7716, allocations: 5.926 MB / 0.5357 GB, free: 103.4 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.884e-05/0.7717, allocations: 70.3 kB / 0.5357 GB, free: 103.3 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002103/0.7738, allocations: 1.228 MB / 0.5369 GB, free: 103.1 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 9.058e-05/0.7739, allocations: 46.55 kB / 0.537 GB, free: 103.1 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006992/0.7746, allocations: 1.027 MB / 0.538 GB, free: 102.8 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003399/0.775, allocations: 443.4 kB / 0.5384 GB, free: 102.5 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.369e-05/0.7751, allocations: 30.12 kB / 0.5384 GB, free: 102.5 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001171/0.7752, allocations: 364.5 kB / 0.5388 GB, free: 102.2 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001067/0.7763, allocations: 0.698 MB / 0.5395 GB, free: 102.2 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001214/0.7775, allocations: 1.069 MB / 0.5405 GB, free: 101.8 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001391/0.7789, allocations: 0.875 MB / 0.5414 GB, free: 101.8 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.155e-05/0.7789, allocations: 4.125 kB / 0.5414 GB, free: 101.8 MB / 410.7 MB Notification: Performance of matching and sorting (n=186) (initialization): time 0.004499/0.7834, allocations: 2.503 MB / 0.5438 GB, free: 101.6 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.162e-05/0.7835, allocations: 11.38 kB / 0.5438 GB, free: 101.6 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.174e-05/0.7835, allocations: 10.72 kB / 0.5438 GB, free: 101.6 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001525/0.785, allocations: 0.5786 MB / 0.5444 GB, free: 101.6 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001252/0.7863, allocations: 338.6 kB / 0.5447 GB, free: 101.6 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006952/0.7932, allocations: 6.309 MB / 0.5509 GB, free: 99 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00139/0.7947, allocations: 116.5 kB / 0.551 GB, free: 99 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001123/0.7948, allocations: 60 kB / 0.551 GB, free: 99 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.0002763/0.7951, allocations: 184.2 kB / 0.5512 GB, free: 98.9 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000233/0.7953, allocations: 160.7 kB / 0.5514 GB, free: 98.82 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003447/0.7988, allocations: 2.285 MB / 0.5536 GB, free: 98.65 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.135e-06/0.7988, allocations: 11.34 kB / 0.5536 GB, free: 98.65 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.282e-06/0.7988, allocations: 8.906 kB / 0.5536 GB, free: 98.65 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.181e-05/0.7988, allocations: 7.688 kB / 0.5536 GB, free: 98.65 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006678/0.8055, allocations: 4.707 MB / 0.5582 GB, free: 96.79 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.591e-06/0.8055, allocations: 0 / 0.5582 GB, free: 96.79 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008196/0.8064, allocations: 213 kB / 0.5584 GB, free: 96.79 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001406/0.8078, allocations: 0.636 MB / 0.559 GB, free: 96.62 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.368e-05/0.8079, allocations: 35.22 kB / 0.5591 GB, free: 96.61 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006831/0.8147, allocations: 8.055 MB / 0.5669 GB, free: 91.08 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/0.8147, allocations: 3.594 kB / 0.567 GB, free: 91.08 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004204/0.8189, allocations: 3.391 MB / 0.5703 GB, free: 89.53 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007216/0.8197, allocations: 394.9 kB / 0.5706 GB, free: 89.27 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001916/0.8199, allocations: 31.88 kB / 0.5707 GB, free: 89.26 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008513/0.8207, allocations: 94.12 kB / 0.5708 GB, free: 89.24 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000226/0.821, allocations: 103.9 kB / 0.5709 GB, free: 89.22 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.052e-05/0.8211, allocations: 42.92 kB / 0.5709 GB, free: 89.21 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001163/0.8222, allocations: 0.946 MB / 0.5718 GB, free: 88.83 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.8223, allocations: 0 / 0.5718 GB, free: 88.83 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001542/0.8238, allocations: 0.5173 MB / 0.5723 GB, free: 88.77 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.0004462/0.8243, allocations: 313 kB / 0.5726 GB, free: 88.66 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.003091/0.8274, allocations: 2.263 MB / 0.5748 GB, free: 87.69 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.92e-06/0.8274, allocations: 3.906 kB / 0.5748 GB, free: 87.69 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001981/0.8294, allocations: 1.474 MB / 0.5763 GB, free: 86.96 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0017/0.8311, allocations: 380 kB / 0.5766 GB, free: 86.85 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005282/0.8364, allocations: 3.695 MB / 0.5803 GB, free: 85.27 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001157/0.8375, allocations: 1.858 MB / 0.5821 GB, free: 84.36 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0009669/0.8385, allocations: 353.1 kB / 0.5824 GB, free: 84.32 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002918/0.8388, allocations: 114.6 kB / 0.5825 GB, free: 84.31 MB / 410.7 MB Notification: Performance of SimCode: time 6.82e-07/0.8388, allocations: 0 / 0.5825 GB, free: 84.31 MB / 410.7 MB Notification: Performance of Templates: time 0.03538/0.8742, allocations: 27.24 MB / 0.6091 GB, free: 70.38 MB / 410.7 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_Inverter.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_Inverter.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_Inverter.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_Inverter.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_Inverter.sim & ./Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_Inverter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_Inverter.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_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/SMR_Inverter/SMR_Inverter.csv","../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_Inverter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches