Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001714/0.001714, allocations: 88.62 kB / 20.96 MB, free: 3.477 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002076/0.002076, allocations: 149.3 kB / 24.26 MB, free: 184 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.423/1.423, allocations: 173.3 MB / 200.8 MB, free: 9.309 MB / 186.7 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.653e-06/1.653e-06, allocations: 0 / 267.3 MB, free: 6.715 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.555e-05/2.72e-05, allocations: 2.312 kB / 267.3 MB, free: 6.711 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL): time 0.01344/0.01347, allocations: 9.028 MB / 276.4 MB, free: 13.64 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.007191/0.02066, allocations: 3.053 MB / 279.4 MB, free: 10.58 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001362/0.02202, allocations: 75.5 kB / 279.5 MB, free: 10.5 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00201/0.02403, allocations: 0.6985 MB / 280.2 MB, free: 9.801 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002882/0.02691, allocations: 0.9158 MB / 281.1 MB, free: 8.879 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001041/0.02795, allocations: 419.3 kB / 281.5 MB, free: 8.469 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.004368/0.03232, allocations: 3.065 MB / 284.6 MB, free: 5.395 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002628/0.03495, allocations: 1.344 MB / 285.9 MB, free: 3.984 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004031/0.03898, allocations: 2.011 MB / 287.9 MB, free: 1.969 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003004/0.04198, allocations: 1.488 MB / 289.4 MB, free: 488 kB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007469/0.04273, allocations: 356 kB / 289.8 MB, free: 132 kB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.1154/0.1581, allocations: 445.2 kB / 290.2 MB, free: 18.89 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001501/0.1596, allocations: 1.063 MB / 291.3 MB, free: 18.89 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002255/0.1619, allocations: 1.099 MB / 292.4 MB, free: 18.89 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005615/0.1675, allocations: 4.738 MB / 297.1 MB, free: 18.67 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.642e-06/0.1675, allocations: 1 kB / 297.1 MB, free: 18.67 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.834e-06/0.1675, allocations: 0 / 297.1 MB, free: 18.67 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001285/0.1676, allocations: 2.828 kB / 297.1 MB, free: 18.67 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.007269/0.1749, allocations: 3.242 MB / 300.3 MB, free: 17.36 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.245e-05/0.175, allocations: 9.891 kB / 300.4 MB, free: 17.36 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001294/0.1762, allocations: 0.5248 MB / 300.9 MB, free: 17.19 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002973/0.1792, allocations: 1.754 MB / 302.6 MB, free: 16.51 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000126/0.1793, allocations: 175.8 kB / 302.8 MB, free: 16.43 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003563/0.1797, allocations: 231.6 kB / 303 MB, free: 16.35 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004901/0.1846, allocations: 3.246 MB / 306.3 MB, free: 14.64 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.216e-05/0.1847, allocations: 14.45 kB / 306.3 MB, free: 14.63 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002232/0.1849, allocations: 94.69 kB / 306.4 MB, free: 14.56 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.86e-05/0.185, allocations: 109.3 kB / 306.5 MB, free: 14.54 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004024/0.189, allocations: 2.686 MB / 309.2 MB, free: 13.17 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01495/0.204, allocations: 8.536 MB / 317.7 MB, free: 6.344 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002314/0.2063, allocations: 1.398 MB / 319.1 MB, free: 4.965 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001603/0.2079, allocations: 1.045 MB / 320.2 MB, free: 3.926 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002312/0.2081, allocations: 64.95 kB / 320.2 MB, free: 3.863 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.7e-05/0.2081, allocations: 47.56 kB / 320.3 MB, free: 3.805 MB / 266.7 MB Notification: Performance of pre-optimization done (n=116): time 3.045e-06/0.2081, allocations: 0 / 320.3 MB, free: 3.805 MB / 266.7 MB Notification: Performance of matching and sorting (n=131): time 0.01447/0.2226, allocations: 6.37 MB / 326.6 MB, free: 13.44 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003159/0.2229, allocations: 68.72 kB / 326.7 MB, free: 13.36 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002946/0.2259, allocations: 1.603 MB / 328.3 MB, free: 11.75 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001878/0.2261, allocations: 45.7 kB / 328.4 MB, free: 11.7 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001143/0.2272, allocations: 1.192 MB / 329.5 MB, free: 10.5 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005701/0.2278, allocations: 463.8 kB / 330 MB, free: 10.05 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005482/0.2283, allocations: 287.5 kB / 330.3 MB, free: 9.762 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001618/0.2285, allocations: 301.1 kB / 330.6 MB, free: 9.465 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001612/0.2301, allocations: 0.7995 MB / 331.4 MB, free: 8.668 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001923/0.232, allocations: 1.201 MB / 332.6 MB, free: 7.297 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003751/0.2358, allocations: 2.097 MB / 334.7 MB, free: 5.086 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.768e-06/0.2358, allocations: 4 kB / 334.7 MB, free: 5.082 MB / 282.7 MB Notification: Performance of matching and sorting (n=195) (initialization): time 0.005431/0.2412, allocations: 2.657 MB / 337.3 MB, free: 2.492 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.091e-05/0.2412, allocations: 11.94 kB / 337.3 MB, free: 2.48 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.682e-05/0.2413, allocations: 12 kB / 337.4 MB, free: 2.469 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001287/0.2426, allocations: 458.7 kB / 337.8 MB, free: 2.012 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001462/0.244, allocations: 368.1 kB / 338.2 MB, free: 1.672 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008646/0.2527, allocations: 6.667 MB / 344.8 MB, free: 10.75 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001486/0.2541, allocations: 103.9 kB / 344.9 MB, free: 10.65 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001502/0.2543, allocations: 63.98 kB / 345 MB, free: 10.59 MB / 298.7 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.001705/0.256, allocations: 0.7962 MB / 345.8 MB, free: 9.805 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005018/0.2565, allocations: 234.7 kB / 346 MB, free: 9.574 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004868/0.2614, allocations: 2.278 MB / 348.3 MB, free: 7.285 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.594e-05/0.2614, allocations: 15.06 kB / 348.3 MB, free: 7.273 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.207e-06/0.2614, allocations: 4 kB / 348.3 MB, free: 7.27 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.433e-05/0.2614, allocations: 7.969 kB / 348.3 MB, free: 7.262 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009309/0.2707, allocations: 4.432 MB / 352.8 MB, free: 2.805 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.048e-05/0.2707, allocations: 4.031 kB / 352.8 MB, free: 2.801 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001106/0.2718, allocations: 244.1 kB / 353 MB, free: 2.574 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001436/0.2733, allocations: 472.4 kB / 353.5 MB, free: 2.102 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001197/0.2734, allocations: 35.98 kB / 353.5 MB, free: 2.066 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01026/0.2837, allocations: 8.117 MB / 361.6 MB, free: 9.59 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.952e-06/0.2837, allocations: 4 kB / 361.6 MB, free: 9.586 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006877/0.2905, allocations: 3.471 MB / 365.1 MB, free: 6.07 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001103/0.2916, allocations: 350.7 kB / 365.4 MB, free: 5.727 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002604/0.2919, allocations: 35.98 kB / 365.5 MB, free: 5.691 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009806/0.2929, allocations: 83.91 kB / 365.5 MB, free: 5.609 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003426/0.2932, allocations: 124.5 kB / 365.7 MB, free: 5.492 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001073/0.2933, allocations: 43.98 kB / 365.7 MB, free: 5.449 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.001973/0.2953, allocations: 1.085 MB / 366.8 MB, free: 4.367 MB / 314.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.2953, allocations: 0 / 366.8 MB, free: 4.367 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.002029/0.2973, allocations: 0.4999 MB / 367.3 MB, free: 3.867 MB / 314.7 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.0004448/0.2978, allocations: 202.4 kB / 367.5 MB, free: 3.676 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.004516/0.3023, allocations: 2.317 MB / 369.8 MB, free: 1.367 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.676e-06/0.3023, allocations: 0 / 369.8 MB, free: 1.367 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003025/0.3053, allocations: 1.551 MB / 371.4 MB, free: 15.79 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002309/0.3076, allocations: 441.2 kB / 371.8 MB, free: 15.37 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009422/0.3171, allocations: 4.993 MB / 376.8 MB, free: 10.3 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002079/0.3191, allocations: 1.43 MB / 378.2 MB, free: 8.836 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.001423/0.3206, allocations: 429.7 kB / 378.6 MB, free: 8.414 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004608/0.321, allocations: 120.5 kB / 378.8 MB, free: 8.297 MB / 330.7 MB Notification: Performance of SimCode: time 1.222e-06/0.321, allocations: 4 kB / 378.8 MB, free: 8.293 MB / 330.7 MB Notification: Performance of Templates: time 0.05065/0.3717, allocations: 26.84 MB / 405.6 MB, free: 13.86 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL.sim & ./Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/SynchronousMachines/SMR_DOL/SMR_DOL.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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: 5.286228816956282]