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.0008522/0.0008522, allocations: 87.62 kB / 21.43 MB, free: 3.137 MB / 18.57 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.004022/0.004022, allocations: 157.1 kB / 24.7 MB, free: 9.406 MB / 18.57 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 0.8934/0.8934, allocations: 177.2 MB / 205 MB, free: 5.355 MB / 186.7 MB " [Timeout remaining time 179] 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 1.523e-06/1.523e-06, allocations: 0 / 325.8 MB, free: 15.43 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.535e-05/2.687e-05, allocations: 6.219 kB / 325.8 MB, free: 15.42 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL): time 0.008513/0.00854, allocations: 9.059 MB / 334.9 MB, free: 6.32 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.005215/0.01375, allocations: 3.154 MB / 338.1 MB, free: 3.156 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001116/0.01487, allocations: 71.5 kB / 338.1 MB, free: 3.086 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001235/0.01611, allocations: 0.6985 MB / 338.8 MB, free: 2.383 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001786/0.01789, allocations: 0.9236 MB / 339.8 MB, free: 1.453 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006149/0.01851, allocations: 439.2 kB / 340.2 MB, free: 1.023 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.002402/0.02091, allocations: 3.079 MB / 343.3 MB, free: 13.93 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00125/0.02216, allocations: 1.333 MB / 344.6 MB, free: 12.53 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001843/0.024, allocations: 2.015 MB / 346.6 MB, free: 10.51 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001667/0.02567, allocations: 1.5 MB / 348.1 MB, free: 9.008 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003365/0.026, allocations: 352 kB / 348.5 MB, free: 8.664 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006216/0.02663, allocations: 467.7 kB / 348.9 MB, free: 8.207 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006427/0.02727, allocations: 1.056 MB / 350 MB, free: 7.148 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000837/0.02811, allocations: 1.111 MB / 351.1 MB, free: 6.035 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003417/0.03152, allocations: 4.764 MB / 355.8 MB, free: 1.258 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.03153, allocations: 0 / 355.8 MB, free: 1.258 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.835e-06/0.03153, allocations: 0 / 355.8 MB, free: 1.258 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.073e-05/0.03158, allocations: 0 / 355.8 MB, free: 1.258 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.00391/0.03549, allocations: 3.249 MB / 359.1 MB, free: 13.96 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.022e-05/0.03554, allocations: 8.031 kB / 359.1 MB, free: 13.95 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006911/0.03623, allocations: 378.8 kB / 359.5 MB, free: 13.58 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001989/0.03822, allocations: 1.716 MB / 361.2 MB, free: 11.82 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001057/0.03833, allocations: 181 kB / 361.4 MB, free: 11.64 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000235/0.03856, allocations: 228.4 kB / 361.6 MB, free: 11.42 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003685/0.04225, allocations: 3.237 MB / 364.8 MB, free: 8.066 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.724e-05/0.04229, allocations: 7.953 kB / 364.8 MB, free: 8.059 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001501/0.04245, allocations: 96 kB / 364.9 MB, free: 7.965 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.291e-05/0.04253, allocations: 112.5 kB / 365 MB, free: 7.852 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002925/0.04545, allocations: 2.692 MB / 367.7 MB, free: 5.145 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00869/0.05414, allocations: 8.397 MB / 376.1 MB, free: 12.48 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001688/0.05583, allocations: 1.407 MB / 377.5 MB, free: 11.08 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001121/0.05695, allocations: 1.035 MB / 378.6 MB, free: 10.05 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001762/0.05713, allocations: 52.95 kB / 378.6 MB, free: 9.992 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.843e-05/0.05716, allocations: 51.5 kB / 378.7 MB, free: 9.934 MB / 346.7 MB Notification: Performance of pre-optimization done (n=116): time 3.326e-06/0.05716, allocations: 0 / 378.7 MB, free: 9.934 MB / 346.7 MB Notification: Performance of matching and sorting (n=131): time 0.008141/0.0653, allocations: 6.339 MB / 385 MB, free: 3.559 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.867e-05/0.06534, allocations: 64.72 kB / 385.1 MB, free: 3.484 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001459/0.0668, allocations: 1.619 MB / 386.7 MB, free: 1.855 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 6.163e-05/0.06686, allocations: 49.7 kB / 386.7 MB, free: 1.801 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005436/0.0674, allocations: 1.193 MB / 387.9 MB, free: 0.5938 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000231/0.06763, allocations: 472 kB / 388.4 MB, free: 132 kB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002927/0.06793, allocations: 283.6 kB / 388.7 MB, free: 15.84 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 7.447e-05/0.068, allocations: 301.1 kB / 389 MB, free: 15.55 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007894/0.06879, allocations: 0.7964 MB / 389.8 MB, free: 14.75 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001171/0.06996, allocations: 1.205 MB / 391 MB, free: 13.38 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001858/0.07182, allocations: 2.098 MB / 393.1 MB, free: 11.11 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.23e-06/0.07183, allocations: 4 kB / 393.1 MB, free: 11.11 MB / 362.7 MB Notification: Performance of matching and sorting (n=195) (initialization): time 0.002567/0.07439, allocations: 2.581 MB / 395.6 MB, free: 8.5 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.289e-05/0.07441, allocations: 12 kB / 395.7 MB, free: 8.488 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.476e-05/0.07443, allocations: 12.34 kB / 395.7 MB, free: 8.477 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005746/0.075, allocations: 430 kB / 396.1 MB, free: 8.047 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00068/0.07568, allocations: 363.4 kB / 396.4 MB, free: 7.691 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004349/0.08003, allocations: 6.64 MB / 403.1 MB, free: 0.7461 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007052/0.08074, allocations: 103.9 kB / 403.2 MB, free: 0.6445 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.125e-05/0.08081, allocations: 63.98 kB / 403.2 MB, free: 0.582 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.001059/0.08187, allocations: 0.7952 MB / 404 MB, free: 15.78 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001774/0.08205, allocations: 190.8 kB / 404.2 MB, free: 15.59 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002478/0.08452, allocations: 2.279 MB / 406.5 MB, free: 13.29 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.392e-06/0.08453, allocations: 12 kB / 406.5 MB, free: 13.27 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.213e-06/0.08454, allocations: 4 kB / 406.5 MB, free: 13.27 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.013e-05/0.08455, allocations: 7.969 kB / 406.5 MB, free: 13.26 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004587/0.08914, allocations: 4.447 MB / 411 MB, free: 8.719 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.35e-06/0.08914, allocations: 4.406 kB / 411 MB, free: 8.715 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005005/0.08964, allocations: 239.6 kB / 411.2 MB, free: 8.48 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000618/0.09026, allocations: 458.7 kB / 411.7 MB, free: 8.023 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.835e-05/0.09032, allocations: 31.98 kB / 411.7 MB, free: 7.992 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004943/0.09526, allocations: 8.078 MB / 419.8 MB, free: 15.5 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/0.09526, allocations: 4 kB / 419.8 MB, free: 15.5 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003225/0.09849, allocations: 3.415 MB / 423.2 MB, free: 12.01 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005586/0.09905, allocations: 346.8 kB / 423.5 MB, free: 11.67 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00012/0.09917, allocations: 32.11 kB / 423.6 MB, free: 11.64 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004698/0.09964, allocations: 91.91 kB / 423.6 MB, free: 11.55 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001946/0.09983, allocations: 124.7 kB / 423.8 MB, free: 11.43 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.985e-05/0.09988, allocations: 43.98 kB / 423.8 MB, free: 11.38 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.001051/0.1009, allocations: 1.086 MB / 424.9 MB, free: 10.3 MB / 394.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1009, allocations: 0 / 424.9 MB, free: 10.3 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001158/0.1021, allocations: 0.5038 MB / 425.4 MB, free: 9.797 MB / 394.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.0003152/0.1024, allocations: 215.1 kB / 425.6 MB, free: 9.582 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.002466/0.1049, allocations: 2.312 MB / 427.9 MB, free: 7.23 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.926e-06/0.1049, allocations: 0 / 427.9 MB, free: 7.23 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001369/0.1062, allocations: 1.559 MB / 429.5 MB, free: 5.617 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001092/0.1073, allocations: 415.5 kB / 429.9 MB, free: 5.215 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005361/0.1127, allocations: 4.946 MB / 434.8 MB, free: 192 kB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009769/0.1137, allocations: 1.399 MB / 436.2 MB, free: 14.75 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002967/0.114, allocations: 128.5 kB / 436.4 MB, free: 14.63 MB / 410.7 MB Notification: Performance of SimCode: time 9.02e-07/0.114, allocations: 4 kB / 436.4 MB, free: 14.62 MB / 410.7 MB Notification: Performance of Templates: time 0.2203/0.3342, allocations: 79.93 MB / 0.5042 GB, free: 56.59 MB / 410.7 MB " [Timeout remaining time 660] 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/SynchronousMachines/SMR_DOL/SMR_DOL.csv","/var/lib/jenkins/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: 9.282691244967282]