Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_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_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_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.00101/0.00101, allocations: 180.6 kB / 8.479 MB, free: 1.879 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.094/1.094, allocations: 205.2 MB / 214.1 MB, free: 5.156 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.0008188/0.0008189, allocations: 82.53 kB / 262.1 MB, free: 5.207 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 5.13e-06/5.15e-06, allocations: 0 / 315 MB, free: 41.5 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06491/0.06493, allocations: 47.59 MB / 362.6 MB, free: 9.945 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2241/0.2891, allocations: 113.7 MB / 476.3 MB, free: 11.41 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002135/0.2893, allocations: 85.39 kB / 476.4 MB, free: 11.37 MB / 330.7 MB Notification: Performance of FrontEnd: time 0.2155/0.5048, allocations: 84.94 MB / 0.5482 GB, free: 13.41 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0001622/0.505, allocations: 83.86 kB / 0.5482 GB, free: 13.32 MB / 410.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.004819/0.5099, allocations: 2.79 MB / 0.551 GB, free: 10.47 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.457e-05/0.5099, allocations: 12.03 kB / 0.551 GB, free: 10.46 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001333/0.5112, allocations: 447.7 kB / 0.5514 GB, free: 10.02 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003472/0.5147, allocations: 1.961 MB / 0.5533 GB, free: 8.004 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.9e-05/0.5148, allocations: 88 kB / 0.5534 GB, free: 7.918 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003277/0.5152, allocations: 156 kB / 0.5535 GB, free: 7.762 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004262/0.5194, allocations: 2.596 MB / 0.5561 GB, free: 5.16 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00476/0.5242, allocations: 3.058 MB / 0.5591 GB, free: 1.957 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.437e-05/0.5243, allocations: 11.98 kB / 0.5591 GB, free: 1.945 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002239/0.5245, allocations: 4 kB / 0.5591 GB, free: 1.941 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001048/0.5246, allocations: 117.2 kB / 0.5592 GB, free: 1.824 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01541/0.5401, allocations: 10.8 MB / 0.5697 GB, free: 6.703 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001555/0.5416, allocations: 1.018 MB / 0.5707 GB, free: 5.68 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001452/0.5431, allocations: 1.082 MB / 0.5718 GB, free: 4.598 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003325/0.5434, allocations: 223.4 kB / 0.572 GB, free: 4.34 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.067e-05/0.5435, allocations: 48.53 kB / 0.572 GB, free: 4.285 MB / 426.7 MB Notification: Performance of pre-optimization done (n=136): time 2.986e-06/0.5435, allocations: 0 / 0.572 GB, free: 4.285 MB / 426.7 MB Notification: Performance of matching and sorting (n=159): time 0.1092/0.6527, allocations: 5.79 MB / 0.5777 GB, free: 146.5 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.49e-05/0.6528, allocations: 74.16 kB / 0.5778 GB, free: 146.4 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001829/0.6546, allocations: 1.477 MB / 0.5792 GB, free: 146.3 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001151/0.6547, allocations: 25.7 kB / 0.5792 GB, free: 146.2 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003375/0.6551, allocations: 1.026 MB / 0.5802 GB, free: 145.9 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002858/0.6554, allocations: 0.5185 MB / 0.5807 GB, free: 145.7 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.891e-05/0.6555, allocations: 0 / 0.5807 GB, free: 145.7 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 8.348e-05/0.6556, allocations: 377.5 kB / 0.5811 GB, free: 145.4 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001037/0.6566, allocations: 0.8769 MB / 0.582 GB, free: 145.4 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001158/0.6578, allocations: 1.335 MB / 0.5833 GB, free: 144.9 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001305/0.6591, allocations: 1.095 MB / 0.5843 GB, free: 144.8 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.523e-06/0.6591, allocations: 7.172 kB / 0.5843 GB, free: 144.8 MB / 426.7 MB Notification: Performance of matching and sorting (n=233) (initialization): time 0.004072/0.6632, allocations: 2.898 MB / 0.5872 GB, free: 144.6 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.177e-05/0.6632, allocations: 3.938 kB / 0.5872 GB, free: 144.6 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.564e-05/0.6632, allocations: 18 kB / 0.5872 GB, free: 144.6 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001476/0.6647, allocations: 0.6142 MB / 0.5878 GB, free: 144.6 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001601/0.6663, allocations: 439.2 kB / 0.5882 GB, free: 144.6 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00589/0.6722, allocations: 5.129 MB / 0.5932 GB, free: 143.3 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001371/0.6736, allocations: 78.31 kB / 0.5933 GB, free: 143.2 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001417/0.6738, allocations: 79.47 kB / 0.5934 GB, free: 143.2 MB / 426.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 {(6,72.2%) 27} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000251/0.674, allocations: 153.5 kB / 0.5935 GB, free: 143.1 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002926/0.6743, allocations: 196.6 kB / 0.5937 GB, free: 143 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003916/0.6782, allocations: 2.64 MB / 0.5963 GB, free: 142.9 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.234e-05/0.6783, allocations: 22.09 kB / 0.5963 GB, free: 142.9 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.844e-06/0.6783, allocations: 7.094 kB / 0.5963 GB, free: 142.9 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.366e-05/0.6783, allocations: 9.047 kB / 0.5963 GB, free: 142.9 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007409/0.6857, allocations: 5.327 MB / 0.6015 GB, free: 142.4 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.356e-05/0.6857, allocations: 3.375 kB / 0.6015 GB, free: 142.4 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001222/0.687, allocations: 291 kB / 0.6018 GB, free: 142.4 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001742/0.6887, allocations: 0.6752 MB / 0.6025 GB, free: 142.4 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001047/0.6888, allocations: 13.19 kB / 0.6025 GB, free: 142.4 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006895/0.6957, allocations: 6.757 MB / 0.6091 GB, free: 139.9 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.787e-06/0.6958, allocations: 2.812 kB / 0.6091 GB, free: 139.9 MB / 426.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004949/0.7007, allocations: 4.115 MB / 0.6131 GB, free: 139.3 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008136/0.7015, allocations: 483.3 kB / 0.6136 GB, free: 139.1 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003208/0.7019, allocations: 11.2 kB / 0.6136 GB, free: 139.1 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001159/0.703, allocations: 82.88 kB / 0.6136 GB, free: 139.1 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000205/0.7033, allocations: 93.5 kB / 0.6137 GB, free: 139.1 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001068/0.7034, allocations: 50.56 kB / 0.6138 GB, free: 139.1 MB / 426.7 MB Notification: Performance of sort global known variables: time 0.001283/0.7047, allocations: 1.111 MB / 0.6149 GB, free: 139 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001595/0.7063, allocations: 0.5594 MB / 0.6154 GB, free: 139 MB / 426.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.0004688/0.7067, allocations: 329.5 kB / 0.6157 GB, free: 138.9 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.003203/0.7099, allocations: 2.555 MB / 0.6182 GB, free: 138.1 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.71, allocations: 0 / 0.6182 GB, free: 138.1 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002105/0.7121, allocations: 1.556 MB / 0.6197 GB, free: 137.4 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001431/0.7135, allocations: 344.5 kB / 0.6201 GB, free: 137.3 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007139/0.7207, allocations: 4.629 MB / 0.6246 GB, free: 135.7 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001903/0.7226, allocations: 2.32 MB / 0.6269 GB, free: 134.7 MB / 426.7 MB Notification: Performance of SimCode: time 3.81e-07/0.7226, allocations: 0 / 0.6269 GB, free: 134.7 MB / 426.7 MB Notification: Performance of Templates: time 0.03921/0.7618, allocations: 28.26 MB / 0.6545 GB, free: 125.8 MB / 426.7 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_DOL.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_DOL.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_DOL.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_DOL.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_DOL.sim & ./Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_DOL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_DOL.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_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/SMEE_DOL/SMEE_DOL.csv","../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_DOL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches