Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL.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_DOL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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.",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL") translateModel(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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.",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL") [: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.001582/0.001582, allocations: 176.9 kB / 8.475 MB, free: 1.875 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.099/1.099, allocations: 205.2 MB / 214.1 MB, free: 1.805 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.0008898/0.0008899, allocations: 83.44 kB / 262.1 MB, free: 1.762 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 6.242e-06/6.262e-06, allocations: 4 kB / 315 MB, free: 23.02 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06726/0.06728, allocations: 47.59 MB / 362.6 MB, free: 7.367 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2379/0.3052, allocations: 106.7 MB / 469.3 MB, free: 5.066 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002227/0.3054, allocations: 90.94 kB / 469.4 MB, free: 5.02 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.129/0.4345, allocations: 49.33 MB / 0.5066 GB, free: 9.367 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.00017/0.4347, allocations: 63.92 kB / 0.5066 GB, free: 9.305 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: 606 * Number of variables: 606 Notification: Performance of Generate backend data structure: time 0.004865/0.4396, allocations: 2.495 MB / 0.5091 GB, free: 6.75 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.555e-05/0.4396, allocations: 12.03 kB / 0.5091 GB, free: 6.738 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009539/0.4406, allocations: 332.3 kB / 0.5094 GB, free: 6.41 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003696/0.4443, allocations: 1.787 MB / 0.5111 GB, free: 4.566 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.474e-05/0.4444, allocations: 76 kB / 0.5112 GB, free: 4.492 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003282/0.4447, allocations: 143.9 kB / 0.5114 GB, free: 4.352 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004042/0.4488, allocations: 2.364 MB / 0.5137 GB, free: 1.98 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00422/0.453, allocations: 2.743 MB / 0.5163 GB, free: 15.09 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.982e-05/0.4531, allocations: 3.938 kB / 0.5163 GB, free: 15.09 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001903/0.4533, allocations: 7.906 kB / 0.5163 GB, free: 15.08 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001001/0.4534, allocations: 108.6 kB / 0.5165 GB, free: 14.97 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01437/0.4678, allocations: 9.373 MB / 0.5256 GB, free: 5.332 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001527/0.4693, allocations: 0.9555 MB / 0.5265 GB, free: 4.363 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00148/0.4708, allocations: 1.043 MB / 0.5276 GB, free: 3.32 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000327/0.4712, allocations: 215.2 kB / 0.5278 GB, free: 3.074 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.811e-05/0.4712, allocations: 47.56 kB / 0.5278 GB, free: 3.02 MB / 410.7 MB Notification: Performance of pre-optimization done (n=121): time 2.685e-06/0.4712, allocations: 0 / 0.5278 GB, free: 3.02 MB / 410.7 MB Notification: Performance of matching and sorting (n=143): time 0.1496/0.6208, allocations: 5.346 MB / 0.533 GB, free: 85.66 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.493e-05/0.6209, allocations: 68.47 kB / 0.5331 GB, free: 85.6 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001773/0.6226, allocations: 1.294 MB / 0.5344 GB, free: 85.44 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001378/0.6228, allocations: 25.7 kB / 0.5344 GB, free: 85.41 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003581/0.6232, allocations: 0.8916 MB / 0.5353 GB, free: 85.02 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003131/0.6235, allocations: 473.7 kB / 0.5357 GB, free: 84.78 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.963e-05/0.6236, allocations: 0 / 0.5357 GB, free: 84.78 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 8.855e-05/0.6237, allocations: 371.8 kB / 0.5361 GB, free: 84.47 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009978/0.6247, allocations: 0.8099 MB / 0.5369 GB, free: 84.46 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00117/0.6258, allocations: 1.165 MB / 0.538 GB, free: 84.06 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001243/0.6271, allocations: 0.9861 MB / 0.539 GB, free: 84.04 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.672e-06/0.6271, allocations: 3.906 kB / 0.539 GB, free: 84.04 MB / 410.7 MB Notification: Performance of matching and sorting (n=203) (initialization): time 0.003889/0.631, allocations: 2.62 MB / 0.5415 GB, free: 83.86 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.854e-05/0.6311, allocations: 8.062 kB / 0.5415 GB, free: 83.86 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.729e-05/0.6311, allocations: 13.58 kB / 0.5415 GB, free: 83.86 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001324/0.6324, allocations: 0.5805 MB / 0.5421 GB, free: 83.83 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001354/0.6338, allocations: 365 kB / 0.5424 GB, free: 83.83 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005852/0.6396, allocations: 5.794 MB / 0.5481 GB, free: 81.36 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001541/0.6412, allocations: 67.92 kB / 0.5482 GB, free: 81.35 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001438/0.6414, allocations: 63.89 kB / 0.5482 GB, free: 81.35 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 50 * Number of states: 0 () * Number of discrete variables: 3 (booleanStep[1].y,booleanStep[2].y,booleanStep[3].y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (174): * Single equations (assignments): 171 * 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.0002889/0.6417, allocations: 143 kB / 0.5484 GB, free: 81.25 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003054/0.642, allocations: 178.9 kB / 0.5485 GB, free: 81.16 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003734/0.6457, allocations: 2.458 MB / 0.5509 GB, free: 81.02 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.136e-05/0.6457, allocations: 15.94 kB / 0.551 GB, free: 81.02 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.465e-06/0.6458, allocations: 2.906 kB / 0.551 GB, free: 81.02 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.206e-05/0.6458, allocations: 7.031 kB / 0.551 GB, free: 81.02 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007342/0.6531, allocations: 4.899 MB / 0.5557 GB, free: 80.54 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.134e-06/0.6532, allocations: 3.938 kB / 0.5558 GB, free: 80.54 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001028/0.6542, allocations: 232.8 kB / 0.556 GB, free: 80.54 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001565/0.6558, allocations: 0.6356 MB / 0.5566 GB, free: 80.51 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001096/0.6559, allocations: 17.5 kB / 0.5566 GB, free: 80.51 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006969/0.6629, allocations: 7.406 MB / 0.5638 GB, free: 76.84 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.659e-06/0.6629, allocations: 6.875 kB / 0.5639 GB, free: 76.84 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00477/0.6677, allocations: 3.841 MB / 0.5676 GB, free: 76.23 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008802/0.6686, allocations: 438.3 kB / 0.568 GB, free: 76.05 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003053/0.6689, allocations: 14.03 kB / 0.568 GB, free: 76.05 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009663/0.6699, allocations: 62.44 kB / 0.5681 GB, free: 76.05 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002085/0.6701, allocations: 99.62 kB / 0.5682 GB, free: 76.05 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001001/0.6702, allocations: 44.61 kB / 0.5682 GB, free: 76.05 MB / 410.7 MB Notification: Performance of sort global known variables: time 0.001239/0.6715, allocations: 0.9699 MB / 0.5692 GB, free: 75.94 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001635/0.6731, allocations: 497.1 kB / 0.5697 GB, free: 75.94 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 6 (smr.inertiaRotor.w,smr.idq_sr[1],smr.idq_sr[2],smr.idq_dr[1],smr.idq_dr[2],loadInertia.phi) * Number of discrete variables: 3 (booleanStep[1].y,booleanStep[2].y,booleanStep[3].y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (112): * Single equations (assignments): 109 * 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,75.0%) 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.0004885/0.6736, allocations: 292.9 kB / 0.5699 GB, free: 75.85 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.003371/0.677, allocations: 2.399 MB / 0.5723 GB, free: 75.45 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.576e-06/0.677, allocations: 3.828 kB / 0.5723 GB, free: 75.45 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002082/0.6791, allocations: 1.515 MB / 0.5738 GB, free: 74.79 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001641/0.6808, allocations: 334.3 kB / 0.5741 GB, free: 74.71 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006728/0.6875, allocations: 4.15 MB / 0.5781 GB, free: 73.13 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002052/0.6896, allocations: 2.158 MB / 0.5802 GB, free: 72.16 MB / 410.7 MB Notification: Performance of SimCode: time 6.92e-07/0.6896, allocations: 5.031 kB / 0.5802 GB, free: 72.16 MB / 410.7 MB Notification: Performance of Templates: time 0.04197/0.7316, allocations: 25.42 MB / 0.6051 GB, free: 64.98 MB / 410.7 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL.sim & ./Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL_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_DOL/SMR_DOL.csv","../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches