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.0009139/0.0009139, allocations: 84 kB / 21.43 MB, free: 3.129 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.006353/0.006353, allocations: 143.7 kB / 24.68 MB, free: 8.91 MB / 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 0.8482/0.8482, allocations: 173.4 MB / 201.2 MB, free: 9.441 MB / 186.7 MB " [Timeout remaining time 179] 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.733e-06/1.733e-06, allocations: 3.938 kB / 319.7 MB, free: 5.848 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.372e-05/3.546e-05, allocations: 6.219 kB / 319.7 MB, free: 5.84 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL): time 0.01114/0.01118, allocations: 9.01 MB / 328.7 MB, free: 12.79 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.006193/0.01737, allocations: 3.061 MB / 331.8 MB, free: 9.715 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009417/0.01831, allocations: 71.5 kB / 331.8 MB, free: 9.645 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001488/0.0198, allocations: 0.7139 MB / 332.6 MB, free: 8.926 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00209/0.02189, allocations: 0.9119 MB / 333.5 MB, free: 8.008 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007962/0.02269, allocations: 423.2 kB / 333.9 MB, free: 7.594 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.002802/0.02549, allocations: 3.065 MB / 336.9 MB, free: 4.516 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001664/0.02715, allocations: 1.325 MB / 338.3 MB, free: 3.125 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002246/0.0294, allocations: 2.008 MB / 340.3 MB, free: 1.113 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00191/0.03131, allocations: 1.492 MB / 341.8 MB, free: 15.61 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003975/0.03171, allocations: 356 kB / 342.1 MB, free: 15.27 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006802/0.03239, allocations: 451.8 kB / 342.6 MB, free: 14.82 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008239/0.03321, allocations: 1.059 MB / 343.6 MB, free: 13.76 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007245/0.03393, allocations: 1.103 MB / 344.7 MB, free: 12.66 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002999/0.03693, allocations: 4.74 MB / 349.5 MB, free: 7.902 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.03694, allocations: 0 / 349.5 MB, free: 7.902 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.613e-06/0.03694, allocations: 0 / 349.5 MB, free: 7.902 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.594e-05/0.03697, allocations: 0 / 349.5 MB, free: 7.902 MB / 314.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.003514/0.04048, allocations: 3.233 MB / 352.7 MB, free: 4.617 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.848e-05/0.04052, allocations: 8.922 kB / 352.7 MB, free: 4.609 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004571/0.04097, allocations: 346.9 kB / 353 MB, free: 4.27 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00182/0.04279, allocations: 1.692 MB / 354.7 MB, free: 2.535 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.458e-05/0.04289, allocations: 169 kB / 354.9 MB, free: 2.367 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002328/0.04312, allocations: 232.4 kB / 355.1 MB, free: 2.141 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003236/0.04636, allocations: 3.241 MB / 358.4 MB, free: 14.79 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.662e-05/0.0464, allocations: 11.95 kB / 358.4 MB, free: 14.77 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001489/0.04655, allocations: 95.94 kB / 358.5 MB, free: 14.68 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.728e-05/0.04663, allocations: 104.6 kB / 358.6 MB, free: 14.57 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002829/0.04946, allocations: 2.696 MB / 361.3 MB, free: 11.86 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008037/0.0575, allocations: 8.39 MB / 369.7 MB, free: 3.203 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001487/0.05898, allocations: 1.424 MB / 371.1 MB, free: 1.781 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001085/0.06007, allocations: 1.038 MB / 372.1 MB, free: 0.7461 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001439/0.06021, allocations: 48.97 kB / 372.2 MB, free: 0.6953 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.612e-05/0.06024, allocations: 47.56 kB / 372.2 MB, free: 0.6406 MB / 330.7 MB Notification: Performance of pre-optimization done (n=116): time 3.106e-06/0.06024, allocations: 0 / 372.2 MB, free: 0.6406 MB / 330.7 MB Notification: Performance of matching and sorting (n=131): time 0.007751/0.06799, allocations: 6.33 MB / 378.5 MB, free: 10.28 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.094e-05/0.06803, allocations: 72.7 kB / 378.6 MB, free: 10.2 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001464/0.0695, allocations: 1.595 MB / 380.2 MB, free: 8.594 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 6.347e-05/0.06956, allocations: 49.7 kB / 380.3 MB, free: 8.539 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005407/0.0701, allocations: 1.189 MB / 381.5 MB, free: 7.34 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002375/0.07034, allocations: 471.9 kB / 381.9 MB, free: 6.875 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002751/0.07061, allocations: 287.4 kB / 382.2 MB, free: 6.59 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 7.223e-05/0.07069, allocations: 301.1 kB / 382.5 MB, free: 6.293 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008011/0.07149, allocations: 0.7964 MB / 383.3 MB, free: 5.496 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000977/0.07246, allocations: 1.205 MB / 384.5 MB, free: 4.121 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00185/0.07431, allocations: 2.101 MB / 386.6 MB, free: 1.848 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.47e-06/0.07432, allocations: 4 kB / 386.6 MB, free: 1.844 MB / 346.7 MB Notification: Performance of matching and sorting (n=195) (initialization): time 0.002655/0.07698, allocations: 2.588 MB / 389.2 MB, free: 15.23 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.204e-05/0.077, allocations: 8 kB / 389.2 MB, free: 15.23 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.302e-05/0.07701, allocations: 12.34 kB / 389.2 MB, free: 15.21 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005858/0.0776, allocations: 425.9 kB / 389.6 MB, free: 14.79 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007034/0.0783, allocations: 363.4 kB / 390 MB, free: 14.43 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004499/0.0828, allocations: 6.647 MB / 396.6 MB, free: 7.48 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006608/0.08346, allocations: 103.9 kB / 396.7 MB, free: 7.379 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.487e-05/0.08353, allocations: 60 kB / 396.8 MB, free: 7.32 MB / 362.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.001042/0.08458, allocations: 0.8011 MB / 397.6 MB, free: 6.512 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001804/0.08476, allocations: 182.8 kB / 397.8 MB, free: 6.332 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002422/0.08718, allocations: 2.279 MB / 400 MB, free: 4.023 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.794e-06/0.08719, allocations: 12 kB / 400.1 MB, free: 4.012 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.08719, allocations: 4 kB / 400.1 MB, free: 4.008 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.876e-06/0.0872, allocations: 3.984 kB / 400.1 MB, free: 4.004 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004702/0.0919, allocations: 4.435 MB / 404.5 MB, free: 15.47 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.368e-06/0.09191, allocations: 416 / 404.5 MB, free: 15.47 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000505/0.09241, allocations: 243.6 kB / 404.7 MB, free: 15.23 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006072/0.09302, allocations: 445.8 kB / 405.2 MB, free: 14.79 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.158e-05/0.09308, allocations: 35.97 kB / 405.2 MB, free: 14.75 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004806/0.09789, allocations: 8.084 MB / 413.3 MB, free: 6.258 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.09789, allocations: 0 / 413.3 MB, free: 6.258 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00328/0.1012, allocations: 3.427 MB / 416.7 MB, free: 2.762 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004836/0.1017, allocations: 350.7 kB / 417.1 MB, free: 2.418 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001216/0.1018, allocations: 36.11 kB / 417.1 MB, free: 2.383 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004583/0.1022, allocations: 83.91 kB / 417.2 MB, free: 2.301 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001811/0.1024, allocations: 124.7 kB / 417.3 MB, free: 2.18 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.36e-05/0.1025, allocations: 47.92 kB / 417.3 MB, free: 2.133 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001066/0.1035, allocations: 1.089 MB / 418.4 MB, free: 1.047 MB / 378.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.1035, allocations: 0 / 418.4 MB, free: 1.047 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001197/0.1047, allocations: 0.4999 MB / 418.9 MB, free: 0.5469 MB / 378.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.0003183/0.105, allocations: 206.9 kB / 419.1 MB, free: 344 kB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002358/0.1074, allocations: 2.315 MB / 421.4 MB, free: 13.98 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.916e-06/0.1074, allocations: 0.8125 kB / 421.4 MB, free: 13.98 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001376/0.1088, allocations: 1.547 MB / 423 MB, free: 12.38 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001043/0.1098, allocations: 411 kB / 423.4 MB, free: 11.98 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005221/0.115, allocations: 4.954 MB / 428.4 MB, free: 6.941 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009768/0.116, allocations: 1.402 MB / 429.8 MB, free: 5.504 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002957/0.1163, allocations: 132.5 kB / 429.9 MB, free: 5.375 MB / 394.7 MB Notification: Performance of SimCode: time 1.052e-06/0.1163, allocations: 0 / 429.9 MB, free: 5.375 MB / 394.7 MB Notification: Performance of Templates: time 0.1842/0.3006, allocations: 79.48 MB / 0.4974 GB, free: 67.78 MB / 410.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: 8.854495979845524]