Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_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.SMEE_DOL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=60000,variableFilter="time|smee.is.1.|smee.is.2.|smee.idq_dr.1.|smee.idq_rr.2.|smee.idq_sr.1.|smee.idq_sr.2.|smee.inertiaRotor.phi|smee.inertiaRotor.w|smee.lesigma.i",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_DOL") translateModel(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_DOL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=60000,variableFilter="time|smee.is.1.|smee.is.2.|smee.idq_dr.1.|smee.idq_rr.2.|smee.idq_sr.1.|smee.idq_sr.2.|smee.inertiaRotor.phi|smee.inertiaRotor.w|smee.lesigma.i",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_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.002577/0.002581, allocations: 183.8 kB / 8.153 MB, free: 2.203 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.677/1.677, allocations: 205.2 MB / 213.8 MB, free: 13.86 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.001281/0.00128, allocations: 90.48 kB / 261.8 MB, free: 13.63 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.489e-05/1.498e-05, allocations: 4 kB / 314.3 MB, free: 9.043 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2268/0.2268, allocations: 47.55 MB / 361.8 MB, free: 45.65 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.177/0.4039, allocations: 113.7 MB / 475.6 MB, free: 4.25 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003473/0.4043, allocations: 84.45 kB / 475.7 MB, free: 4.168 MB / 362.7 MB Notification: Performance of FrontEnd: time 0.5215/0.9258, allocations: 84.95 MB / 0.5475 GB, free: 92.84 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0003378/0.9262, allocations: 76.27 kB / 0.5475 GB, free: 92.83 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: 701 * Number of variables: 701 Notification: Performance of Generate backend data structure: time 0.01155/0.9378, allocations: 2.793 MB / 0.5503 GB, free: 91.02 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.015e-05/0.9379, allocations: 10.97 kB / 0.5503 GB, free: 91.02 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003486/0.9414, allocations: 452.8 kB / 0.5507 GB, free: 90.69 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007772/0.9492, allocations: 1.964 MB / 0.5526 GB, free: 88.7 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002013/0.9495, allocations: 88 kB / 0.5527 GB, free: 88.62 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001211/0.9507, allocations: 163.8 kB / 0.5529 GB, free: 88.46 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.009204/0.9599, allocations: 2.588 MB / 0.5554 GB, free: 85.86 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01107/0.971, allocations: 3.063 MB / 0.5584 GB, free: 82.66 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001811/0.9713, allocations: 11.89 kB / 0.5584 GB, free: 82.64 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001003/0.9723, allocations: 0 / 0.5584 GB, free: 82.64 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001437/0.9725, allocations: 117.3 kB / 0.5585 GB, free: 82.53 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03103/1.004, allocations: 10.8 MB / 0.5691 GB, free: 71.5 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002848/1.006, allocations: 1.019 MB / 0.5701 GB, free: 70.47 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002874/1.009, allocations: 1.082 MB / 0.5711 GB, free: 69.39 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006159/1.01, allocations: 231.3 kB / 0.5713 GB, free: 69.13 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.689e-05/1.01, allocations: 47.88 kB / 0.5714 GB, free: 69.07 MB / 394.7 MB Notification: Performance of pre-optimization done (n=136): time 6.102e-06/1.01, allocations: 0 / 0.5714 GB, free: 69.07 MB / 394.7 MB Notification: Performance of matching and sorting (n=159): time 0.02139/1.032, allocations: 5.795 MB / 0.577 GB, free: 63.26 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.255e-05/1.032, allocations: 68.72 kB / 0.5771 GB, free: 63.18 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003742/1.035, allocations: 1.474 MB / 0.5785 GB, free: 61.7 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004089/1.036, allocations: 29.7 kB / 0.5786 GB, free: 61.67 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004628/1.036, allocations: 0.9592 MB / 0.5795 GB, free: 60.7 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006781/1.037, allocations: 0.5196 MB / 0.58 GB, free: 60.17 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001626/1.037, allocations: 0 / 0.58 GB, free: 60.17 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001431/1.037, allocations: 382.8 kB / 0.5804 GB, free: 59.79 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002119/1.039, allocations: 0.8747 MB / 0.5812 GB, free: 58.91 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002468/1.042, allocations: 1.33 MB / 0.5825 GB, free: 57.38 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002792/1.045, allocations: 1.099 MB / 0.5836 GB, free: 56.29 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.711e-05/1.045, allocations: 4 kB / 0.5836 GB, free: 56.28 MB / 394.7 MB Notification: Performance of matching and sorting (n=233) (initialization): time 0.008611/1.053, allocations: 2.783 MB / 0.5863 GB, free: 53.49 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.239e-05/1.054, allocations: 4 kB / 0.5863 GB, free: 53.49 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.361e-05/1.054, allocations: 16 kB / 0.5863 GB, free: 53.47 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002604/1.056, allocations: 0.6002 MB / 0.5869 GB, free: 52.87 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003607/1.06, allocations: 443.4 kB / 0.5874 GB, free: 52.43 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01236/1.072, allocations: 5.223 MB / 0.5925 GB, free: 47.1 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00202/1.074, allocations: 79.83 kB / 0.5925 GB, free: 47.02 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002795/1.075, allocations: 75.98 kB / 0.5926 GB, free: 46.95 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 63 * Number of states: 0 () * Number of discrete variables: 1 (booleanReplicator.y[3]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (198): * Single equations (assignments): 194 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * 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: 1 {(9,54.3%) 24} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004444/1.075, allocations: 73.19 kB / 0.5927 GB, free: 46.87 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007324/1.076, allocations: 197.6 kB / 0.5929 GB, free: 46.68 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007866/1.084, allocations: 2.64 MB / 0.5954 GB, free: 44.03 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.482e-05/1.084, allocations: 16 kB / 0.5955 GB, free: 44.01 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.505e-05/1.084, allocations: 4 kB / 0.5955 GB, free: 44.01 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-05/1.084, allocations: 7.969 kB / 0.5955 GB, free: 44 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01695/1.101, allocations: 5.331 MB / 0.6007 GB, free: 38.62 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.882e-05/1.101, allocations: 4.188 kB / 0.6007 GB, free: 38.62 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0027/1.104, allocations: 287.9 kB / 0.601 GB, free: 38.34 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003502/1.107, allocations: 0.6769 MB / 0.6016 GB, free: 37.65 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003591/1.108, allocations: 19.89 kB / 0.6016 GB, free: 37.63 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01402/1.122, allocations: 6.758 MB / 0.6082 GB, free: 30.65 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.009e-05/1.122, allocations: 3.906 kB / 0.6082 GB, free: 30.64 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01083/1.133, allocations: 4.109 MB / 0.6123 GB, free: 26.45 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001799/1.134, allocations: 486.5 kB / 0.6127 GB, free: 25.95 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006749/1.135, allocations: 11.98 kB / 0.6127 GB, free: 25.94 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002533/1.138, allocations: 91.75 kB / 0.6128 GB, free: 25.85 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000452/1.138, allocations: 97.11 kB / 0.6129 GB, free: 25.75 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001813/1.138, allocations: 43.98 kB / 0.6129 GB, free: 25.71 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.002598/1.141, allocations: 1.105 MB / 0.614 GB, free: 24.61 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.003298/1.144, allocations: 0.5624 MB / 0.6146 GB, free: 24.05 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 7 (smee.inertiaRotor.w,smee.idq_sr[1],smee.idq_sr[2],smee.idq_rr[1],smee.idq_rr[2],smee.idq_dr[1],mechanicalMultiSensor.flange_a.phi) * Number of discrete variables: 1 (booleanReplicator.y[3]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (122): * Single equations (assignments): 118 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(6,72.2%) 27,(2,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009019/1.145, allocations: 325.8 kB / 0.6149 GB, free: 23.75 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.006692/1.152, allocations: 2.57 MB / 0.6174 GB, free: 21.14 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 7.714e-06/1.152, allocations: 1.312 kB / 0.6174 GB, free: 21.14 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004716/1.157, allocations: 1.549 MB / 0.6189 GB, free: 19.55 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003908/1.161, allocations: 341.6 kB / 0.6192 GB, free: 19.22 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01632/1.177, allocations: 4.685 MB / 0.6238 GB, free: 14.45 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005063/1.182, allocations: 2.311 MB / 0.6261 GB, free: 12.11 MB / 394.7 MB Notification: Performance of SimCode: time 1.823e-06/1.182, allocations: 0 / 0.6261 GB, free: 12.11 MB / 394.7 MB Notification: Performance of Templates: time 0.2502/1.433, allocations: 59.86 MB / 0.6845 GB, free: 133.2 MB / 410.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_DOL.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_DOL.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_DOL.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_DOL.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_DOL.sim & ./Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_DOL --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_DOL.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_DOL_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Machines/Examples/SynchronousInductionMachines/SMEE_DOL/SMEE_DOL.csv","../files/Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_DOL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches