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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002308/0.002307, allocations: 175.9 kB / 8.152 MB, free: 2.195 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.77/1.77, allocations: 205.2 MB / 213.8 MB, free: 13.85 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.001237/0.001237, allocations: 87.38 kB / 261.8 MB, free: 13.62 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.074e-05/1.076e-05, allocations: 4 kB / 314.3 MB, free: 9.016 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2695/0.2696, allocations: 47.56 MB / 361.8 MB, free: 45.49 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1638/0.4334, allocations: 104.6 MB / 466.5 MB, free: 13.23 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000321/0.4338, allocations: 87.95 kB / 466.6 MB, free: 13.14 MB / 362.7 MB Notification: Performance of FrontEnd: time 0.3558/0.7896, allocations: 45.29 MB / 0.4999 GB, free: 97.18 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0002465/0.7899, allocations: 59.05 kB / 0.4999 GB, free: 97.18 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.007348/0.7973, allocations: 2.249 MB / 0.5021 GB, free: 96.62 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.484e-05/0.7974, allocations: 7.781 kB / 0.5021 GB, free: 96.62 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001413/0.7988, allocations: 303.5 kB / 0.5024 GB, free: 96.49 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004917/0.8037, allocations: 1.611 MB / 0.504 GB, free: 96.07 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.923e-05/0.8039, allocations: 70.31 kB / 0.5041 GB, free: 96.07 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004343/0.8043, allocations: 134.2 kB / 0.5042 GB, free: 96.07 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.006608/0.8109, allocations: 2.041 MB / 0.5062 GB, free: 96.05 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007404/0.8184, allocations: 2.436 MB / 0.5086 GB, free: 95.71 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001027/0.8185, allocations: 9.094 kB / 0.5086 GB, free: 95.7 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002801/0.8188, allocations: 3.031 kB / 0.5086 GB, free: 95.7 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001153/0.819, allocations: 100.1 kB / 0.5087 GB, free: 95.7 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02202/0.841, allocations: 8.248 MB / 0.5167 GB, free: 93.74 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002453/0.8435, allocations: 0.8472 MB / 0.5175 GB, free: 93.71 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002044/0.8456, allocations: 0.8414 MB / 0.5184 GB, free: 93.7 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004192/0.846, allocations: 213.9 kB / 0.5186 GB, free: 93.52 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.248e-05/0.8461, allocations: 47.06 kB / 0.5186 GB, free: 93.48 MB / 394.7 MB Notification: Performance of pre-optimization done (n=106): time 3.828e-06/0.8461, allocations: 0 / 0.5186 GB, free: 93.48 MB / 394.7 MB Notification: Performance of matching and sorting (n=127): time 0.01528/0.8614, allocations: 4.792 MB / 0.5233 GB, free: 92.18 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.78e-05/0.8615, allocations: 66.47 kB / 0.5234 GB, free: 92.12 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002262/0.8637, allocations: 1.033 MB / 0.5244 GB, free: 91.69 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002872/0.864, allocations: 33.2 kB / 0.5244 GB, free: 91.66 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003564/0.8644, allocations: 0.7923 MB / 0.5252 GB, free: 91.02 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004243/0.8649, allocations: 431.4 kB / 0.5256 GB, free: 90.69 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000117/0.865, allocations: 0 / 0.5256 GB, free: 90.69 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001266/0.8651, allocations: 369.6 kB / 0.5259 GB, free: 90.36 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001642/0.8668, allocations: 0.6931 MB / 0.5266 GB, free: 90.1 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001808/0.8686, allocations: 1.065 MB / 0.5277 GB, free: 89.39 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002079/0.8707, allocations: 0.8799 MB / 0.5285 GB, free: 89.08 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.001e-05/0.8707, allocations: 3.969 kB / 0.5285 GB, free: 89.08 MB / 394.7 MB Notification: Performance of matching and sorting (n=188) (initialization): time 0.006396/0.8771, allocations: 2.309 MB / 0.5308 GB, free: 88.33 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.416e-05/0.8772, allocations: 7.656 kB / 0.5308 GB, free: 88.33 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.912e-05/0.8772, allocations: 11.56 kB / 0.5308 GB, free: 88.33 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00233/0.8796, allocations: 0.569 MB / 0.5314 GB, free: 88.18 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002712/0.8823, allocations: 330.9 kB / 0.5317 GB, free: 88.17 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01125/0.8936, allocations: 5.859 MB / 0.5374 GB, free: 84.51 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001571/0.8952, allocations: 59.88 kB / 0.5374 GB, free: 84.51 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001987/0.8955, allocations: 58.44 kB / 0.5375 GB, free: 84.5 MB / 394.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 {(8,60.9%) 20,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003666/0.8958, allocations: 70.48 kB / 0.5376 GB, free: 84.45 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005321/0.8964, allocations: 147.6 kB / 0.5377 GB, free: 84.38 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007145/0.9036, allocations: 2.2 MB / 0.5399 GB, free: 83.59 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.823e-05/0.9036, allocations: 12.94 kB / 0.5399 GB, free: 83.59 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.133e-05/0.9037, allocations: 6.781 kB / 0.5399 GB, free: 83.59 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.611e-05/0.9037, allocations: 9.469 kB / 0.5399 GB, free: 83.59 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01376/0.9175, allocations: 4.354 MB / 0.5441 GB, free: 81.89 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.978e-05/0.9175, allocations: 2.375 kB / 0.5441 GB, free: 81.89 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002038/0.9196, allocations: 208.6 kB / 0.5443 GB, free: 81.89 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003195/0.9228, allocations: 0.6333 MB / 0.545 GB, free: 81.71 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002644/0.9231, allocations: 18.53 kB / 0.545 GB, free: 81.71 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01414/0.9373, allocations: 7.402 MB / 0.5522 GB, free: 76.65 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.047e-05/0.9373, allocations: 7.062 kB / 0.5522 GB, free: 76.64 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.009626/0.947, allocations: 3.399 MB / 0.5555 GB, free: 75.14 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001574/0.9486, allocations: 390.9 kB / 0.5559 GB, free: 74.89 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005122/0.9492, allocations: 7.344 kB / 0.5559 GB, free: 74.89 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001953/0.9511, allocations: 64.5 kB / 0.556 GB, free: 74.88 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003187/0.9515, allocations: 76.16 kB / 0.556 GB, free: 74.87 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000154/0.9517, allocations: 41.22 kB / 0.5561 GB, free: 74.86 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.001856/0.9535, allocations: 0.7766 MB / 0.5568 GB, free: 74.48 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.002592/0.9562, allocations: 455.8 kB / 0.5573 GB, free: 74.04 MB / 394.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.0007521/0.957, allocations: 288 kB / 0.5575 GB, free: 73.79 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.005604/0.9626, allocations: 2.155 MB / 0.5597 GB, free: 71.78 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 9.918e-06/0.9626, allocations: 0 / 0.5597 GB, free: 71.78 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003954/0.9666, allocations: 1.355 MB / 0.561 GB, free: 70.52 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002942/0.9696, allocations: 280.4 kB / 0.5612 GB, free: 70.3 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01147/0.9811, allocations: 3.759 MB / 0.5649 GB, free: 66.91 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002964/0.9841, allocations: 1.949 MB / 0.5668 GB, free: 65.31 MB / 394.7 MB Notification: Performance of SimCode: time 1.744e-06/0.9842, allocations: 0 / 0.5668 GB, free: 65.31 MB / 394.7 MB Notification: Performance of Templates: time 0.08543/1.07, allocations: 56.54 MB / 0.622 GB, free: 13.31 MB / 394.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