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.001297/0.001297, allocations: 178.4 kB / 8.697 MB, free: 388 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.398/1.398, allocations: 205.3 MB / 214.4 MB, free: 1.742 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008636/0.0008636, allocations: 86.7 kB / 262.5 MB, free: 1.688 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.554e-05/1.557e-05, allocations: 0 / 315.5 MB, free: 22.72 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0761/0.07613, allocations: 47.59 MB / 363.1 MB, free: 7.066 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3181/0.3943, allocations: 105 MB / 468 MB, free: 7.031 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000247/0.3946, allocations: 81.81 kB / 468.1 MB, free: 6.988 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1171/0.5117, allocations: 45.53 MB / 0.5016 GB, free: 14.83 MB / 394.7 MB Notification: Performance of FrontEnd: time 3.196e-06/0.5118, allocations: 0 / 0.5016 GB, free: 14.83 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0001359/0.5119, allocations: 67.88 kB / 0.5017 GB, free: 14.76 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.004526/0.5164, allocations: 2.243 MB / 0.5039 GB, free: 12.46 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.444e-05/0.5165, allocations: 8.031 kB / 0.5039 GB, free: 12.45 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009164/0.5174, allocations: 300.7 kB / 0.5042 GB, free: 12.16 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002965/0.5204, allocations: 1.596 MB / 0.5057 GB, free: 10.5 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.766e-05/0.5205, allocations: 68 kB / 0.5058 GB, free: 10.43 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002745/0.5208, allocations: 128 kB / 0.5059 GB, free: 10.31 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003262/0.524, allocations: 2.005 MB / 0.5079 GB, free: 8.297 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003762/0.5278, allocations: 2.41 MB / 0.5102 GB, free: 5.75 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.328e-05/0.5279, allocations: 11.84 kB / 0.5102 GB, free: 5.738 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001638/0.528, allocations: 0 / 0.5102 GB, free: 5.738 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.768e-05/0.5282, allocations: 100.2 kB / 0.5103 GB, free: 5.637 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01186/0.54, allocations: 8.208 MB / 0.5183 GB, free: 13.2 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002022/0.5421, allocations: 1.664 MB / 0.52 GB, free: 11.41 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001044/0.5431, allocations: 0.7662 MB / 0.5207 GB, free: 10.64 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000374/0.5435, allocations: 215.5 kB / 0.5209 GB, free: 10.4 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.072e-05/0.5436, allocations: 43.88 kB / 0.521 GB, free: 10.35 MB / 410.7 MB Notification: Performance of pre-optimization done (n=106): time 3.416e-06/0.5436, allocations: 0 / 0.521 GB, free: 10.35 MB / 410.7 MB Notification: Performance of matching and sorting (n=127): time 0.008574/0.5522, allocations: 4.752 MB / 0.5256 GB, free: 5.543 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.761e-05/0.5522, allocations: 68.66 kB / 0.5257 GB, free: 5.465 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001402/0.5536, allocations: 1.021 MB / 0.5267 GB, free: 4.438 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 8.371e-05/0.5537, allocations: 33.64 kB / 0.5267 GB, free: 4.398 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005949/0.5543, allocations: 1.025 MB / 0.5277 GB, free: 3.359 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003037/0.5546, allocations: 429.6 kB / 0.5281 GB, free: 2.934 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.357e-05/0.5547, allocations: 0 / 0.5281 GB, free: 2.934 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.000123/0.5548, allocations: 361.9 kB / 0.5285 GB, free: 2.574 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008811/0.5557, allocations: 0.6755 MB / 0.5291 GB, free: 1.898 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001097/0.5568, allocations: 1.038 MB / 0.5301 GB, free: 0.6992 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.1766/0.7335, allocations: 0.8399 MB / 0.5309 GB, free: 105.4 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.07e-05/0.7335, allocations: 3 kB / 0.5309 GB, free: 105.4 MB / 410.7 MB Notification: Performance of matching and sorting (n=188) (initialization): time 0.004203/0.7377, allocations: 2.355 MB / 0.5332 GB, free: 105.3 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.865e-05/0.7378, allocations: 9.688 kB / 0.5333 GB, free: 105.3 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.322e-05/0.7378, allocations: 11.44 kB / 0.5333 GB, free: 105.3 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001473/0.7393, allocations: 0.5724 MB / 0.5338 GB, free: 105.3 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001236/0.7406, allocations: 342.9 kB / 0.5342 GB, free: 105.3 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006377/0.7469, allocations: 6.053 MB / 0.5401 GB, free: 102.9 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00127/0.7482, allocations: 90.7 kB / 0.5402 GB, free: 102.9 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001175/0.7484, allocations: 58.48 kB / 0.5402 GB, free: 102.9 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 (159): * Single equations (assignments): 156 * 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.0002463/0.7486, allocations: 138.3 kB / 0.5403 GB, free: 102.8 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002275/0.7489, allocations: 147.9 kB / 0.5405 GB, free: 102.8 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003707/0.7526, allocations: 2.163 MB / 0.5426 GB, free: 102.6 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.261e-05/0.7526, allocations: 17.45 kB / 0.5426 GB, free: 102.6 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.987e-06/0.7526, allocations: 7.984 kB / 0.5426 GB, free: 102.6 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.648e-05/0.7526, allocations: 9.25 kB / 0.5426 GB, free: 102.6 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006886/0.7595, allocations: 4.346 MB / 0.5469 GB, free: 102.2 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.502e-06/0.7596, allocations: 3.094 kB / 0.5469 GB, free: 102.2 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000887/0.7604, allocations: 217.4 kB / 0.5471 GB, free: 102.2 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001495/0.762, allocations: 0.6211 MB / 0.5477 GB, free: 102.2 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.329e-05/0.762, allocations: 20.06 kB / 0.5477 GB, free: 102.2 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006594/0.7687, allocations: 7.733 MB / 0.5553 GB, free: 98.5 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.53e-06/0.7687, allocations: 6.594 kB / 0.5553 GB, free: 98.5 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00395/0.7726, allocations: 3.305 MB / 0.5585 GB, free: 97.79 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007123/0.7734, allocations: 383.2 kB / 0.5589 GB, free: 97.54 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001896/0.7736, allocations: 15.33 kB / 0.5589 GB, free: 97.54 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008214/0.7744, allocations: 78.5 kB / 0.5589 GB, free: 97.54 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002035/0.7746, allocations: 101.9 kB / 0.559 GB, free: 97.52 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.483e-05/0.7747, allocations: 35.56 kB / 0.5591 GB, free: 97.52 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0009425/0.7757, allocations: 0.775 MB / 0.5598 GB, free: 97.18 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.7e-07/0.7757, allocations: 0 / 0.5598 GB, free: 97.18 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.00146/0.7771, allocations: 457.4 kB / 0.5603 GB, free: 97.17 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 (99): * Single equations (assignments): 96 * 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.0004904/0.7776, allocations: 291.2 kB / 0.5605 GB, free: 97.07 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.003249/0.7809, allocations: 2.175 MB / 0.5627 GB, free: 96.13 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.667e-06/0.7809, allocations: 0 / 0.5627 GB, free: 96.13 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001817/0.7827, allocations: 1.408 MB / 0.564 GB, free: 95.46 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001447/0.7842, allocations: 299.1 kB / 0.5643 GB, free: 95.39 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005035/0.7892, allocations: 3.616 MB / 0.5679 GB, free: 93.9 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001142/0.7904, allocations: 1.858 MB / 0.5697 GB, free: 92.99 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001112/0.7915, allocations: 349.7 kB / 0.57 GB, free: 92.95 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002799/0.7918, allocations: 107.1 kB / 0.5701 GB, free: 92.94 MB / 410.7 MB Notification: Performance of SimCode: time 7.61e-07/0.7918, allocations: 6.625 kB / 0.5701 GB, free: 92.94 MB / 410.7 MB Notification: Performance of Templates: time 0.03175/0.8236, allocations: 21.85 MB / 0.5915 GB, free: 89.92 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