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/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0007665/0.0007665, allocations: 68.19 kB / 9.935 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001099/0.001865, allocations: 445.7 kB / 10.37 MB, free: 328 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0007179/0.0007179, allocations: 161.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009606/0.001678, allocations: 463.6 kB / 11.71 MB, free: 2.453 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.015/1.015, allocations: 158.6 MB / 171.1 MB, free: 2.574 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1629/1.178, allocations: 49.48 MB / 220.5 MB, free: 1.457 MB / 218.7 MB " [Timeout remaining time 179] 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 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_DOL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|smee.is.[0-9,]+.|smee.idq_dr.[0-9,]+.|smee.idq_rr.[0-9,]+.|smee.idq_sr.[0-9,]+.|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=30000,variableFilter="time|smee.is.[0-9,]+.|smee.idq_dr.[0-9,]+.|smee.idq_rr.[0-9,]+.|smee.idq_sr.[0-9,]+.|smee.inertiaRotor.phi|smee.inertiaRotor.w|smee.lesigma.i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_DOL") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.332e-06/1.332e-06, allocations: 0 / 221.8 MB, free: 164 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.508e-05/2.641e-05, allocations: 6.25 kB / 221.9 MB, free: 156 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_DOL): time 0.02566/0.02568, allocations: 11.44 MB / 233.3 MB, free: 4.656 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.008869/0.03455, allocations: 4.072 MB / 237.4 MB, free: 0.5703 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002374/0.03693, allocations: 67.56 kB / 237.4 MB, free: 0.5039 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002205/0.03913, allocations: 0.8634 MB / 238.3 MB, free: 15.64 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003308/0.04244, allocations: 1.075 MB / 239.4 MB, free: 14.56 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00133/0.04377, allocations: 0.5264 MB / 239.9 MB, free: 14.03 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.003797/0.04757, allocations: 3.59 MB / 243.5 MB, free: 10.43 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001671/0.04924, allocations: 1.513 MB / 245 MB, free: 8.828 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004642/0.05388, allocations: 2.768 MB / 247.8 MB, free: 6.035 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002666/0.05655, allocations: 1.722 MB / 249.5 MB, free: 4.309 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001067/0.05761, allocations: 396 kB / 249.9 MB, free: 3.922 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00148/0.05909, allocations: 0.6167 MB / 250.5 MB, free: 3.305 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008263/0.05992, allocations: 0.939 MB / 251.4 MB, free: 2.363 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00187/0.06179, allocations: 1.029 MB / 252.5 MB, free: 1.332 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00403/0.06582, allocations: 2.784 MB / 255.2 MB, free: 14.54 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.105e-05/0.06585, allocations: 7.984 kB / 255.2 MB, free: 14.53 MB / 266.7 MB Notification: Performance of FrontEnd: time 3.487e-06/0.06585, allocations: 0 / 255.2 MB, free: 14.53 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001327/0.06599, allocations: 0 / 255.2 MB, free: 14.53 MB / 266.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.005467/0.07145, allocations: 4.095 MB / 259.3 MB, free: 10.39 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.632e-05/0.07149, allocations: 12.03 kB / 259.4 MB, free: 10.38 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001117/0.07261, allocations: 0.6225 MB / 260 MB, free: 9.738 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001717/0.07432, allocations: 1.199 MB / 261.2 MB, free: 8.488 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000112/0.07443, allocations: 209.8 kB / 261.4 MB, free: 8.281 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002532/0.07469, allocations: 272.1 kB / 261.6 MB, free: 8.016 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002246/0.07693, allocations: 2.057 MB / 263.7 MB, free: 5.848 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.241e-05/0.07699, allocations: 15.88 kB / 263.7 MB, free: 5.832 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001439/0.07713, allocations: 108 kB / 263.8 MB, free: 5.727 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001068/0.07724, allocations: 133.2 kB / 264 MB, free: 5.594 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001161/0.0784, allocations: 0.7823 MB / 264.7 MB, free: 4.781 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009182/0.08758, allocations: 7.231 MB / 272 MB, free: 13.23 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009988/0.08858, allocations: 0.797 MB / 272.8 MB, free: 12.42 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006221/0.0892, allocations: 468.4 kB / 273.2 MB, free: 11.96 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00019/0.08939, allocations: 61.28 kB / 273.3 MB, free: 11.9 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.614e-05/0.08943, allocations: 43.88 kB / 273.3 MB, free: 11.84 MB / 282.7 MB Notification: Performance of pre-optimization done (n=131): time 4.939e-06/0.08943, allocations: 4 kB / 273.3 MB, free: 11.84 MB / 282.7 MB Notification: Performance of matching and sorting (n=148): time 0.005862/0.09529, allocations: 2.914 MB / 276.2 MB, free: 8.902 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.513e-05/0.09533, allocations: 64.72 kB / 276.3 MB, free: 8.828 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001176/0.09651, allocations: 1.291 MB / 277.6 MB, free: 7.535 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 7.336e-05/0.09658, allocations: 53.7 kB / 277.6 MB, free: 7.477 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005093/0.09709, allocations: 1.11 MB / 278.8 MB, free: 6.352 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000274/0.09736, allocations: 0.5228 MB / 279.3 MB, free: 5.824 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003147/0.09768, allocations: 311.3 kB / 279.6 MB, free: 5.516 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.629e-05/0.09775, allocations: 305.1 kB / 279.9 MB, free: 5.215 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002902/0.09804, allocations: 198.8 kB / 280.1 MB, free: 5.02 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004869/0.09853, allocations: 0.6776 MB / 280.8 MB, free: 4.137 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009199/0.09945, allocations: 1.091 MB / 281.8 MB, free: 2.832 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.654e-06/0.09946, allocations: 4 kB / 281.8 MB, free: 2.828 MB / 282.7 MB Notification: Performance of matching and sorting (n=226) (initialization): time 0.001607/0.1011, allocations: 1.184 MB / 283 MB, free: 1.621 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.639e-05/0.1011, allocations: 12 kB / 283 MB, free: 1.609 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.962e-05/0.1011, allocations: 16 kB / 283.1 MB, free: 1.594 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006927/0.1018, allocations: 308.1 kB / 283.4 MB, free: 1.281 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009151/0.1027, allocations: 435.4 kB / 283.8 MB, free: 0.8555 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1351/0.2378, allocations: 3.745 MB / 287.5 MB, free: 43.05 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001479/0.2392, allocations: 65.66 kB / 287.6 MB, free: 43.05 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002148/0.2395, allocations: 61.05 kB / 287.7 MB, free: 43.05 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 68 * Number of states: 0 () * Number of discrete variables: 1 (booleanReplicator.y[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (199): * Single equations (assignments): 194 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(3,16,100.0%), (1,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0008991/0.2404, allocations: 226.2 kB / 287.9 MB, free: 42.93 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003958/0.2408, allocations: 171.1 kB / 288 MB, free: 42.93 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001733/0.2425, allocations: 0.9805 MB / 289 MB, free: 42.81 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.314e-05/0.2425, allocations: 20.02 kB / 289 MB, free: 42.81 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.405e-05/0.2425, allocations: 4.375 kB / 289 MB, free: 42.81 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.805e-05/0.2426, allocations: 14.22 kB / 289.1 MB, free: 42.8 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005242/0.2478, allocations: 2.871 MB / 291.9 MB, free: 42.3 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.355e-05/0.2478, allocations: 3.125 kB / 291.9 MB, free: 42.3 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009902/0.2488, allocations: 347.4 kB / 292.3 MB, free: 42.29 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006425/0.2494, allocations: 255.3 kB / 292.5 MB, free: 42.29 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008205/0.2503, allocations: 331.1 kB / 292.8 MB, free: 42.25 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.795e-05/0.2503, allocations: 37.88 kB / 292.9 MB, free: 42.25 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003576/0.2539, allocations: 4.941 MB / 297.8 MB, free: 38.37 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.912e-05/0.2539, allocations: 7.281 kB / 297.8 MB, free: 38.37 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002397/0.2563, allocations: 1.447 MB / 299.3 MB, free: 37.93 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003437/0.2567, allocations: 38 kB / 299.3 MB, free: 37.93 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005952/0.2573, allocations: 60.41 kB / 299.4 MB, free: 37.93 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002436/0.2575, allocations: 119.4 kB / 299.5 MB, free: 37.93 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.605e-05/0.2576, allocations: 38.41 kB / 299.5 MB, free: 37.93 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.00109/0.2587, allocations: 0.6549 MB / 300.2 MB, free: 37.88 MB / 282.7 MB Notification: Performance of sort global known variables: time 4.81e-07/0.2587, allocations: 0 / 300.2 MB, free: 37.88 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.002003/0.2607, allocations: 0.5784 MB / 300.8 MB, free: 37.88 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (126): * Single equations (assignments): 121 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(3,16,100.0%), (1,6,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004505/0.2612, allocations: 210.6 kB / 301 MB, free: 37.81 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001773/0.2629, allocations: 1.212 MB / 302.2 MB, free: 37.52 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 7.52e-05/0.263, allocations: 37.44 kB / 302.2 MB, free: 37.51 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001019/0.264, allocations: 0.9078 MB / 303.1 MB, free: 37.14 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001358/0.2654, allocations: 0.584 MB / 303.7 MB, free: 37.09 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01868/0.2841, allocations: 4.736 MB / 308.4 MB, free: 34.92 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000655/0.2847, allocations: 0.6315 MB / 309.1 MB, free: 34.77 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.001037/0.2858, allocations: 248.2 kB / 309.3 MB, free: 34.7 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007549/0.2865, allocations: 458.1 kB / 309.8 MB, free: 34.62 MB / 282.7 MB Notification: Performance of SimCode: time 2.064e-06/0.2865, allocations: 0 / 309.8 MB, free: 34.62 MB / 282.7 MB Notification: Performance of Templates: time 0.04649/0.333, allocations: 31.6 MB / 341.4 MB, free: 4.23 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_DOL.makefile [Timeout 660] (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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_DOL.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.790846962481737]