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.001049/0.001049, allocations: 75.75 kB / 21.97 MB, free: 2.602 MB / 18.57 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.001002/0.001002, allocations: 166.9 kB / 25.33 MB, free: 8.586 MB / 18.57 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.9338/0.9338, allocations: 158.6 MB / 187.2 MB, free: 2.93 MB / 170.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.764e-06/1.764e-06, allocations: 0 / 251.1 MB, free: 7.488 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.853e-05/3.03e-05, allocations: 2.312 kB / 251.1 MB, free: 7.484 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator): time 0.01191/0.01194, allocations: 11.3 MB / 262.4 MB, free: 12.14 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.007907/0.01985, allocations: 3.863 MB / 266.2 MB, free: 8.262 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002386/0.02224, allocations: 63.56 kB / 266.3 MB, free: 8.199 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002467/0.0247, allocations: 0.8233 MB / 267.1 MB, free: 7.371 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003785/0.02849, allocations: 1.028 MB / 268.1 MB, free: 6.336 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001451/0.02994, allocations: 0.5302 MB / 268.7 MB, free: 5.805 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.004021/0.03396, allocations: 3.338 MB / 272 MB, free: 2.449 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001931/0.03589, allocations: 1.406 MB / 273.4 MB, free: 0.9766 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003517/0.03941, allocations: 2.156 MB / 275.6 MB, free: 14.81 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002723/0.04213, allocations: 1.68 MB / 277.3 MB, free: 13.13 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006924/0.04282, allocations: 388 kB / 277.6 MB, free: 12.75 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001289/0.04411, allocations: 0.6048 MB / 278.2 MB, free: 12.15 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009664/0.04508, allocations: 1.126 MB / 279.4 MB, free: 11.02 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001934/0.04701, allocations: 1.204 MB / 280.6 MB, free: 9.812 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004355/0.05137, allocations: 2.819 MB / 283.4 MB, free: 6.984 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.885e-06/0.05138, allocations: 0 / 283.4 MB, free: 6.984 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.344e-06/0.05138, allocations: 0 / 283.4 MB, free: 6.984 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001387/0.05152, allocations: 4 kB / 283.4 MB, free: 6.98 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.005677/0.05719, allocations: 3.635 MB / 287 MB, free: 3.285 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.631e-05/0.05725, allocations: 19.98 kB / 287 MB, free: 3.266 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001216/0.05847, allocations: 0.6159 MB / 287.7 MB, free: 2.648 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002328/0.0608, allocations: 1.56 MB / 289.2 MB, free: 1.043 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001264/0.06092, allocations: 189.4 kB / 289.4 MB, free: 0.8555 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002942/0.06122, allocations: 256.3 kB / 289.7 MB, free: 0.6055 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003054/0.06427, allocations: 2.048 MB / 291.7 MB, free: 14.44 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.984e-05/0.06432, allocations: 0 / 291.7 MB, free: 14.44 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000152/0.06447, allocations: 104 kB / 291.8 MB, free: 14.34 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001125/0.06458, allocations: 116.9 kB / 291.9 MB, free: 14.22 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001851/0.06643, allocations: 0.9189 MB / 292.8 MB, free: 13.29 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01047/0.0769, allocations: 8.512 MB / 301.4 MB, free: 4.438 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001034/0.07794, allocations: 0.6618 MB / 302 MB, free: 3.77 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007942/0.07873, allocations: 0.5021 MB / 302.5 MB, free: 3.266 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001941/0.07892, allocations: 60.95 kB / 302.6 MB, free: 3.207 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.708e-05/0.07896, allocations: 50.33 kB / 302.6 MB, free: 3.148 MB / 282.7 MB Notification: Performance of pre-optimization done (n=115): time 4.108e-06/0.07896, allocations: 0 / 302.6 MB, free: 3.148 MB / 282.7 MB Notification: Performance of matching and sorting (n=134): time 0.00733/0.0863, allocations: 3.611 MB / 306.2 MB, free: 15.5 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.23e-05/0.08634, allocations: 76.7 kB / 306.3 MB, free: 15.41 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001789/0.08813, allocations: 1.477 MB / 307.8 MB, free: 13.92 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 7.947e-05/0.08821, allocations: 45.7 kB / 307.8 MB, free: 13.87 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000942/0.08915, allocations: 1.372 MB / 309.2 MB, free: 12.48 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003358/0.08948, allocations: 495.9 kB / 309.7 MB, free: 11.99 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003439/0.08983, allocations: 309.1 kB / 310 MB, free: 11.68 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001076/0.08994, allocations: 476.8 kB / 310.5 MB, free: 11.21 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004686/0.0904, allocations: 247.8 kB / 310.7 MB, free: 10.96 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007881/0.09119, allocations: 0.9623 MB / 311.7 MB, free: 9.703 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001384/0.09258, allocations: 1.358 MB / 313 MB, free: 8.043 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-05/0.09259, allocations: 7.984 kB / 313 MB, free: 8.035 MB / 298.7 MB Notification: Performance of matching and sorting (n=210) (initialization): time 0.002517/0.09511, allocations: 1.538 MB / 314.6 MB, free: 6.477 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.722e-05/0.09514, allocations: 12 kB / 314.6 MB, free: 6.465 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.062e-05/0.09516, allocations: 12 kB / 314.6 MB, free: 6.453 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007005/0.09586, allocations: 266 kB / 314.8 MB, free: 6.184 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008114/0.09667, allocations: 387.4 kB / 315.2 MB, free: 5.805 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003736/0.1004, allocations: 4.93 MB / 320.2 MB, free: 0.6445 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001082/0.1015, allocations: 115.8 kB / 320.3 MB, free: 0.5312 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001286/0.1016, allocations: 76.08 kB / 320.3 MB, free: 468 kB / 298.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.0006779/0.1023, allocations: 264.1 kB / 320.6 MB, free: 192 kB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004422/0.1027, allocations: 238.8 kB / 320.8 MB, free: 15.95 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001728/0.1045, allocations: 1.167 MB / 322 MB, free: 14.75 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.291e-05/0.1045, allocations: 16 kB / 322 MB, free: 14.74 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.296e-06/0.1045, allocations: 8 kB / 322 MB, free: 14.73 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.238e-05/0.1045, allocations: 11.97 kB / 322 MB, free: 14.72 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005204/0.1097, allocations: 3.433 MB / 325.5 MB, free: 11.14 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.044e-05/0.1097, allocations: 4 kB / 325.5 MB, free: 11.13 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006077/0.1103, allocations: 247.7 kB / 325.7 MB, free: 10.89 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008048/0.1111, allocations: 306.7 kB / 326 MB, free: 10.58 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.04e-05/0.1112, allocations: 39.98 kB / 326.1 MB, free: 10.54 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004469/0.1157, allocations: 6.74 MB / 332.8 MB, free: 3.438 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.11e-06/0.1157, allocations: 4 kB / 332.8 MB, free: 3.434 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002827/0.1185, allocations: 1.795 MB / 334.6 MB, free: 1.523 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008019/0.1193, allocations: 342.6 kB / 334.9 MB, free: 1.188 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001917/0.1195, allocations: 35.98 kB / 335 MB, free: 1.152 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006179/0.1201, allocations: 95.78 kB / 335.1 MB, free: 1.059 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002228/0.1204, allocations: 124.7 kB / 335.2 MB, free: 0.9375 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.438e-05/0.1204, allocations: 39.98 kB / 335.2 MB, free: 0.8984 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.00123/0.1217, allocations: 0.8758 MB / 336.1 MB, free: 28 kB / 314.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.1217, allocations: 0 / 336.1 MB, free: 28 kB / 314.7 MB Notification: Performance of remove unused functions: time 0.001974/0.1236, allocations: 0.547 MB / 336.6 MB, free: 15.48 MB / 330.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%), (2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004387/0.1241, allocations: 210.8 kB / 336.8 MB, free: 15.26 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.002639/0.1267, allocations: 1.434 MB / 338.3 MB, free: 13.79 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 6.582e-06/0.1267, allocations: 4 kB / 338.3 MB, free: 13.79 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001322/0.128, allocations: 1.139 MB / 339.4 MB, free: 12.59 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001318/0.1294, allocations: 402.9 kB / 339.8 MB, free: 12.2 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007267/0.1366, allocations: 4.44 MB / 344.3 MB, free: 7.613 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006792/0.1373, allocations: 0.6533 MB / 344.9 MB, free: 6.934 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0008433/0.1381, allocations: 338.2 kB / 345.2 MB, free: 6.598 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003308/0.1385, allocations: 128.5 kB / 345.4 MB, free: 6.473 MB / 330.7 MB Notification: Performance of SimCode: time 2.966e-06/0.1385, allocations: 0 / 345.4 MB, free: 6.473 MB / 330.7 MB Notification: Performance of Templates: time 0.1861/0.3246, allocations: 26.4 MB / 371.8 MB, free: 84.25 MB / 330.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 -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.998049440793693]