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.001401/0.001401, allocations: 120.5 kB / 21.94 MB, free: 8 kB / 14.72 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.001598/0.001598, allocations: 204.7 kB / 25.23 MB, free: 3.551 MB / 14.72 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.394/1.394, allocations: 207.6 MB / 236 MB, free: 9.988 MB / 190.1 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: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001953/0.001953, allocations: 51.94 kB / 348.5 MB, free: 9.508 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2684/0.2703, allocations: 49.16 MB / 397.6 MB, free: 9.508 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL): time 0.009962/0.2803, allocations: 10.23 MB / 407.9 MB, free: 2.27 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.006601/0.2869, allocations: 3.305 MB / 411.2 MB, free: 15.85 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001865/0.2888, allocations: 66.94 kB / 411.2 MB, free: 15.82 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002098/0.2909, allocations: 0.7407 MB / 412 MB, free: 15.41 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00324/0.2941, allocations: 0.8878 MB / 412.9 MB, free: 14.85 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001164/0.2953, allocations: 426.1 kB / 413.3 MB, free: 14.59 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.004108/0.2994, allocations: 2.972 MB / 416.2 MB, free: 12.85 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00199/0.3014, allocations: 1.353 MB / 417.6 MB, free: 11.95 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002565/0.3039, allocations: 1.37 MB / 419 MB, free: 11.16 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003095/0.307, allocations: 1.745 MB / 420.7 MB, free: 10 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006037/0.3076, allocations: 354.4 kB / 421.1 MB, free: 10 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001222/0.3089, allocations: 464.2 kB / 421.5 MB, free: 9.941 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00127/0.3101, allocations: 1.033 MB / 422.5 MB, free: 9.168 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002037/0.3122, allocations: 1.612 MB / 424.2 MB, free: 8.012 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005714/0.3179, allocations: 4.686 MB / 428.8 MB, free: 4.031 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.057e-06/0.3179, allocations: 4 kB / 428.8 MB, free: 4.027 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.615e-06/0.3179, allocations: 0 / 428.8 MB, free: 4.027 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0001094/0.318, allocations: 0 / 428.8 MB, free: 4.027 MB / 334.1 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.007375/0.3254, allocations: 3.26 MB / 432.1 MB, free: 0.7148 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.807e-05/0.3254, allocations: 15.92 kB / 432.1 MB, free: 0.6992 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008338/0.3263, allocations: 346.9 kB / 432.5 MB, free: 368 kB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003271/0.3295, allocations: 1.588 MB / 434 MB, free: 14.73 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001536/0.3297, allocations: 176.8 kB / 434.2 MB, free: 14.56 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003439/0.33, allocations: 232 kB / 434.4 MB, free: 14.33 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005404/0.3354, allocations: 3.137 MB / 437.6 MB, free: 11.11 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.113e-05/0.3355, allocations: 12 kB / 437.6 MB, free: 11.09 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002112/0.3357, allocations: 92 kB / 437.7 MB, free: 11 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001173/0.3358, allocations: 108.6 kB / 437.8 MB, free: 10.89 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004695/0.3405, allocations: 2.688 MB / 440.5 MB, free: 8.191 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01753/0.358, allocations: 9.502 MB / 450 MB, free: 14.4 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002557/0.3606, allocations: 1.405 MB / 451.4 MB, free: 13 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001932/0.3625, allocations: 1.047 MB / 452.4 MB, free: 11.96 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002513/0.3628, allocations: 56.94 kB / 452.5 MB, free: 11.9 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.597e-05/0.3628, allocations: 43.56 kB / 452.5 MB, free: 11.85 MB / 366.1 MB Notification: Performance of pre-optimization done (n=116): time 2.976e-06/0.3628, allocations: 0 / 452.5 MB, free: 11.85 MB / 366.1 MB Notification: Performance of matching and sorting (n=131): time 0.0145/0.3773, allocations: 6.289 MB / 458.8 MB, free: 5.523 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.745e-05/0.3774, allocations: 68.72 kB / 458.9 MB, free: 5.445 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002862/0.3803, allocations: 1.739 MB / 460.6 MB, free: 3.703 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001164/0.3804, allocations: 45.7 kB / 460.7 MB, free: 3.652 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001061/0.3814, allocations: 1.197 MB / 461.9 MB, free: 2.441 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000497/0.3819, allocations: 468 kB / 462.3 MB, free: 1.98 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004917/0.3824, allocations: 295.4 kB / 462.6 MB, free: 1.684 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001424/0.3826, allocations: 305.1 kB / 462.9 MB, free: 1.383 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001385/0.384, allocations: 0.7886 MB / 463.7 MB, free: 0.5938 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001707/0.3857, allocations: 1.202 MB / 464.9 MB, free: 15.22 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003143/0.3888, allocations: 2.095 MB / 467 MB, free: 12.95 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.975e-06/0.3888, allocations: 4 kB / 467 MB, free: 12.95 MB / 382.1 MB Notification: Performance of matching and sorting (n=195) (initialization): time 0.004668/0.3935, allocations: 2.604 MB / 469.6 MB, free: 10.32 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.471e-05/0.3935, allocations: 12 kB / 469.6 MB, free: 10.31 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.213e-05/0.3935, allocations: 16 kB / 469.6 MB, free: 10.3 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001006/0.3945, allocations: 415.2 kB / 470 MB, free: 9.879 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001337/0.3959, allocations: 363.4 kB / 470.4 MB, free: 9.523 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007844/0.4037, allocations: 6.751 MB / 477.1 MB, free: 2.434 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00142/0.4051, allocations: 107.9 kB / 477.2 MB, free: 2.328 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001389/0.4053, allocations: 71.92 kB / 477.3 MB, free: 2.258 MB / 382.1 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.0016/0.4069, allocations: 0.7861 MB / 478.1 MB, free: 1.461 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003718/0.4073, allocations: 198.8 kB / 478.3 MB, free: 1.266 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004112/0.4114, allocations: 2.281 MB / 480.6 MB, free: 14.96 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.665e-05/0.4114, allocations: 27.92 kB / 480.6 MB, free: 14.93 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.396e-06/0.4114, allocations: 4 kB / 480.6 MB, free: 14.93 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.42e-05/0.4114, allocations: 7.984 kB / 480.6 MB, free: 14.92 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009376/0.4208, allocations: 4.979 MB / 485.6 MB, free: 9.82 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.558e-06/0.4208, allocations: 7.938 kB / 485.6 MB, free: 9.812 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00104/0.4218, allocations: 240.1 kB / 485.8 MB, free: 9.578 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001203/0.423, allocations: 458.9 kB / 486.3 MB, free: 9.117 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001125/0.4231, allocations: 31.98 kB / 486.3 MB, free: 9.086 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009114/0.4323, allocations: 8.218 MB / 494.5 MB, free: 416 kB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.993e-06/0.4323, allocations: 7.938 kB / 494.5 MB, free: 408 kB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006264/0.4385, allocations: 3.459 MB / 498 MB, free: 12.86 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001363/0.4399, allocations: 366.7 kB / 498.4 MB, free: 12.5 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004939/0.4404, allocations: 28 kB / 498.4 MB, free: 12.48 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001167/0.4416, allocations: 95.89 kB / 498.5 MB, free: 12.38 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002946/0.4418, allocations: 124.7 kB / 498.6 MB, free: 12.26 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.865e-05/0.4419, allocations: 39.98 kB / 498.6 MB, free: 12.22 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.00218/0.4441, allocations: 1.198 MB / 499.8 MB, free: 11.03 MB / 414.1 MB Notification: Performance of sort global known variables: time 3.4e-07/0.4441, allocations: 0 / 499.8 MB, free: 11.03 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.002022/0.4461, allocations: 0.5038 MB / 0.4886 GB, free: 10.53 MB / 414.1 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.0004199/0.4466, allocations: 199 kB / 0.4888 GB, free: 10.32 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.00427/0.4508, allocations: 2.315 MB / 0.4911 GB, free: 7.969 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 6.382e-06/0.4508, allocations: 0 / 0.4911 GB, free: 7.969 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002713/0.4536, allocations: 1.56 MB / 0.4926 GB, free: 6.355 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002451/0.456, allocations: 482.2 kB / 0.4931 GB, free: 5.883 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009307/0.4653, allocations: 5.157 MB / 0.4981 GB, free: 0.6289 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001924/0.4672, allocations: 1.969 MB / 0.5 GB, free: 14.63 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006172/0.4679, allocations: 135.4 kB / 0.5001 GB, free: 14.5 MB / 430.1 MB Notification: Performance of SimCode: time 8.92e-07/0.4679, allocations: 0 / 0.5001 GB, free: 14.5 MB / 430.1 MB Notification: Performance of Templates: time 0.2717/0.7396, allocations: 79.62 MB / 0.5779 GB, free: 145.4 MB / 478.1 MB " [Timeout remaining time 659] 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/jenkins1/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/jenkins1/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: 13.02138514094986]