Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001796/0.001796, allocations: 82.09 kB / 21.25 MB, free: 0.5469 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002213/0.002213, allocations: 166.3 kB / 24.5 MB, free: 3.848 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.465/1.465, allocations: 177.1 MB / 204.7 MB, free: 8.969 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002555/0.002555, allocations: 61.39 kB / 325.6 MB, free: 160 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1006/0.1032, allocations: 53.38 MB / 378.9 MB, free: 15.45 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL): time 0.01302/0.1162, allocations: 9.065 MB / 388 MB, free: 6.344 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00708/0.1233, allocations: 3.128 MB / 391.1 MB, free: 3.203 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001777/0.125, allocations: 75.5 kB / 391.2 MB, free: 3.129 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002395/0.1274, allocations: 0.6906 MB / 391.9 MB, free: 2.434 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003215/0.1306, allocations: 0.905 MB / 392.8 MB, free: 1.523 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001348/0.132, allocations: 419.4 kB / 393.2 MB, free: 1.113 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00413/0.1361, allocations: 2.992 MB / 396.2 MB, free: 14.11 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0024/0.1385, allocations: 1.337 MB / 397.5 MB, free: 12.71 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002106/0.1406, allocations: 1.394 MB / 398.9 MB, free: 11.31 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003013/0.1436, allocations: 1.658 MB / 400.6 MB, free: 9.645 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008686/0.1445, allocations: 352 kB / 400.9 MB, free: 9.301 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001173/0.1457, allocations: 467.8 kB / 401.4 MB, free: 8.844 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00117/0.1469, allocations: 1.036 MB / 402.4 MB, free: 7.805 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001751/0.1486, allocations: 1.299 MB / 403.7 MB, free: 6.5 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005383/0.154, allocations: 4.741 MB / 408.5 MB, free: 1.742 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.667e-06/0.154, allocations: 4 kB / 408.5 MB, free: 1.738 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.824e-06/0.154, allocations: 4 kB / 408.5 MB, free: 1.734 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001105/0.1541, allocations: 0 / 408.5 MB, free: 1.734 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.007447/0.1616, allocations: 3.268 MB / 411.7 MB, free: 14.41 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.723e-05/0.1616, allocations: 12.03 kB / 411.8 MB, free: 14.4 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001229/0.1628, allocations: 390.8 kB / 412.1 MB, free: 14.02 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003614/0.1664, allocations: 1.705 MB / 413.8 MB, free: 12.28 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001843/0.1666, allocations: 180.8 kB / 414 MB, free: 12.1 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004165/0.167, allocations: 232 kB / 414.2 MB, free: 11.87 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005678/0.1727, allocations: 3.241 MB / 417.5 MB, free: 8.516 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.653e-05/0.1728, allocations: 3.953 kB / 417.5 MB, free: 8.512 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002274/0.173, allocations: 95.94 kB / 417.6 MB, free: 8.418 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001341/0.1732, allocations: 108.6 kB / 417.7 MB, free: 8.309 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005066/0.1782, allocations: 2.688 MB / 420.4 MB, free: 5.605 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02016/0.1984, allocations: 8.413 MB / 428.8 MB, free: 12.93 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00327/0.2016, allocations: 1.396 MB / 430.2 MB, free: 11.54 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002366/0.204, allocations: 1.035 MB / 431.2 MB, free: 10.5 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000312/0.2043, allocations: 56.89 kB / 431.3 MB, free: 10.44 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.246e-05/0.2044, allocations: 47.56 kB / 431.3 MB, free: 10.39 MB / 398.1 MB Notification: Performance of pre-optimization done (n=116): time 6.232e-06/0.2044, allocations: 3.984 kB / 431.3 MB, free: 10.38 MB / 398.1 MB Notification: Performance of matching and sorting (n=131): time 0.01572/0.2201, allocations: 6.347 MB / 437.7 MB, free: 4.004 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.727e-05/0.2202, allocations: 68.7 kB / 437.7 MB, free: 3.926 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002832/0.223, allocations: 1.611 MB / 439.3 MB, free: 2.305 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001429/0.2231, allocations: 45.7 kB / 439.4 MB, free: 2.254 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009969/0.2241, allocations: 1.201 MB / 440.6 MB, free: 1.039 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004901/0.2246, allocations: 476 kB / 441.1 MB, free: 0.5703 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005285/0.2252, allocations: 287.5 kB / 441.3 MB, free: 288 kB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001485/0.2253, allocations: 309.1 kB / 441.6 MB, free: 15.98 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001458/0.2268, allocations: 0.7925 MB / 442.4 MB, free: 15.18 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001778/0.2285, allocations: 1.197 MB / 443.6 MB, free: 13.82 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003197/0.2317, allocations: 2.102 MB / 445.7 MB, free: 11.55 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.913e-06/0.2317, allocations: 0 / 445.7 MB, free: 11.55 MB / 414.1 MB Notification: Performance of matching and sorting (n=195) (initialization): time 0.004787/0.2365, allocations: 2.589 MB / 448.3 MB, free: 8.938 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.803e-05/0.2366, allocations: 8 kB / 448.3 MB, free: 8.93 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.207e-05/0.2366, allocations: 12 kB / 448.3 MB, free: 8.918 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001037/0.2376, allocations: 423.3 kB / 448.8 MB, free: 8.492 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001393/0.239, allocations: 355.4 kB / 449.1 MB, free: 8.145 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007584/0.2466, allocations: 6.651 MB / 455.8 MB, free: 1.195 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001505/0.2481, allocations: 115.8 kB / 455.9 MB, free: 1.082 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001474/0.2482, allocations: 63.98 kB / 455.9 MB, free: 1.02 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.001464/0.2497, allocations: 0.8016 MB / 456.7 MB, free: 212 kB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003946/0.2501, allocations: 178.9 kB / 456.9 MB, free: 32 kB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004245/0.2544, allocations: 2.283 MB / 459.2 MB, free: 13.71 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.226e-05/0.2544, allocations: 12 kB / 459.2 MB, free: 13.7 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.386e-06/0.2544, allocations: 4 kB / 459.2 MB, free: 13.7 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.226e-05/0.2544, allocations: 3.984 kB / 459.2 MB, free: 13.69 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008653/0.263, allocations: 4.439 MB / 463.6 MB, free: 9.156 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.234e-05/0.2631, allocations: 7.984 kB / 463.7 MB, free: 9.148 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001027/0.2641, allocations: 235.7 kB / 463.9 MB, free: 8.918 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001202/0.2653, allocations: 459.3 kB / 464.3 MB, free: 8.457 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001102/0.2654, allocations: 39.97 kB / 464.4 MB, free: 8.418 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2006/0.466, allocations: 8.071 MB / 472.4 MB, free: 81.87 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.035e-06/0.466, allocations: 3.656 kB / 472.4 MB, free: 81.87 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005549/0.4715, allocations: 3.426 MB / 475.9 MB, free: 81.55 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009108/0.4724, allocations: 353.7 kB / 476.2 MB, free: 81.55 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002067/0.4726, allocations: 36.08 kB / 476.3 MB, free: 81.55 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009187/0.4735, allocations: 82.97 kB / 476.3 MB, free: 81.55 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002681/0.4738, allocations: 120 kB / 476.5 MB, free: 81.55 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.474e-05/0.4739, allocations: 40.95 kB / 476.5 MB, free: 81.55 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001492/0.4754, allocations: 1.098 MB / 477.6 MB, free: 81.33 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4754, allocations: 0.9062 kB / 477.6 MB, free: 81.33 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.00168/0.4771, allocations: 0.4994 MB / 478.1 MB, free: 81.29 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.0003166/0.4774, allocations: 195.4 kB / 478.3 MB, free: 81.18 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003637/0.481, allocations: 2.331 MB / 480.6 MB, free: 80.23 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 5.31e-06/0.481, allocations: 0.9688 kB / 480.6 MB, free: 80.23 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00229/0.4833, allocations: 1.55 MB / 482.2 MB, free: 79.44 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001808/0.4851, allocations: 411.7 kB / 482.6 MB, free: 79.32 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006593/0.4917, allocations: 5.076 MB / 487.6 MB, free: 76.91 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001229/0.4929, allocations: 1.442 MB / 489.1 MB, free: 76.51 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0009504/0.4939, allocations: 430.6 kB / 489.5 MB, free: 76.45 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003268/0.4942, allocations: 126.1 kB / 489.6 MB, free: 76.44 MB / 430.1 MB Notification: Performance of SimCode: time 6.01e-07/0.4942, allocations: 3.172 kB / 489.6 MB, free: 76.44 MB / 430.1 MB Notification: Performance of Templates: time 0.03557/0.5298, allocations: 27 MB / 0.5045 GB, free: 52.6 MB / 430.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL.sim & ./Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_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_trunk_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: 5.473015552968718]