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.001466/0.001466, allocations: 111 kB / 21.18 MB, free: 0.6758 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.00199/0.00199, allocations: 206.6 kB / 24.47 MB, free: 3.977 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 2.123/2.123, allocations: 230.6 MB / 258.2 MB, free: 7.805 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.002035/0.002035, allocations: 55.86 kB / 379 MB, free: 2.473 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3322/0.3342, allocations: 53.37 MB / 432.3 MB, free: 6.73 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL): time 0.01533/0.3495, allocations: 9.05 MB / 441.4 MB, free: 13.65 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.008141/0.3577, allocations: 3.131 MB / 444.5 MB, free: 10.51 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001798/0.3595, allocations: 75.5 kB / 444.6 MB, free: 10.43 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002657/0.3621, allocations: 0.6944 MB / 445.3 MB, free: 9.738 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003703/0.3658, allocations: 0.8894 MB / 446.2 MB, free: 8.844 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001346/0.3672, allocations: 431.4 kB / 446.6 MB, free: 8.422 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004996/0.3722, allocations: 2.984 MB / 449.6 MB, free: 5.426 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003167/0.3753, allocations: 1.384 MB / 451 MB, free: 3.977 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002679/0.378, allocations: 1.394 MB / 452.4 MB, free: 2.578 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003305/0.3813, allocations: 1.74 MB / 454.1 MB, free: 0.832 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007887/0.3821, allocations: 360 kB / 454.5 MB, free: 492 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001288/0.3834, allocations: 459.8 kB / 454.9 MB, free: 28 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001408/0.3848, allocations: 1.032 MB / 455.9 MB, free: 14.99 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002223/0.387, allocations: 1.303 MB / 457.2 MB, free: 13.68 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006872/0.3939, allocations: 4.745 MB / 462 MB, free: 8.922 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.322e-06/0.3939, allocations: 0 / 462 MB, free: 8.922 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.104e-06/0.3939, allocations: 0 / 462 MB, free: 8.922 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001088/0.394, allocations: 3.938 kB / 462 MB, free: 8.918 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.0105/0.4045, allocations: 3.276 MB / 465.3 MB, free: 5.59 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.67e-05/0.4046, allocations: 8.031 kB / 465.3 MB, free: 5.582 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001508/0.4061, allocations: 382.8 kB / 465.6 MB, free: 5.207 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004575/0.4107, allocations: 1.705 MB / 467.4 MB, free: 3.465 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002212/0.4109, allocations: 192.7 kB / 467.5 MB, free: 3.273 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005412/0.4114, allocations: 228 kB / 467.8 MB, free: 3.051 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01054/0.422, allocations: 3.237 MB / 471 MB, free: 15.7 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.911e-05/0.4221, allocations: 11.95 kB / 471 MB, free: 15.68 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003095/0.4224, allocations: 92 kB / 471.1 MB, free: 15.59 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001745/0.4225, allocations: 112.5 kB / 471.2 MB, free: 15.48 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006703/0.4292, allocations: 2.692 MB / 473.9 MB, free: 12.77 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01989/0.4491, allocations: 8.404 MB / 482.3 MB, free: 4.102 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003336/0.4525, allocations: 1.403 MB / 483.7 MB, free: 2.703 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002523/0.455, allocations: 1.032 MB / 484.7 MB, free: 1.676 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003095/0.4553, allocations: 52.91 kB / 484.8 MB, free: 1.621 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.141e-05/0.4553, allocations: 47.56 kB / 484.8 MB, free: 1.566 MB / 382.1 MB Notification: Performance of pre-optimization done (n=116): time 4.829e-06/0.4554, allocations: 0 / 484.8 MB, free: 1.566 MB / 382.1 MB Notification: Performance of matching and sorting (n=131): time 0.01923/0.4746, allocations: 6.338 MB / 491.2 MB, free: 11.19 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.002e-05/0.4746, allocations: 64.72 kB / 491.2 MB, free: 11.12 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003234/0.4779, allocations: 1.615 MB / 492.9 MB, free: 9.492 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002581/0.4781, allocations: 49.7 kB / 492.9 MB, free: 9.438 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001199/0.4793, allocations: 1.204 MB / 494.1 MB, free: 8.219 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006363/0.48, allocations: 476 kB / 494.6 MB, free: 7.75 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006381/0.4806, allocations: 287.5 kB / 494.9 MB, free: 7.461 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001426/0.4807, allocations: 309.1 kB / 495.2 MB, free: 7.156 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001768/0.4825, allocations: 0.7925 MB / 496 MB, free: 6.363 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002137/0.4847, allocations: 1.201 MB / 497.2 MB, free: 4.992 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004046/0.4887, allocations: 2.094 MB / 499.2 MB, free: 2.727 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.194e-05/0.4887, allocations: 4 kB / 499.3 MB, free: 2.723 MB / 398.1 MB Notification: Performance of matching and sorting (n=195) (initialization): time 0.006041/0.4948, allocations: 2.584 MB / 0.4901 GB, free: 120 kB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.705e-05/0.4948, allocations: 19.92 kB / 0.4901 GB, free: 100 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.989e-05/0.4948, allocations: 12 kB / 0.4901 GB, free: 88 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001351/0.4962, allocations: 415.5 kB / 0.4905 GB, free: 15.66 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001878/0.498, allocations: 363.4 kB / 0.4908 GB, free: 15.31 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009072/0.5071, allocations: 6.653 MB / 0.4973 GB, free: 8.363 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00196/0.5091, allocations: 107.8 kB / 0.4974 GB, free: 8.258 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002712/0.5094, allocations: 60 kB / 0.4975 GB, free: 8.199 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.001811/0.5112, allocations: 0.8016 MB / 0.4983 GB, free: 7.387 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005201/0.5117, allocations: 182.9 kB / 0.4985 GB, free: 7.207 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00534/0.517, allocations: 2.283 MB / 0.5007 GB, free: 4.898 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-05/0.517, allocations: 12 kB / 0.5007 GB, free: 4.887 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.152e-05/0.5171, allocations: 4 kB / 0.5007 GB, free: 4.883 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.65e-05/0.5171, allocations: 11.97 kB / 0.5007 GB, free: 4.871 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01105/0.5281, allocations: 4.435 MB / 0.505 GB, free: 344 kB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.92e-05/0.5281, allocations: 4 kB / 0.5051 GB, free: 340 kB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001392/0.5295, allocations: 231.7 kB / 0.5053 GB, free: 108 kB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001582/0.5311, allocations: 455.3 kB / 0.5057 GB, free: 15.65 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001449/0.5313, allocations: 39.98 kB / 0.5057 GB, free: 15.61 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01052/0.5418, allocations: 8.095 MB / 0.5137 GB, free: 7.113 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.011e-06/0.5418, allocations: 8 kB / 0.5137 GB, free: 7.105 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007992/0.5498, allocations: 3.423 MB / 0.517 GB, free: 3.609 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001385/0.5512, allocations: 346.7 kB / 0.5173 GB, free: 3.27 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003817/0.5515, allocations: 35.98 kB / 0.5174 GB, free: 3.234 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001284/0.5528, allocations: 83.91 kB / 0.5174 GB, free: 3.152 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004011/0.5532, allocations: 120.7 kB / 0.5176 GB, free: 3.035 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001195/0.5533, allocations: 39.98 kB / 0.5176 GB, free: 2.996 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.002342/0.5557, allocations: 1.097 MB / 0.5187 GB, free: 1.902 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.5557, allocations: 0 / 0.5187 GB, free: 1.902 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.00259/0.5583, allocations: 0.5078 MB / 0.5192 GB, free: 1.395 MB / 430.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.0005324/0.5588, allocations: 194.9 kB / 0.5194 GB, free: 1.195 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.005513/0.5643, allocations: 2.322 MB / 0.5216 GB, free: 14.82 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 8.456e-06/0.5643, allocations: 0 / 0.5216 GB, free: 14.82 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003509/0.5678, allocations: 1.556 MB / 0.5231 GB, free: 13.21 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002691/0.5705, allocations: 413.9 kB / 0.5235 GB, free: 12.81 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01106/0.5816, allocations: 5.08 MB / 0.5285 GB, free: 7.656 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002144/0.5837, allocations: 1.443 MB / 0.5299 GB, free: 6.176 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001779/0.5855, allocations: 426.3 kB / 0.5303 GB, free: 5.754 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005334/0.5861, allocations: 123.4 kB / 0.5304 GB, free: 5.633 MB / 446.1 MB Notification: Performance of SimCode: time 1.052e-06/0.5861, allocations: 0 / 0.5304 GB, free: 5.633 MB / 446.1 MB Notification: Performance of Templates: time 0.3685/0.9545, allocations: 30.5 MB / 0.5602 GB, free: 86.05 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 -s cvode -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: 8.786991721004597]