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.001541/0.001541, allocations: 180.1 kB / 8.365 MB, free: 0.7109 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.977/1.977, allocations: 205.3 MB / 214.1 MB, free: 14.14 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001059/0.001059, allocations: 81.45 kB / 262.1 MB, free: 13.88 MB / 219.1 MB Notification: Performance of FrontEnd - loaded program: time 2.321e-05/2.331e-05, allocations: 4 kB / 314.8 MB, free: 9.145 MB / 267.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3335/0.3336, allocations: 47.56 MB / 362.3 MB, free: 45.81 MB / 299.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1736/0.5072, allocations: 104.7 MB / 467.1 MB, free: 13.54 MB / 363.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003502/0.5076, allocations: 88.94 kB / 467.2 MB, free: 13.46 MB / 363.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.4737/0.9813, allocations: 45.52 MB / 0.5007 GB, free: 97.42 MB / 395.1 MB Notification: Performance of FrontEnd: time 2.465e-06/0.9813, allocations: 0.5938 kB / 0.5007 GB, free: 97.42 MB / 395.1 MB Notification: Performance of Transformations before backend: time 0.0003451/0.9817, allocations: 57.66 kB / 0.5007 GB, free: 97.42 MB / 395.1 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.008988/0.9907, allocations: 2.248 MB / 0.5029 GB, free: 96.94 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.243e-05/0.9908, allocations: 11.5 kB / 0.5029 GB, free: 96.94 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001942/0.9927, allocations: 297.6 kB / 0.5032 GB, free: 96.8 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006313/0.9991, allocations: 1.592 MB / 0.5048 GB, free: 96.4 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001915/0.9993, allocations: 68.7 kB / 0.5048 GB, free: 96.4 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009036/1, allocations: 133.7 kB / 0.505 GB, free: 96.4 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.007056/1.007, allocations: 2.007 MB / 0.5069 GB, free: 96.39 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00865/1.016, allocations: 2.402 MB / 0.5093 GB, free: 96.04 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.00012/1.016, allocations: 8.266 kB / 0.5093 GB, free: 96.04 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003572/1.017, allocations: 2.562 kB / 0.5093 GB, free: 96.04 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001649/1.017, allocations: 100.5 kB / 0.5094 GB, free: 96.03 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0237/1.04, allocations: 8.217 MB / 0.5174 GB, free: 94.07 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003655/1.044, allocations: 1.655 MB / 0.519 GB, free: 93.47 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0019/1.046, allocations: 0.7586 MB / 0.5197 GB, free: 93.46 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004541/1.047, allocations: 218.7 kB / 0.52 GB, free: 93.27 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.586e-05/1.047, allocations: 47.62 kB / 0.52 GB, free: 93.23 MB / 395.1 MB Notification: Performance of pre-optimization done (n=106): time 4.478e-06/1.047, allocations: 3.875 kB / 0.52 GB, free: 93.23 MB / 395.1 MB Notification: Performance of matching and sorting (n=127): time 0.01492/1.062, allocations: 4.75 MB / 0.5246 GB, free: 91.79 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.923e-05/1.062, allocations: 68.38 kB / 0.5247 GB, free: 91.72 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002222/1.064, allocations: 1.025 MB / 0.5257 GB, free: 91.29 MB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003063/1.064, allocations: 25.7 kB / 0.5257 GB, free: 91.26 MB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006817/1.065, allocations: 1.004 MB / 0.5267 GB, free: 90.44 MB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005536/1.066, allocations: 425.3 kB / 0.5271 GB, free: 90.11 MB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001243/1.066, allocations: 0 / 0.5271 GB, free: 90.11 MB / 395.1 MB Notification: Performance of setup shared object (initialization): time 0.0001453/1.066, allocations: 370.8 kB / 0.5275 GB, free: 89.77 MB / 395.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001484/1.067, allocations: 0.6715 MB / 0.5281 GB, free: 89.52 MB / 395.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001716/1.069, allocations: 1.043 MB / 0.5291 GB, free: 88.81 MB / 395.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001984/1.071, allocations: 0.8424 MB / 0.53 GB, free: 88.5 MB / 395.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.587e-05/1.071, allocations: 6.156 kB / 0.53 GB, free: 88.5 MB / 395.1 MB Notification: Performance of matching and sorting (n=188) (initialization): time 0.005996/1.077, allocations: 2.265 MB / 0.5322 GB, free: 87.76 MB / 395.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.506e-05/1.077, allocations: 11.48 kB / 0.5322 GB, free: 87.75 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.775e-05/1.077, allocations: 11.44 kB / 0.5322 GB, free: 87.75 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002326/1.08, allocations: 0.5763 MB / 0.5328 GB, free: 87.6 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002525/1.082, allocations: 338 kB / 0.5331 GB, free: 87.59 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01031/1.093, allocations: 6.064 MB / 0.539 GB, free: 83.71 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002308/1.095, allocations: 79.38 kB / 0.5391 GB, free: 83.7 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003426/1.095, allocations: 64.03 kB / 0.5392 GB, free: 83.69 MB / 395.1 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.0004032/1.096, allocations: 147.6 kB / 0.5393 GB, free: 83.57 MB / 395.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005465/1.096, allocations: 144.8 kB / 0.5394 GB, free: 83.5 MB / 395.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005941/1.102, allocations: 2.161 MB / 0.5415 GB, free: 82.71 MB / 395.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.028e-05/1.102, allocations: 14.75 kB / 0.5416 GB, free: 82.71 MB / 395.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.317e-05/1.102, allocations: 8.781 kB / 0.5416 GB, free: 82.71 MB / 395.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.359e-05/1.102, allocations: 7.641 kB / 0.5416 GB, free: 82.71 MB / 395.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01214/1.115, allocations: 4.344 MB / 0.5458 GB, free: 80.96 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-05/1.115, allocations: 0 / 0.5458 GB, free: 80.96 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001815/1.116, allocations: 218.3 kB / 0.546 GB, free: 80.94 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002861/1.119, allocations: 0.6341 MB / 0.5466 GB, free: 80.78 MB / 395.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002586/1.12, allocations: 14.89 kB / 0.5467 GB, free: 80.77 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01209/1.132, allocations: 7.737 MB / 0.5542 GB, free: 75.48 MB / 395.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.093e-06/1.132, allocations: 2 kB / 0.5542 GB, free: 75.48 MB / 395.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007359/1.139, allocations: 3.303 MB / 0.5574 GB, free: 73.96 MB / 395.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001365/1.141, allocations: 384.8 kB / 0.5578 GB, free: 73.72 MB / 395.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004654/1.141, allocations: 8.656 kB / 0.5578 GB, free: 73.71 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001829/1.143, allocations: 79.56 kB / 0.5579 GB, free: 73.71 MB / 395.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004237/1.143, allocations: 107.7 kB / 0.558 GB, free: 73.69 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001396/1.144, allocations: 38.47 kB / 0.558 GB, free: 73.68 MB / 395.1 MB Notification: Performance of sorting global known variables: time 0.001608/1.145, allocations: 0.771 MB / 0.5588 GB, free: 73.34 MB / 395.1 MB Notification: Performance of sort global known variables: time 8.72e-07/1.145, allocations: 0 / 0.5588 GB, free: 73.34 MB / 395.1 MB Notification: Performance of remove unused functions: time 0.002686/1.148, allocations: 461 kB / 0.5592 GB, free: 73.33 MB / 395.1 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.0007604/1.149, allocations: 294.4 kB / 0.5595 GB, free: 73.2 MB / 395.1 MB Notification: Performance of simCode: created initialization part: time 0.005196/1.154, allocations: 2.174 MB / 0.5616 GB, free: 71.23 MB / 395.1 MB Notification: Performance of simCode: created event and clocks part: time 9.077e-06/1.154, allocations: 0 / 0.5616 GB, free: 71.23 MB / 395.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00373/1.158, allocations: 1.406 MB / 0.563 GB, free: 69.94 MB / 395.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002871/1.161, allocations: 302.3 kB / 0.5633 GB, free: 69.71 MB / 395.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009468/1.17, allocations: 3.679 MB / 0.5669 GB, free: 66.4 MB / 395.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002063/1.172, allocations: 1.848 MB / 0.5687 GB, free: 64.91 MB / 395.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007919/1.173, allocations: 114.9 kB / 0.5688 GB, free: 64.8 MB / 395.1 MB Notification: Performance of SimCode: time 2.074e-06/1.173, allocations: 0 / 0.5688 GB, free: 64.8 MB / 395.1 MB Notification: Performance of Templates: time 0.09011/1.263, allocations: 55.51 MB / 0.623 GB, free: 13.54 MB / 395.1 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