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.001023/0.001023, allocations: 68.19 kB / 9.935 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001391/0.002414, 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.001001/0.001001, allocations: 161.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001266/0.002268, 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 0.9956/0.9956, allocations: 158.6 MB / 171.1 MB, free: 2.574 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1693/1.165, allocations: 49.48 MB / 220.5 MB, free: 1.453 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.824e-06/1.824e-06, allocations: 0 / 221.8 MB, free: 160 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.526e-05/2.708e-05, allocations: 6.25 kB / 221.9 MB, free: 152 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator): time 0.01107/0.01109, allocations: 11.12 MB / 233 MB, free: 4.969 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.006513/0.01761, allocations: 4.002 MB / 237 MB, free: 0.9531 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001021/0.01863, allocations: 67.56 kB / 237 MB, free: 0.8867 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001406/0.02003, allocations: 0.8441 MB / 237.9 MB, free: 40 kB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002054/0.02209, allocations: 1.024 MB / 238.9 MB, free: 15.01 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008523/0.02294, allocations: 0.5264 MB / 239.4 MB, free: 14.48 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.002391/0.02533, allocations: 3.342 MB / 242.8 MB, free: 11.12 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001328/0.02666, allocations: 1.441 MB / 244.2 MB, free: 9.598 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002767/0.02942, allocations: 2.612 MB / 246.8 MB, free: 6.961 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00133/0.03075, allocations: 1.598 MB / 248.4 MB, free: 5.359 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000324/0.03108, allocations: 376 kB / 248.8 MB, free: 4.992 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000741/0.03182, allocations: 0.601 MB / 249.4 MB, free: 4.391 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000572/0.03239, allocations: 0.8728 MB / 250.3 MB, free: 3.516 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007911/0.03318, allocations: 0.9631 MB / 251.2 MB, free: 2.551 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002265/0.03545, allocations: 2.581 MB / 253.8 MB, free: 15.96 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.293e-05/0.03546, allocations: 4 kB / 253.8 MB, free: 15.96 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.783e-06/0.03546, allocations: 0 / 253.8 MB, free: 15.96 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.545e-05/0.0355, allocations: 0 / 253.8 MB, free: 15.96 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.003592/0.03909, allocations: 3.837 MB / 257.7 MB, free: 12.07 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.417e-05/0.03913, allocations: 12.03 kB / 257.7 MB, free: 12.06 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009198/0.04005, allocations: 0.5913 MB / 258.3 MB, free: 11.45 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001285/0.04134, allocations: 1.123 MB / 259.4 MB, free: 10.28 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001016/0.04144, allocations: 197.4 kB / 259.6 MB, free: 10.08 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003694/0.04181, allocations: 252.3 kB / 259.8 MB, free: 9.836 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001833/0.04364, allocations: 1.919 MB / 261.7 MB, free: 7.809 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.081e-05/0.04368, allocations: 4 kB / 261.7 MB, free: 7.805 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001402/0.04382, allocations: 103.9 kB / 261.8 MB, free: 7.703 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.654e-05/0.04392, allocations: 120.9 kB / 262 MB, free: 7.582 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009904/0.04491, allocations: 0.7237 MB / 262.7 MB, free: 6.824 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006811/0.05172, allocations: 6.776 MB / 269.5 MB, free: 15.72 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007122/0.05243, allocations: 0.6361 MB / 270.1 MB, free: 15.07 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005173/0.05295, allocations: 427.4 kB / 270.5 MB, free: 14.65 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001512/0.0531, allocations: 64.97 kB / 270.6 MB, free: 14.59 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.983e-05/0.05313, allocations: 47.56 kB / 270.6 MB, free: 14.54 MB / 282.7 MB Notification: Performance of pre-optimization done (n=115): time 2.836e-06/0.05313, allocations: 0 / 270.6 MB, free: 14.54 MB / 282.7 MB Notification: Performance of matching and sorting (n=134): time 0.004683/0.05782, allocations: 2.853 MB / 273.5 MB, free: 11.65 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.336e-05/0.05786, allocations: 76.58 kB / 273.6 MB, free: 11.57 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001202/0.05906, allocations: 1.211 MB / 274.8 MB, free: 10.35 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 7.337e-05/0.05914, allocations: 53.7 kB / 274.8 MB, free: 10.29 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005531/0.05969, allocations: 1.062 MB / 275.9 MB, free: 9.211 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002994/0.05999, allocations: 479.8 kB / 276.3 MB, free: 8.738 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003717/0.06036, allocations: 283.3 kB / 276.6 MB, free: 8.457 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 6.812e-05/0.06043, allocations: 301.1 kB / 276.9 MB, free: 8.16 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003318/0.06076, allocations: 186.7 kB / 277.1 MB, free: 7.977 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005617/0.06132, allocations: 0.6763 MB / 277.8 MB, free: 7.086 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00107/0.06239, allocations: 1.038 MB / 278.8 MB, free: 5.828 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.715e-06/0.0624, allocations: 4 kB / 278.8 MB, free: 5.824 MB / 282.7 MB Notification: Performance of matching and sorting (n=210) (initialization): time 0.001688/0.06409, allocations: 1.132 MB / 280 MB, free: 4.672 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.426e-05/0.06411, allocations: 12 kB / 280 MB, free: 4.66 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.909e-05/0.06413, allocations: 16 kB / 280 MB, free: 4.645 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006068/0.06474, allocations: 245.1 kB / 280.2 MB, free: 4.395 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001031/0.06577, allocations: 399.4 kB / 280.6 MB, free: 4.004 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003138/0.06891, allocations: 3.623 MB / 284.2 MB, free: 192 kB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006905/0.0696, allocations: 71.94 kB / 284.3 MB, free: 120 kB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001077/0.0697, allocations: 63.98 kB / 284.4 MB, free: 56 kB / 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.1234/0.1931, allocations: 210.7 kB / 284.6 MB, free: 46.19 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004736/0.1936, allocations: 155.9 kB / 284.7 MB, free: 46.19 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001573/0.1952, allocations: 0.9006 MB / 285.6 MB, free: 46.08 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.218e-05/0.1952, allocations: 19.48 kB / 285.6 MB, free: 46.08 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.368e-05/0.1952, allocations: 4.875 kB / 285.6 MB, free: 46.08 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.275e-05/0.1952, allocations: 6.797 kB / 285.7 MB, free: 46.08 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004462/0.1997, allocations: 2.715 MB / 288.4 MB, free: 45.54 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.001e-05/0.1997, allocations: 4.75 kB / 288.4 MB, free: 45.54 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007361/0.2004, allocations: 250.4 kB / 288.6 MB, free: 45.54 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007408/0.2012, allocations: 232.7 kB / 288.8 MB, free: 45.54 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009107/0.2021, allocations: 322 kB / 289.2 MB, free: 45.5 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.258e-05/0.2022, allocations: 36.69 kB / 289.2 MB, free: 45.5 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00346/0.2056, allocations: 4.794 MB / 294 MB, free: 41.62 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.999e-06/0.2056, allocations: 11.5 kB / 294 MB, free: 41.62 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002396/0.208, allocations: 1.368 MB / 295.4 MB, free: 41.13 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004056/0.2084, allocations: 37.59 kB / 295.4 MB, free: 41.13 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000585/0.209, allocations: 62.03 kB / 295.5 MB, free: 41.13 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002751/0.2093, allocations: 114.2 kB / 295.6 MB, free: 41.13 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.117e-05/0.2094, allocations: 38.28 kB / 295.6 MB, free: 41.13 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0007865/0.2101, allocations: 0.6124 MB / 296.2 MB, free: 41.08 MB / 282.7 MB Notification: Performance of sort global known variables: time 2.2e-07/0.2101, allocations: 0 / 296.2 MB, free: 41.08 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.001816/0.212, allocations: 0.5286 MB / 296.8 MB, free: 41.08 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.0004194/0.2124, allocations: 209.1 kB / 297 MB, free: 41.02 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001641/0.214, allocations: 1.132 MB / 298.1 MB, free: 40.73 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 6.915e-05/0.2141, allocations: 32.34 kB / 298.1 MB, free: 40.73 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008266/0.2149, allocations: 0.8594 MB / 299 MB, free: 40.37 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00102/0.2159, allocations: 0.5162 MB / 299.5 MB, free: 40.34 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01682/0.2328, allocations: 4.384 MB / 303.9 MB, free: 38.45 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005644/0.2333, allocations: 0.5811 MB / 304.5 MB, free: 38.34 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0008146/0.2341, allocations: 234.4 kB / 304.7 MB, free: 38.27 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006207/0.2348, allocations: 401.9 kB / 305.1 MB, free: 38.21 MB / 282.7 MB Notification: Performance of SimCode: time 1.914e-06/0.2348, allocations: 0 / 305.1 MB, free: 38.21 MB / 282.7 MB Notification: Performance of Templates: time 0.03408/0.2688, allocations: 27.85 MB / 332.9 MB, free: 13.27 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,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.518777727149427]