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.00183/0.00183, 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.002147/0.002147, allocations: 210.7 kB / 24.48 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 1.498/1.498, allocations: 230.6 MB / 258.2 MB, free: 7.801 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.002265/0.002265, allocations: 55.92 kB / 379 MB, free: 2.473 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2865/0.2887, allocations: 53.37 MB / 432.3 MB, free: 6.727 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL): time 0.01203/0.3008, allocations: 9.054 MB / 441.4 MB, free: 13.64 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006349/0.3071, allocations: 3.131 MB / 444.5 MB, free: 10.5 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001238/0.3083, allocations: 71.5 kB / 444.6 MB, free: 10.43 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001812/0.3102, allocations: 0.6983 MB / 445.3 MB, free: 9.73 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003776/0.3139, allocations: 0.8933 MB / 446.2 MB, free: 8.832 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001139/0.3151, allocations: 431.3 kB / 446.6 MB, free: 8.41 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003564/0.3186, allocations: 2.977 MB / 449.6 MB, free: 5.422 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001931/0.3206, allocations: 1.384 MB / 451 MB, free: 3.973 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001979/0.3225, allocations: 1.386 MB / 452.4 MB, free: 2.582 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002302/0.3248, allocations: 1.755 MB / 454.1 MB, free: 0.8203 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005176/0.3254, allocations: 356 kB / 454.5 MB, free: 484 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008873/0.3262, allocations: 459.8 kB / 454.9 MB, free: 24 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00105/0.3273, allocations: 1.04 MB / 455.9 MB, free: 14.98 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001423/0.3287, allocations: 1.299 MB / 457.2 MB, free: 13.68 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005047/0.3338, allocations: 4.745 MB / 462 MB, free: 8.914 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.3338, allocations: 0 / 462 MB, free: 8.914 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.774e-06/0.3338, allocations: 0 / 462 MB, free: 8.914 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.781e-05/0.3338, allocations: 0 / 462 MB, free: 8.914 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.006436/0.3403, allocations: 3.28 MB / 465.3 MB, free: 5.582 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.202e-05/0.3403, allocations: 15.95 kB / 465.3 MB, free: 5.566 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001127/0.3414, allocations: 378.9 kB / 465.7 MB, free: 5.195 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003493/0.3449, allocations: 1.705 MB / 467.4 MB, free: 3.453 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001886/0.3451, allocations: 184.8 kB / 467.5 MB, free: 3.27 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003831/0.3455, allocations: 228 kB / 467.8 MB, free: 3.047 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005487/0.351, allocations: 3.237 MB / 471 MB, free: 15.7 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.462e-05/0.3511, allocations: 11.95 kB / 471 MB, free: 15.68 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002298/0.3513, allocations: 96 kB / 471.1 MB, free: 15.59 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000125/0.3514, allocations: 108.6 kB / 471.2 MB, free: 15.48 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004755/0.3562, allocations: 2.692 MB / 473.9 MB, free: 12.77 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01489/0.3711, allocations: 8.401 MB / 482.3 MB, free: 4.102 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00258/0.3736, allocations: 1.41 MB / 483.7 MB, free: 2.695 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001983/0.3756, allocations: 1.035 MB / 484.8 MB, free: 1.664 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002391/0.3759, allocations: 49.91 kB / 484.8 MB, free: 1.613 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.504e-05/0.3759, allocations: 43.56 kB / 484.8 MB, free: 1.562 MB / 382.1 MB Notification: Performance of pre-optimization done (n=116): time 3.387e-06/0.3759, allocations: 0 / 484.8 MB, free: 1.562 MB / 382.1 MB Notification: Performance of matching and sorting (n=131): time 0.01458/0.3905, allocations: 6.346 MB / 491.2 MB, free: 11.18 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.167e-05/0.3905, allocations: 64.72 kB / 491.3 MB, free: 11.11 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002348/0.3929, allocations: 1.615 MB / 492.9 MB, free: 9.48 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001006/0.393, allocations: 49.7 kB / 492.9 MB, free: 9.426 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000929/0.3939, allocations: 1.197 MB / 494.1 MB, free: 8.215 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004127/0.3943, allocations: 472 kB / 494.6 MB, free: 7.75 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004904/0.3948, allocations: 287.5 kB / 494.9 MB, free: 7.461 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001251/0.3949, allocations: 309.1 kB / 495.2 MB, free: 7.156 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001358/0.3963, allocations: 0.7964 MB / 496 MB, free: 6.359 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001701/0.398, allocations: 1.205 MB / 497.2 MB, free: 4.984 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003198/0.4012, allocations: 2.098 MB / 499.3 MB, free: 2.715 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.716e-06/0.4012, allocations: 4 kB / 499.3 MB, free: 2.711 MB / 398.1 MB Notification: Performance of matching and sorting (n=195) (initialization): time 0.004755/0.406, allocations: 2.589 MB / 0.4901 GB, free: 104 kB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.38e-05/0.406, allocations: 12.06 kB / 0.4901 GB, free: 92 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.788e-05/0.406, allocations: 19.94 kB / 0.4901 GB, free: 72 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001097/0.4071, allocations: 406.8 kB / 0.4905 GB, free: 15.66 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001472/0.4086, allocations: 371.4 kB / 0.4909 GB, free: 15.3 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007513/0.4161, allocations: 6.643 MB / 0.4973 GB, free: 8.355 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001296/0.4174, allocations: 111.8 kB / 0.4975 GB, free: 8.246 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001206/0.4175, allocations: 60 kB / 0.4975 GB, free: 8.188 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.001392/0.4189, allocations: 0.8038 MB / 0.4983 GB, free: 7.375 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003217/0.4192, allocations: 178.9 kB / 0.4985 GB, free: 7.199 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00426/0.4235, allocations: 2.283 MB / 0.5007 GB, free: 4.891 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.181e-05/0.4235, allocations: 12 kB / 0.5007 GB, free: 4.879 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.534e-06/0.4235, allocations: 4 kB / 0.5007 GB, free: 4.875 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.359e-05/0.4235, allocations: 7.969 kB / 0.5007 GB, free: 4.867 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008727/0.4322, allocations: 4.443 MB / 0.5051 GB, free: 332 kB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.907e-06/0.4322, allocations: 4 kB / 0.5051 GB, free: 328 kB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001109/0.4334, allocations: 231.7 kB / 0.5053 GB, free: 96 kB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0013/0.4347, allocations: 451 kB / 0.5057 GB, free: 15.64 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001109/0.4348, allocations: 39.98 kB / 0.5057 GB, free: 15.6 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008924/0.4437, allocations: 8.087 MB / 0.5136 GB, free: 7.109 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.33e-06/0.4437, allocations: 3.938 kB / 0.5137 GB, free: 7.105 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005997/0.4497, allocations: 3.427 MB / 0.517 GB, free: 3.605 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001137/0.4508, allocations: 346.7 kB / 0.5173 GB, free: 3.266 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00026/0.4511, allocations: 35.98 kB / 0.5174 GB, free: 3.23 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009758/0.4521, allocations: 87.91 kB / 0.5174 GB, free: 3.145 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002991/0.4524, allocations: 120.7 kB / 0.5176 GB, free: 3.027 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001067/0.4525, allocations: 39.98 kB / 0.5176 GB, free: 2.988 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001712/0.4542, allocations: 1.097 MB / 0.5187 GB, free: 1.895 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4542, allocations: 0 / 0.5187 GB, free: 1.895 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001754/0.4559, allocations: 0.5038 MB / 0.5192 GB, free: 1.391 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.0003918/0.4563, allocations: 199 kB / 0.5194 GB, free: 1.188 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.004153/0.4605, allocations: 2.323 MB / 0.5216 GB, free: 14.82 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.647e-06/0.4605, allocations: 4.188 kB / 0.5216 GB, free: 14.82 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002688/0.4632, allocations: 1.547 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.001918/0.4651, allocations: 417.3 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.008464/0.4736, allocations: 5.088 MB / 0.5285 GB, free: 7.645 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001882/0.4754, allocations: 1.443 MB / 0.5299 GB, free: 6.164 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001209/0.4766, allocations: 426.3 kB / 0.5303 GB, free: 5.742 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003962/0.477, allocations: 123.4 kB / 0.5304 GB, free: 5.621 MB / 446.1 MB Notification: Performance of SimCode: time 1.082e-06/0.477, allocations: 0 / 0.5304 GB, free: 5.621 MB / 446.1 MB Notification: Performance of Templates: time 0.2176/0.6946, allocations: 30.49 MB / 0.5602 GB, free: 86.08 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 gbode -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: 6.151323975005653]