Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.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.001515/0.001515, allocations: 112.2 kB / 21.19 MB, free: 0.7617 MB / 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.001864/0.001864, allocations: 209.9 kB / 24.49 MB, free: 4.145 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.41/1.41, allocations: 230.6 MB / 258.3 MB, free: 7.969 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.SynchronousMachines.SMR_DOL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|loadInertia.phi|loadInertia.w|smr.is.1.|smr.is.2.|smr.idq_rr.1.|smr.idq_rr.2.|smr.idq_sr.1.|smr.idq_sr.2.",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL") translateModel(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|loadInertia.phi|loadInertia.w|smr.is.1.|smr.is.2.|smr.idq_rr.1.|smr.idq_rr.2.|smr.idq_sr.1.|smr.idq_sr.2.",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001497/0.001497, allocations: 47.92 kB / 379 MB, free: 2.582 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2432/0.2447, allocations: 53.36 MB / 432.4 MB, free: 6.887 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL): time 0.01292/0.2576, allocations: 10.32 MB / 442.7 MB, free: 12.53 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006648/0.2642, allocations: 3.334 MB / 446.1 MB, free: 9.184 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001645/0.2659, allocations: 75.5 kB / 446.1 MB, free: 9.109 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001928/0.2678, allocations: 0.745 MB / 446.9 MB, free: 8.363 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002682/0.2705, allocations: 0.8933 MB / 447.8 MB, free: 7.465 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001019/0.2715, allocations: 435.2 kB / 448.2 MB, free: 7.039 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003863/0.2754, allocations: 2.977 MB / 451.2 MB, free: 4.051 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001997/0.2773, allocations: 1.388 MB / 452.6 MB, free: 2.598 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002073/0.2794, allocations: 1.394 MB / 454 MB, free: 1.199 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002848/0.2823, allocations: 1.74 MB / 455.7 MB, free: 15.45 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000822/0.2831, allocations: 356 kB / 456 MB, free: 15.11 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001218/0.2843, allocations: 475.8 kB / 456.5 MB, free: 14.64 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00111/0.2854, allocations: 1.036 MB / 457.5 MB, free: 13.6 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002011/0.2874, allocations: 1.602 MB / 459.1 MB, free: 11.99 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005185/0.2926, allocations: 4.714 MB / 463.9 MB, free: 7.262 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.683e-06/0.2926, allocations: 4 kB / 463.9 MB, free: 7.258 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.084e-06/0.2926, allocations: 4 kB / 463.9 MB, free: 7.254 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.682e-05/0.2927, allocations: 0 / 463.9 MB, free: 7.254 MB / 366.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.006489/0.2992, allocations: 3.28 MB / 467.1 MB, free: 3.922 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.657e-05/0.2992, allocations: 8.031 kB / 467.2 MB, free: 3.914 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001103/0.3003, allocations: 378.9 kB / 467.5 MB, free: 3.543 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003245/0.3036, allocations: 1.709 MB / 469.2 MB, free: 1.797 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001569/0.3037, allocations: 176.8 kB / 469.4 MB, free: 1.621 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000358/0.3041, allocations: 232 kB / 469.6 MB, free: 1.395 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005491/0.3096, allocations: 3.137 MB / 472.8 MB, free: 14.17 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.294e-05/0.3096, allocations: 27.86 kB / 472.8 MB, free: 14.14 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002293/0.3099, allocations: 96 kB / 472.9 MB, free: 14.05 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001177/0.31, allocations: 104.6 kB / 473 MB, free: 13.94 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00486/0.3149, allocations: 2.692 MB / 475.7 MB, free: 11.23 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0155/0.3303, allocations: 9.49 MB / 485.2 MB, free: 1.453 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002444/0.3328, allocations: 1.41 MB / 486.6 MB, free: 52 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001917/0.3347, allocations: 1.039 MB / 487.6 MB, free: 15.02 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002367/0.3349, allocations: 52.94 kB / 487.7 MB, free: 14.96 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.084e-05/0.335, allocations: 51.56 kB / 487.7 MB, free: 14.9 MB / 398.1 MB Notification: Performance of pre-optimization done (n=116): time 4.779e-06/0.335, allocations: 4 kB / 487.7 MB, free: 14.9 MB / 398.1 MB Notification: Performance of matching and sorting (n=131): time 0.01405/0.349, allocations: 6.35 MB / 494.1 MB, free: 8.512 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.492e-05/0.3491, allocations: 64.72 kB / 494.1 MB, free: 8.438 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002624/0.3517, allocations: 1.767 MB / 495.9 MB, free: 6.668 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001288/0.3519, allocations: 45.7 kB / 496 MB, free: 6.617 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009511/0.3528, allocations: 1.186 MB / 497.1 MB, free: 5.418 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004381/0.3532, allocations: 476 kB / 497.6 MB, free: 4.949 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000456/0.3537, allocations: 287.5 kB / 497.9 MB, free: 4.66 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001227/0.3538, allocations: 305.1 kB / 498.2 MB, free: 4.359 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001358/0.3552, allocations: 0.8003 MB / 499 MB, free: 3.559 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001715/0.3569, allocations: 1.201 MB / 0.4885 GB, free: 2.188 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003221/0.3601, allocations: 2.098 MB / 0.4905 GB, free: 15.92 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.375e-06/0.3601, allocations: 4 kB / 0.4905 GB, free: 15.91 MB / 414.1 MB Notification: Performance of matching and sorting (n=195) (initialization): time 0.004658/0.3648, allocations: 2.6 MB / 0.4931 GB, free: 13.29 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.475e-05/0.3648, allocations: 8 kB / 0.4931 GB, free: 13.29 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.033e-05/0.3648, allocations: 16 kB / 0.4931 GB, free: 13.27 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009784/0.3658, allocations: 407.3 kB / 0.4935 GB, free: 12.86 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001374/0.3672, allocations: 367.4 kB / 0.4938 GB, free: 12.5 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007388/0.3746, allocations: 6.77 MB / 0.5004 GB, free: 5.395 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001393/0.376, allocations: 115.8 kB / 0.5005 GB, free: 5.281 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001266/0.3761, allocations: 60 kB / 0.5006 GB, free: 5.223 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 55 * 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.001346/0.3774, allocations: 0.7979 MB / 0.5014 GB, free: 4.414 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003486/0.3778, allocations: 190.8 kB / 0.5016 GB, free: 4.227 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004106/0.3819, allocations: 2.3 MB / 0.5038 GB, free: 1.902 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.486e-05/0.3819, allocations: 20.02 kB / 0.5038 GB, free: 1.883 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.358e-06/0.3819, allocations: 4 kB / 0.5038 GB, free: 1.879 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.487e-05/0.3819, allocations: 11.97 kB / 0.5038 GB, free: 1.867 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009129/0.3911, allocations: 4.994 MB / 0.5087 GB, free: 12.76 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.04e-05/0.3911, allocations: 4 kB / 0.5087 GB, free: 12.76 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001039/0.3921, allocations: 236 kB / 0.5089 GB, free: 12.53 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001159/0.3933, allocations: 451 kB / 0.5094 GB, free: 12.07 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001026/0.3934, allocations: 35.98 kB / 0.5094 GB, free: 12.04 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00876/0.4021, allocations: 8.222 MB / 0.5174 GB, free: 3.363 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.077e-06/0.4021, allocations: 7.938 kB / 0.5174 GB, free: 3.355 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005729/0.4079, allocations: 3.435 MB / 0.5208 GB, free: 15.85 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001096/0.409, allocations: 374.6 kB / 0.5212 GB, free: 15.48 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002554/0.4092, allocations: 32 kB / 0.5212 GB, free: 15.45 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009109/0.4101, allocations: 87.89 kB / 0.5213 GB, free: 15.36 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002741/0.4104, allocations: 120.7 kB / 0.5214 GB, free: 15.25 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.659e-05/0.4105, allocations: 39.98 kB / 0.5214 GB, free: 15.21 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001841/0.4123, allocations: 1.21 MB / 0.5226 GB, free: 14 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4123, allocations: 0 / 0.5226 GB, free: 14 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001668/0.414, allocations: 0.5038 MB / 0.5231 GB, free: 13.5 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * 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 (114): * Single equations (assignments): 110 * 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.0003828/0.4144, allocations: 202.8 kB / 0.5233 GB, free: 13.29 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.004023/0.4184, allocations: 2.315 MB / 0.5256 GB, free: 10.93 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.968e-06/0.4184, allocations: 0 / 0.5256 GB, free: 10.93 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002555/0.421, allocations: 1.559 MB / 0.5271 GB, free: 9.32 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002065/0.423, allocations: 484.5 kB / 0.5275 GB, free: 8.855 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008365/0.4314, allocations: 5.147 MB / 0.5326 GB, free: 3.625 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001834/0.4332, allocations: 1.965 MB / 0.5345 GB, free: 1.629 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005984/0.4338, allocations: 139.3 kB / 0.5346 GB, free: 1.492 MB / 446.1 MB Notification: Performance of SimCode: time 7.62e-07/0.4338, allocations: 0 / 0.5346 GB, free: 1.492 MB / 446.1 MB Notification: Performance of Templates: time 0.2427/0.6765, allocations: 80.05 MB / 0.6128 GB, free: 31.62 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL.sim & ./Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/SynchronousMachines/SMR_DOL/SMR_DOL.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.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: 12.05100233713165]