Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator.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.000747/0.000747, allocations: 77.06 kB / 10.02 MB, free: 0.668 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001058/0.001805, allocations: 449.9 kB / 10.45 MB, free: 236 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.0007093/0.0007093, allocations: 161.1 kB / 11.36 MB, free: 2.809 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009258/0.001635, allocations: 479.5 kB / 11.83 MB, free: 2.336 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 0.9456/0.9456, allocations: 158.6 MB / 171.2 MB, free: 2.504 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1863/1.132, allocations: 49.49 MB / 220.7 MB, free: 1.359 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_Generator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|constantSpeed.phi|smee.is.[0-9,]+.|smee.idq_dr.[0-9,]+.|smee.idq_rr.[0-9,]+.|smee.idq_sr.[0-9,]+.",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator") translateModel(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|constantSpeed.phi|smee.is.[0-9,]+.|smee.idq_dr.[0-9,]+.|smee.idq_rr.[0-9,]+.|smee.idq_sr.[0-9,]+.",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.894e-06/1.894e-06, allocations: 0 / 222 MB, free: 52 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.924e-05/2.113e-05, allocations: 6.312 kB / 222 MB, free: 44 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator): time 0.009734/0.009755, allocations: 11.11 MB / 233.1 MB, free: 4.875 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.009201/0.01896, allocations: 4.013 MB / 237.1 MB, free: 0.8477 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001275/0.02023, allocations: 71.5 kB / 237.2 MB, free: 0.7773 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001403/0.02163, allocations: 0.8402 MB / 238 MB, free: 15.93 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001878/0.02351, allocations: 1.02 MB / 239.1 MB, free: 14.9 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008871/0.0244, allocations: 0.5263 MB / 239.6 MB, free: 14.38 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.002978/0.02738, allocations: 3.346 MB / 242.9 MB, free: 11.02 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001414/0.02879, allocations: 1.441 MB / 244.4 MB, free: 9.492 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002997/0.03179, allocations: 2.612 MB / 247 MB, free: 6.855 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001889/0.03368, allocations: 1.602 MB / 248.6 MB, free: 5.25 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005303/0.03421, allocations: 379.9 kB / 249 MB, free: 4.879 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008483/0.03506, allocations: 0.5932 MB / 249.6 MB, free: 4.285 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006103/0.03567, allocations: 0.8767 MB / 250.4 MB, free: 3.406 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008996/0.03657, allocations: 0.9592 MB / 251.4 MB, free: 2.445 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002167/0.03873, allocations: 2.589 MB / 254 MB, free: 15.85 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.211e-05/0.03874, allocations: 0 / 254 MB, free: 15.85 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.683e-06/0.03875, allocations: 0 / 254 MB, free: 15.85 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.469e-05/0.03878, allocations: 0 / 254 MB, free: 15.85 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: 656 * Number of variables: 656 Notification: Performance of Generate backend data structure: time 0.003892/0.04267, allocations: 3.829 MB / 257.8 MB, free: 11.97 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.126e-05/0.04271, allocations: 12.03 kB / 257.8 MB, free: 11.96 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009267/0.04364, allocations: 0.5875 MB / 258.4 MB, free: 11.36 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001333/0.04497, allocations: 1.127 MB / 259.5 MB, free: 10.18 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000116/0.04509, allocations: 193.4 kB / 259.7 MB, free: 9.984 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002496/0.04534, allocations: 260.3 kB / 260 MB, free: 9.73 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001986/0.04732, allocations: 1.915 MB / 261.9 MB, free: 7.707 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.55e-05/0.04737, allocations: 7.984 kB / 261.9 MB, free: 7.699 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002632/0.04763, allocations: 100 kB / 262 MB, free: 7.602 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.428e-05/0.04773, allocations: 120.9 kB / 262.1 MB, free: 7.48 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001086/0.04881, allocations: 0.7159 MB / 262.8 MB, free: 6.73 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007287/0.0561, allocations: 6.772 MB / 269.6 MB, free: 15.64 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007268/0.05683, allocations: 0.644 MB / 270.2 MB, free: 14.98 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005326/0.05736, allocations: 431.3 kB / 270.7 MB, free: 14.55 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001698/0.05753, allocations: 60.97 kB / 270.7 MB, free: 14.5 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.322e-05/0.05756, allocations: 51.53 kB / 270.8 MB, free: 14.44 MB / 282.7 MB Notification: Performance of pre-optimization done (n=115): time 2.504e-06/0.05757, allocations: 0 / 270.8 MB, free: 14.44 MB / 282.7 MB Notification: Performance of matching and sorting (n=134): time 0.004847/0.06241, allocations: 2.892 MB / 273.7 MB, free: 11.52 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.164e-05/0.06246, allocations: 72.59 kB / 273.7 MB, free: 11.43 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000879/0.06333, allocations: 1.211 MB / 275 MB, free: 10.21 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 6.403e-05/0.0634, allocations: 49.7 kB / 275 MB, free: 10.16 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000438/0.06384, allocations: 1.062 MB / 276.1 MB, free: 9.082 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003434/0.06418, allocations: 487.8 kB / 276.5 MB, free: 8.602 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002674/0.06445, allocations: 283.3 kB / 276.8 MB, free: 8.32 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 6.579e-05/0.06451, allocations: 309.1 kB / 277.1 MB, free: 8.016 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002511/0.06476, allocations: 186.7 kB / 277.3 MB, free: 7.832 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004587/0.06522, allocations: 0.6646 MB / 278 MB, free: 6.953 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000853/0.06608, allocations: 1.097 MB / 279.1 MB, free: 5.633 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.271e-06/0.06608, allocations: 8 kB / 279.1 MB, free: 5.625 MB / 282.7 MB Notification: Performance of matching and sorting (n=210) (initialization): time 0.001309/0.06739, allocations: 1.127 MB / 280.2 MB, free: 4.477 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2e-05/0.06741, allocations: 12 kB / 280.2 MB, free: 4.465 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.85e-05/0.06743, allocations: 16 kB / 280.2 MB, free: 4.449 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006536/0.06808, allocations: 253 kB / 280.5 MB, free: 4.191 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007917/0.06887, allocations: 395.4 kB / 280.9 MB, free: 3.805 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002626/0.0715, allocations: 3.616 MB / 284.5 MB, free: 4 kB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.1377/0.2092, allocations: 67.56 kB / 284.5 MB, free: 46.16 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001639/0.2094, allocations: 59.92 kB / 284.6 MB, free: 46.16 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 71 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (187): * Single equations (assignments): 182 * 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,12,100.0%), (1,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0008744/0.2102, allocations: 213.9 kB / 284.8 MB, free: 46.04 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004138/0.2107, allocations: 155.3 kB / 285 MB, free: 46.04 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001889/0.2126, allocations: 0.907 MB / 285.9 MB, free: 45.93 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.906e-05/0.2126, allocations: 15.11 kB / 285.9 MB, free: 45.93 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.204e-05/0.2126, allocations: 7.5 kB / 285.9 MB, free: 45.93 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.857e-05/0.2126, allocations: 6.375 kB / 285.9 MB, free: 45.93 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00545/0.2181, allocations: 2.72 MB / 288.6 MB, free: 45.39 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.026e-05/0.2181, allocations: 10.59 kB / 288.6 MB, free: 45.39 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009556/0.219, allocations: 247.1 kB / 288.9 MB, free: 45.39 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005835/0.2196, allocations: 232.2 kB / 289.1 MB, free: 45.39 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001051/0.2207, allocations: 320.1 kB / 289.4 MB, free: 45.35 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.721e-05/0.2208, allocations: 36.38 kB / 289.4 MB, free: 45.35 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003765/0.2245, allocations: 4.787 MB / 294.2 MB, free: 41.47 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-05/0.2245, allocations: 9.188 kB / 294.2 MB, free: 41.47 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002412/0.2269, allocations: 1.381 MB / 295.6 MB, free: 40.98 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002026/0.2272, allocations: 36.38 kB / 295.7 MB, free: 40.98 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006807/0.2278, allocations: 59.8 kB / 295.7 MB, free: 40.98 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002677/0.2281, allocations: 113.2 kB / 295.8 MB, free: 40.98 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.773e-05/0.2282, allocations: 33.2 kB / 295.9 MB, free: 40.98 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0008472/0.229, allocations: 0.619 MB / 296.5 MB, free: 40.93 MB / 282.7 MB Notification: Performance of sort global known variables: time 9e-08/0.229, allocations: 1.375 kB / 296.5 MB, free: 40.93 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.001926/0.231, allocations: 0.5339 MB / 297 MB, free: 40.93 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 21 * Number of states: 5 (smee.phiMechanical,smee.idq_sr[1],smee.idq_sr[2],smee.idq_rr[2],smee.idq_dr[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (116): * Single equations (assignments): 111 * 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,12,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.0003835/0.2313, allocations: 200.7 kB / 297.2 MB, free: 40.87 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001911/0.2333, allocations: 1.163 MB / 298.4 MB, free: 40.58 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 8.671e-05/0.2333, allocations: 33.41 kB / 298.4 MB, free: 40.58 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001244/0.2346, allocations: 0.9299 MB / 299.3 MB, free: 40.21 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002397/0.237, allocations: 3.561 MB / 302.9 MB, free: 36.71 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01792/0.2549, allocations: 4.373 MB / 307.3 MB, free: 34.83 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004048/0.2553, allocations: 0.5786 MB / 307.8 MB, free: 34.71 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0004634/0.2558, allocations: 226 kB / 308.1 MB, free: 34.64 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005992/0.2564, allocations: 416.8 kB / 308.5 MB, free: 34.59 MB / 282.7 MB Notification: Performance of SimCode: time 5.91e-07/0.2564, allocations: 0 / 308.5 MB, free: 34.59 MB / 282.7 MB Notification: Performance of Templates: time 0.02826/0.2846, allocations: 27.56 MB / 336 MB, free: 9.559 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator.sim & ./Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator_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_Generator/SMEE_Generator.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.5652964133769274]