Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_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.001888/0.001888, allocations: 92.33 kB / 21.73 MB, free: 2.68 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.002076/0.002076, allocations: 169.1 kB / 25.02 MB, free: 9.434 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 1.451/1.451, allocations: 158.6 MB / 186.8 MB, free: 2.891 MB / 170.7 MB " [Timeout remaining time 178] 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.SMR_DOL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|loadInertia.phi|loadInertia.w|smee.is.1.|smee.is.2.|smr.idq_rr.1.|smr.idq_rr.2.|smr.idq_sr.1.|smr.idq_sr.2.",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL") translateModel(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|loadInertia.phi|loadInertia.w|smee.is.1.|smee.is.2.|smr.idq_rr.1.|smr.idq_rr.2.|smr.idq_sr.1.|smr.idq_sr.2.",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.663e-06/1.663e-06, allocations: 0 / 250.4 MB, free: 3.93 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.725e-05/2.892e-05, allocations: 2.312 kB / 250.4 MB, free: 3.926 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL): time 0.01509/0.01512, allocations: 8.983 MB / 259.4 MB, free: 10.9 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.008498/0.02361, allocations: 3.113 MB / 262.5 MB, free: 7.773 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00148/0.02509, allocations: 63.56 kB / 262.5 MB, free: 7.711 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00196/0.02705, allocations: 0.6984 MB / 263.2 MB, free: 7.008 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002984/0.03004, allocations: 0.9158 MB / 264.2 MB, free: 6.086 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001079/0.03112, allocations: 415.4 kB / 264.6 MB, free: 5.68 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.004753/0.03587, allocations: 3.081 MB / 267.6 MB, free: 2.582 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00226/0.03813, allocations: 1.309 MB / 268.9 MB, free: 1.211 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0037/0.04183, allocations: 1.996 MB / 270.9 MB, free: 15.21 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002957/0.04479, allocations: 1.496 MB / 272.4 MB, free: 13.71 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007608/0.04555, allocations: 352 kB / 272.8 MB, free: 13.36 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0011/0.04665, allocations: 459.7 kB / 273.2 MB, free: 12.91 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001232/0.04788, allocations: 1.059 MB / 274.3 MB, free: 11.85 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001979/0.04986, allocations: 1.095 MB / 275.4 MB, free: 10.75 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006777/0.05664, allocations: 4.748 MB / 280.1 MB, free: 5.992 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.774e-06/0.05664, allocations: 0 / 280.1 MB, free: 5.992 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.422e-06/0.05665, allocations: 0 / 280.1 MB, free: 5.992 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001477/0.05679, allocations: 0 / 280.1 MB, free: 5.992 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: 606 * Number of variables: 606 Notification: Performance of Generate backend data structure: time 0.008899/0.06569, allocations: 3.237 MB / 283.4 MB, free: 2.703 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.998e-05/0.06575, allocations: 11.98 kB / 283.4 MB, free: 2.691 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001362/0.06711, allocations: 0.5224 MB / 283.9 MB, free: 2.168 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003957/0.07107, allocations: 1.65 MB / 285.6 MB, free: 488 kB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001956/0.07127, allocations: 173 kB / 285.7 MB, free: 312 kB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004779/0.07174, allocations: 232.4 kB / 285.9 MB, free: 80 kB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007042/0.07879, allocations: 3.237 MB / 289.2 MB, free: 12.73 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.507e-05/0.07886, allocations: 11.95 kB / 289.2 MB, free: 12.71 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002581/0.07912, allocations: 96 kB / 289.3 MB, free: 12.62 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001616/0.07928, allocations: 112.5 kB / 289.4 MB, free: 12.51 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005535/0.08481, allocations: 2.692 MB / 292.1 MB, free: 9.801 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01734/0.1022, allocations: 8.538 MB / 300.6 MB, free: 1 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.1189/0.221, allocations: 1.405 MB / 302 MB, free: 56.15 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002108/0.2231, allocations: 1.047 MB / 303.1 MB, free: 56.04 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002417/0.2234, allocations: 61.2 kB / 303.1 MB, free: 56.04 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.75e-05/0.2234, allocations: 45.89 kB / 303.2 MB, free: 55.99 MB / 282.7 MB Notification: Performance of pre-optimization done (n=116): time 2.775e-06/0.2234, allocations: 0 / 303.2 MB, free: 55.99 MB / 282.7 MB Notification: Performance of matching and sorting (n=131): time 0.01362/0.237, allocations: 6.295 MB / 309.5 MB, free: 54.05 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.861e-05/0.2371, allocations: 67.83 kB / 309.5 MB, free: 53.99 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002431/0.2395, allocations: 1.611 MB / 311.2 MB, free: 53.39 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001036/0.2396, allocations: 54.86 kB / 311.2 MB, free: 53.34 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006183/0.2402, allocations: 1.186 MB / 312.4 MB, free: 52.57 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002687/0.2405, allocations: 466.2 kB / 312.9 MB, free: 52.27 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003856/0.2409, allocations: 283.7 kB / 313.1 MB, free: 52.13 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 3.953e-05/0.2409, allocations: 301.1 kB / 313.4 MB, free: 51.83 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001047/0.2419, allocations: 0.7944 MB / 314.2 MB, free: 51.56 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00142/0.2434, allocations: 1.204 MB / 315.4 MB, free: 50.8 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002218/0.2456, allocations: 2.095 MB / 317.5 MB, free: 49.62 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.763e-06/0.2456, allocations: 7.812 kB / 317.5 MB, free: 49.62 MB / 282.7 MB Notification: Performance of matching and sorting (n=195) (initialization): time 0.003676/0.2493, allocations: 2.652 MB / 320.2 MB, free: 47.08 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.538e-05/0.2493, allocations: 15.94 kB / 320.2 MB, free: 47.06 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.926e-05/0.2493, allocations: 12 kB / 320.2 MB, free: 47.05 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009889/0.2503, allocations: 463.4 kB / 320.7 MB, free: 46.59 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001168/0.2515, allocations: 355.4 kB / 321 MB, free: 46.24 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004891/0.2564, allocations: 6.665 MB / 327.7 MB, free: 39.3 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001387/0.2577, allocations: 103.8 kB / 327.8 MB, free: 39.2 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001043/0.2579, allocations: 60 kB / 327.8 MB, free: 39.14 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 56 * Number of states: 0 () * Number of discrete variables: 3 (idealCloser.control[3],idealCloser.control[2],idealCloser.control[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (174): * Single equations (assignments): 170 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 3 * 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): 3 systems {(3,11,100.0%), (1,6,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001202/0.2591, allocations: 0.7898 MB / 328.6 MB, free: 38.34 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003728/0.2594, allocations: 246.2 kB / 328.9 MB, free: 38.11 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00319/0.2626, allocations: 2.267 MB / 331.1 MB, free: 35.82 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.516e-06/0.2626, allocations: 12 kB / 331.1 MB, free: 35.81 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.794e-06/0.2626, allocations: 4 kB / 331.1 MB, free: 35.8 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.116e-05/0.2626, allocations: 7.969 kB / 331.2 MB, free: 35.8 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006517/0.2692, allocations: 4.442 MB / 335.6 MB, free: 31.3 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.696e-06/0.2692, allocations: 4.875 kB / 335.6 MB, free: 31.29 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008936/0.2701, allocations: 231.7 kB / 335.8 MB, free: 31.07 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001107/0.2712, allocations: 479.9 kB / 336.3 MB, free: 30.59 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.12e-05/0.2713, allocations: 35.98 kB / 336.3 MB, free: 30.55 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005697/0.2769, allocations: 8.107 MB / 344.4 MB, free: 22.06 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.601e-06/0.277, allocations: 10.98 kB / 344.4 MB, free: 22.05 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004509/0.2815, allocations: 3.466 MB / 347.9 MB, free: 18.52 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009215/0.2824, allocations: 360.8 kB / 348.3 MB, free: 18.17 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002107/0.2826, allocations: 31.98 kB / 348.3 MB, free: 18.14 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008529/0.2834, allocations: 87.91 kB / 348.4 MB, free: 18.05 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002739/0.2837, allocations: 124.7 kB / 348.5 MB, free: 17.93 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.643e-05/0.2838, allocations: 39.98 kB / 348.5 MB, free: 17.89 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.001285/0.2851, allocations: 1.085 MB / 349.6 MB, free: 16.81 MB / 282.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.2851, allocations: 0 / 349.6 MB, free: 16.81 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.001648/0.2867, allocations: 0.5039 MB / 350.1 MB, free: 16.3 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 6 (smr.inertiaRotor.w,smr.idq_sr[1],smr.idq_sr[2],smr.idq_dr[1],smr.idq_dr[2],loadInertia.phi) * Number of discrete variables: 3 (idealCloser.control[1],idealCloser.control[2],idealCloser.control[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (115): * Single equations (assignments): 111 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(3,11,100.0%), (1,1,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.0003425/0.2871, allocations: 197.6 kB / 350.3 MB, free: 16.1 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.003161/0.2902, allocations: 2.32 MB / 352.6 MB, free: 13.74 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.466e-06/0.2902, allocations: 320 / 352.6 MB, free: 13.74 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001996/0.2922, allocations: 1.569 MB / 354.2 MB, free: 12.13 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001909/0.2941, allocations: 439.9 kB / 354.6 MB, free: 11.71 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006525/0.3007, allocations: 4.986 MB / 359.6 MB, free: 6.625 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001208/0.3019, allocations: 1.442 MB / 361.1 MB, free: 5.145 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.001122/0.303, allocations: 430.3 kB / 361.5 MB, free: 4.719 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003589/0.3034, allocations: 120.5 kB / 361.6 MB, free: 4.602 MB / 282.7 MB Notification: Performance of SimCode: time 1.663e-06/0.3034, allocations: 0 / 361.6 MB, free: 4.602 MB / 282.7 MB Notification: Performance of Templates: time 0.05019/0.3535, allocations: 26.84 MB / 388.4 MB, free: 9.762 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL.sim & ./Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_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/SMR_DOL/SMR_DOL.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.455145166022703]