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.00137/0.00137, allocations: 95.97 kB / 21.18 MB, free: 0.6523 MB / 14.72 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.001573/0.001573, allocations: 183.4 kB / 24.45 MB, free: 3.973 MB / 14.72 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.43/1.43, allocations: 225.7 MB / 253.3 MB, free: 12.86 MB / 206.1 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 0.002373/0.002373, allocations: 55.91 kB / 371.7 MB, free: 9.199 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2405/0.2429, allocations: 52.18 MB / 423.8 MB, free: 14.5 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL): time 0.01227/0.2552, allocations: 9.023 MB / 432.9 MB, free: 5.445 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.006509/0.2617, allocations: 3.046 MB / 435.9 MB, free: 2.391 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001385/0.2631, allocations: 71.5 kB / 436 MB, free: 2.32 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001849/0.2649, allocations: 0.7022 MB / 436.7 MB, free: 1.617 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002603/0.2675, allocations: 0.8816 MB / 437.6 MB, free: 0.7305 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000926/0.2684, allocations: 411.4 kB / 438 MB, free: 336 kB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.003653/0.2721, allocations: 2.957 MB / 440.9 MB, free: 13.36 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002166/0.2743, allocations: 1.329 MB / 442.2 MB, free: 11.96 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00202/0.2763, allocations: 1.39 MB / 443.6 MB, free: 10.57 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002841/0.2791, allocations: 1.658 MB / 445.3 MB, free: 8.906 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007797/0.2799, allocations: 352 kB / 445.6 MB, free: 8.562 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001055/0.281, allocations: 443.8 kB / 446.1 MB, free: 8.129 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001117/0.2821, allocations: 1.04 MB / 447.1 MB, free: 7.086 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00191/0.284, allocations: 1.291 MB / 448.4 MB, free: 5.789 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005762/0.2897, allocations: 4.722 MB / 453.1 MB, free: 1.051 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.791e-06/0.2898, allocations: 3.938 kB / 453.1 MB, free: 1.047 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.014e-06/0.2898, allocations: 0 / 453.1 MB, free: 1.047 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0001132/0.2899, allocations: 0 / 453.1 MB, free: 1.047 MB / 350.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.007248/0.2971, allocations: 3.268 MB / 456.4 MB, free: 13.73 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.948e-05/0.2972, allocations: 8.031 kB / 456.4 MB, free: 13.72 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008356/0.298, allocations: 346.9 kB / 456.7 MB, free: 13.38 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003702/0.3017, allocations: 1.689 MB / 458.4 MB, free: 11.65 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001753/0.3019, allocations: 180.8 kB / 458.6 MB, free: 11.47 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003907/0.3023, allocations: 232 kB / 458.8 MB, free: 11.24 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005833/0.3081, allocations: 3.241 MB / 462.1 MB, free: 7.887 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.324e-05/0.3082, allocations: 3.953 kB / 462.1 MB, free: 7.883 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002333/0.3084, allocations: 99.98 kB / 462.2 MB, free: 7.785 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001245/0.3085, allocations: 108.6 kB / 462.3 MB, free: 7.676 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00506/0.3136, allocations: 2.692 MB / 465 MB, free: 4.969 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01663/0.3302, allocations: 8.4 MB / 473.4 MB, free: 12.3 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002661/0.3329, allocations: 1.402 MB / 474.8 MB, free: 10.9 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00198/0.3348, allocations: 1.043 MB / 475.8 MB, free: 9.859 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002512/0.3351, allocations: 56.95 kB / 475.9 MB, free: 9.801 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.556e-05/0.3351, allocations: 43.56 kB / 475.9 MB, free: 9.75 MB / 382.1 MB Notification: Performance of pre-optimization done (n=116): time 3.407e-06/0.3351, allocations: 0 / 475.9 MB, free: 9.75 MB / 382.1 MB Notification: Performance of matching and sorting (n=131): time 0.0143/0.3494, allocations: 6.331 MB / 482.2 MB, free: 3.383 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.911e-05/0.3495, allocations: 68.72 kB / 482.3 MB, free: 3.305 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002481/0.352, allocations: 1.603 MB / 483.9 MB, free: 1.691 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001308/0.3521, allocations: 49.7 kB / 484 MB, free: 1.637 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009574/0.3531, allocations: 1.189 MB / 485.2 MB, free: 448 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00046/0.3535, allocations: 475.9 kB / 485.6 MB, free: 15.97 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004677/0.354, allocations: 287.5 kB / 485.9 MB, free: 15.68 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001364/0.3541, allocations: 313 kB / 486.2 MB, free: 15.37 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001363/0.3555, allocations: 0.7963 MB / 487 MB, free: 14.57 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0017/0.3572, allocations: 1.201 MB / 488.2 MB, free: 13.21 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003145/0.3603, allocations: 2.094 MB / 490.3 MB, free: 10.94 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.362e-06/0.3603, allocations: 0 / 490.3 MB, free: 10.94 MB / 398.1 MB Notification: Performance of matching and sorting (n=195) (initialization): time 0.004672/0.365, allocations: 2.584 MB / 492.9 MB, free: 8.336 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.455e-05/0.365, allocations: 12 kB / 492.9 MB, free: 8.324 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.987e-05/0.3651, allocations: 12 kB / 492.9 MB, free: 8.312 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009769/0.366, allocations: 415.5 kB / 493.3 MB, free: 7.895 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001356/0.3674, allocations: 363.4 kB / 493.7 MB, free: 7.539 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007474/0.3749, allocations: 6.655 MB / 0.4886 GB, free: 0.5859 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001371/0.3762, allocations: 103.9 kB / 0.4887 GB, free: 496 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001367/0.3764, allocations: 64 kB / 0.4888 GB, free: 432 kB / 398.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.001402/0.3778, allocations: 0.8016 MB / 0.4895 GB, free: 15.61 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003513/0.3781, allocations: 178.9 kB / 0.4897 GB, free: 15.43 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004162/0.3823, allocations: 2.287 MB / 0.4919 GB, free: 13.11 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.346e-05/0.3823, allocations: 19.94 kB / 0.492 GB, free: 13.09 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.187e-06/0.3823, allocations: 4 kB / 0.492 GB, free: 13.09 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.235e-05/0.3823, allocations: 3.984 kB / 0.492 GB, free: 13.09 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008524/0.3909, allocations: 4.435 MB / 0.4963 GB, free: 8.551 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.084e-05/0.3909, allocations: 4 kB / 0.4963 GB, free: 8.547 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001032/0.3919, allocations: 236 kB / 0.4965 GB, free: 8.316 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001167/0.3931, allocations: 455.1 kB / 0.497 GB, free: 7.859 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001055/0.3932, allocations: 35.98 kB / 0.497 GB, free: 7.824 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008944/0.4021, allocations: 8.094 MB / 0.5049 GB, free: 15.32 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.09e-06/0.4021, allocations: 4 kB / 0.5049 GB, free: 15.32 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005796/0.4079, allocations: 3.427 MB / 0.5082 GB, free: 11.82 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001139/0.4091, allocations: 354.8 kB / 0.5086 GB, free: 11.47 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002383/0.4093, allocations: 31.98 kB / 0.5086 GB, free: 11.44 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009038/0.4102, allocations: 79.91 kB / 0.5087 GB, free: 11.36 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002909/0.4105, allocations: 128.7 kB / 0.5088 GB, free: 11.24 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.737e-05/0.4106, allocations: 39.98 kB / 0.5089 GB, free: 11.2 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001676/0.4123, allocations: 1.085 MB / 0.5099 GB, free: 10.12 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.4123, allocations: 8 kB / 0.5099 GB, free: 10.11 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001698/0.4139, allocations: 0.496 MB / 0.5104 GB, free: 9.613 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.0003945/0.4143, allocations: 198.9 kB / 0.5106 GB, free: 9.41 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.004179/0.4185, allocations: 2.314 MB / 0.5129 GB, free: 7.055 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 5.18e-06/0.4185, allocations: 1.938 kB / 0.5129 GB, free: 7.055 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002672/0.4212, allocations: 1.551 MB / 0.5144 GB, free: 5.449 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002126/0.4233, allocations: 421 kB / 0.5148 GB, free: 5.039 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008704/0.432, allocations: 5.116 MB / 0.5198 GB, free: 15.84 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001687/0.4337, allocations: 1.394 MB / 0.5211 GB, free: 14.41 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006053/0.4343, allocations: 131.4 kB / 0.5213 GB, free: 14.28 MB / 446.1 MB Notification: Performance of SimCode: time 1.042e-06/0.4343, allocations: 0 / 0.5213 GB, free: 14.28 MB / 446.1 MB Notification: Performance of Templates: time 0.2589/0.6932, allocations: 79.46 MB / 0.5989 GB, free: 51.48 MB / 446.1 MB " [Timeout remaining time 659] 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/SynchronousMachines/SMR_DOL/SMR_DOL.csv","/var/lib/jenkins1/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: 12.585470961872488]