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.00126/0.00126, allocations: 183.8 kB / 18.04 MB, free: 3.777 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.305/1.305, allocations: 205.4 MB / 224.2 MB, free: 9.027 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.0007315/0.0007315, allocations: 88.98 kB / 272.5 MB, free: 8.254 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003033/0.0003034, allocations: 11.98 kB / 329.5 MB, free: 15.27 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2205/0.2209, allocations: 47.58 MB / 377 MB, free: 45.63 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1185/0.3395, allocations: 105.7 MB / 482.7 MB, free: 6.809 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002778/0.3398, allocations: 91.95 kB / 482.8 MB, free: 6.719 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2943/0.6341, allocations: 46.01 MB / 0.5164 GB, free: 96.3 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.315e-06/0.6341, allocations: 0 / 0.5164 GB, free: 96.3 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001731/0.6343, allocations: 62.25 kB / 0.5165 GB, free: 96.29 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: 553 * Number of variables: 553 Notification: Performance of Generate backend data structure: time 0.00549/0.6398, allocations: 2.47 MB / 0.5189 GB, free: 94.97 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.924e-05/0.6399, allocations: 11.28 kB / 0.5189 GB, free: 94.97 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001145/0.641, allocations: 306.8 kB / 0.5192 GB, free: 94.82 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003842/0.6449, allocations: 1.647 MB / 0.5208 GB, free: 93.91 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001367/0.6451, allocations: 161 kB / 0.521 GB, free: 93.83 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007067/0.6458, allocations: 216.7 kB / 0.5212 GB, free: 93.76 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00553/0.6513, allocations: 2.791 MB / 0.5239 GB, free: 92.11 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001043/0.6515, allocations: 8.016 kB / 0.5239 GB, free: 92.11 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002946/0.6518, allocations: 94.12 kB / 0.524 GB, free: 92.04 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.93e-05/0.6519, allocations: 97.59 kB / 0.5241 GB, free: 92.02 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003905/0.6558, allocations: 2.254 MB / 0.5263 GB, free: 90.86 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01278/0.6686, allocations: 8.636 MB / 0.5347 GB, free: 82.05 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002074/0.6707, allocations: 1.75 MB / 0.5364 GB, free: 80.18 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001151/0.6719, allocations: 0.8317 MB / 0.5372 GB, free: 79.35 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002683/0.6722, allocations: 231 kB / 0.5375 GB, free: 79.09 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.147e-05/0.6722, allocations: 43.56 kB / 0.5375 GB, free: 79.04 MB / 378.7 MB Notification: Performance of pre-optimization done (n=104): time 3.656e-06/0.6722, allocations: 0 / 0.5375 GB, free: 79.04 MB / 378.7 MB Notification: Performance of matching and sorting (n=125): time 0.01411/0.6863, allocations: 7.018 MB / 0.5444 GB, free: 71.92 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.217e-05/0.6864, allocations: 64.41 kB / 0.5444 GB, free: 71.84 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002086/0.6885, allocations: 1.406 MB / 0.5458 GB, free: 70.43 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000128/0.6886, allocations: 45.7 kB / 0.5458 GB, free: 70.38 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005068/0.6891, allocations: 1.03 MB / 0.5468 GB, free: 69.34 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002812/0.6894, allocations: 445.3 kB / 0.5473 GB, free: 68.91 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.451e-05/0.6895, allocations: 28 kB / 0.5473 GB, free: 68.88 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 8.745e-05/0.6896, allocations: 369.8 kB / 0.5476 GB, free: 68.51 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001097/0.6907, allocations: 0.7457 MB / 0.5484 GB, free: 67.77 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001274/0.692, allocations: 1.123 MB / 0.5495 GB, free: 66.48 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0024/0.6944, allocations: 1.992 MB / 0.5514 GB, free: 64.34 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.018e-05/0.6945, allocations: 8 kB / 0.5514 GB, free: 64.33 MB / 378.7 MB Notification: Performance of matching and sorting (n=186) (initialization): time 0.004074/0.6985, allocations: 2.594 MB / 0.554 GB, free: 61.71 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.862e-05/0.6986, allocations: 15.92 kB / 0.554 GB, free: 61.7 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.046e-05/0.6986, allocations: 12 kB / 0.554 GB, free: 61.69 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001315/0.6999, allocations: 0.5763 MB / 0.5545 GB, free: 61.1 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001199/0.7012, allocations: 339.5 kB / 0.5549 GB, free: 60.77 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006207/0.7074, allocations: 6.334 MB / 0.5611 GB, free: 54.17 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001448/0.7088, allocations: 115.8 kB / 0.5612 GB, free: 54.06 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002243/0.7091, allocations: 63.98 kB / 0.5612 GB, free: 54 MB / 378.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 () * Number of clocked 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.001313/0.7104, allocations: 0.6925 MB / 0.5619 GB, free: 53.29 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004005/0.7108, allocations: 162 kB / 0.5621 GB, free: 53.13 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003911/0.7147, allocations: 2.374 MB / 0.5644 GB, free: 50.73 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.09e-05/0.7148, allocations: 12 kB / 0.5644 GB, free: 50.72 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.315e-05/0.7148, allocations: 8 kB / 0.5644 GB, free: 50.71 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.3e-05/0.7148, allocations: 7.969 kB / 0.5644 GB, free: 50.7 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007634/0.7225, allocations: 4.789 MB / 0.5691 GB, free: 45.84 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-05/0.7225, allocations: 12.02 kB / 0.5691 GB, free: 45.83 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008239/0.7233, allocations: 211.7 kB / 0.5693 GB, free: 45.62 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001515/0.7249, allocations: 0.631 MB / 0.5699 GB, free: 44.98 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001119/0.725, allocations: 35.98 kB / 0.5699 GB, free: 44.95 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007022/0.732, allocations: 8.064 MB / 0.5778 GB, free: 36.48 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.569e-06/0.7321, allocations: 7.984 kB / 0.5778 GB, free: 36.47 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004934/0.737, allocations: 3.417 MB / 0.5812 GB, free: 33 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009472/0.738, allocations: 398.9 kB / 0.5815 GB, free: 32.59 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002897/0.7383, allocations: 32.23 kB / 0.5816 GB, free: 32.56 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000898/0.7392, allocations: 103.9 kB / 0.5817 GB, free: 32.46 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002359/0.7394, allocations: 100.8 kB / 0.5818 GB, free: 32.36 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.47e-05/0.7395, allocations: 43.98 kB / 0.5818 GB, free: 32.31 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001422/0.741, allocations: 0.9576 MB / 0.5827 GB, free: 31.36 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.71e-07/0.741, allocations: 0 / 0.5827 GB, free: 31.36 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001578/0.7426, allocations: 0.5195 MB / 0.5833 GB, free: 30.84 MB / 378.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 () * Number of clocked 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.0004914/0.7431, allocations: 311.7 kB / 0.5836 GB, free: 30.55 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.003477/0.7465, allocations: 2.361 MB / 0.5859 GB, free: 28.15 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.538e-06/0.7466, allocations: 8.062 kB / 0.5859 GB, free: 28.14 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002315/0.7489, allocations: 1.525 MB / 0.5874 GB, free: 26.57 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002606/0.7515, allocations: 387 kB / 0.5877 GB, free: 26.2 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00748/0.759, allocations: 5.403 MB / 0.593 GB, free: 20.75 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001662/0.7607, allocations: 1.819 MB / 0.5948 GB, free: 18.89 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.001252/0.762, allocations: 358 kB / 0.5951 GB, free: 18.54 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003578/0.7623, allocations: 107.4 kB / 0.5952 GB, free: 18.43 MB / 378.7 MB Notification: Performance of SimCode: time 8.02e-07/0.7623, allocations: 4 kB / 0.5952 GB, free: 18.43 MB / 378.7 MB Notification: Performance of Templates: time 0.04185/0.8042, allocations: 27.2 MB / 0.6218 GB, free: 7.23 MB / 394.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/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_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_Inverter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches