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.001491/0.001491, allocations: 123.4 kB / 18.46 MB, free: 4.449 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.00197/0.00197, allocations: 192.3 kB / 21.4 MB, free: 1.52 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.452/1.452, allocations: 225.6 MB / 249.8 MB, free: 3.602 MB / 190.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.002267/0.002267, allocations: 51.92 kB / 366.8 MB, free: 304 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1013/0.1036, allocations: 52.14 MB / 419 MB, free: 12.06 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL): time 0.01245/0.116, allocations: 10.23 MB / 429.2 MB, free: 1.793 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006083/0.1221, allocations: 3.232 MB / 432.4 MB, free: 14.55 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001165/0.1233, allocations: 59.75 kB / 432.5 MB, free: 14.49 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001841/0.1251, allocations: 0.7415 MB / 433.2 MB, free: 13.75 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002377/0.1275, allocations: 0.8738 MB / 434.1 MB, free: 12.87 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000903/0.1284, allocations: 415.4 kB / 434.5 MB, free: 12.46 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.003381/0.1318, allocations: 2.963 MB / 437.5 MB, free: 9.484 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002227/0.134, allocations: 1.786 MB / 439.3 MB, free: 7.633 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001787/0.1358, allocations: 1.363 MB / 440.6 MB, free: 6.266 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002513/0.1383, allocations: 1.728 MB / 442.3 MB, free: 4.531 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005591/0.1389, allocations: 356 kB / 442.7 MB, free: 4.184 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009222/0.1398, allocations: 459.8 kB / 443.1 MB, free: 3.734 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001045/0.1409, allocations: 1.028 MB / 444.2 MB, free: 2.703 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001774/0.1426, allocations: 1.606 MB / 445.8 MB, free: 1.09 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.1837/0.3263, allocations: 4.68 MB / 450.5 MB, free: 16.08 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.929e-06/0.3263, allocations: 2 kB / 450.5 MB, free: 16.08 MB / 366.1 MB Notification: Performance of FrontEnd: time 3.306e-06/0.3263, allocations: 2.672 kB / 450.5 MB, free: 16.08 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001611/0.3265, allocations: 0.5 kB / 450.5 MB, free: 16.08 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.008302/0.3348, allocations: 3.34 MB / 453.8 MB, free: 14.67 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.363e-05/0.3348, allocations: 10.23 kB / 453.8 MB, free: 14.67 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009568/0.3358, allocations: 343.6 kB / 454.1 MB, free: 14.5 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003198/0.339, allocations: 1.762 MB / 455.9 MB, free: 14.01 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001567/0.3391, allocations: 178.9 kB / 456.1 MB, free: 14 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000468/0.3396, allocations: 239.2 kB / 456.3 MB, free: 13.99 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006159/0.3458, allocations: 3.135 MB / 459.4 MB, free: 13.76 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.43e-05/0.3458, allocations: 7.594 kB / 459.5 MB, free: 13.75 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000238/0.3461, allocations: 94.53 kB / 459.5 MB, free: 13.75 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001225/0.3462, allocations: 110.7 kB / 459.7 MB, free: 13.75 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004589/0.3508, allocations: 2.699 MB / 462.4 MB, free: 13.62 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01428/0.3651, allocations: 9.651 MB / 472 MB, free: 8.238 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002383/0.3674, allocations: 2.086 MB / 474.1 MB, free: 6.672 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00176/0.3692, allocations: 1.05 MB / 475.1 MB, free: 6.168 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000253/0.3695, allocations: 209 kB / 475.3 MB, free: 5.965 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.525e-05/0.3695, allocations: 46.12 kB / 475.4 MB, free: 5.918 MB / 366.1 MB Notification: Performance of pre-optimization done (n=116): time 2.715e-06/0.3695, allocations: 0 / 475.4 MB, free: 5.918 MB / 366.1 MB Notification: Performance of matching and sorting (n=131): time 0.01348/0.383, allocations: 6.876 MB / 482.3 MB, free: 1.945 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.208e-05/0.383, allocations: 62.69 kB / 482.3 MB, free: 1.879 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002368/0.3854, allocations: 1.741 MB / 484.1 MB, free: 0.9648 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001681/0.3855, allocations: 51.11 kB / 484.1 MB, free: 0.9141 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006378/0.3862, allocations: 1.185 MB / 485.3 MB, free: 15.87 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004674/0.3866, allocations: 477.9 kB / 485.8 MB, free: 15.46 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004755/0.3871, allocations: 288.7 kB / 486.1 MB, free: 15.3 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001356/0.3872, allocations: 307.8 kB / 486.4 MB, free: 15 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001294/0.3885, allocations: 0.7867 MB / 487.1 MB, free: 14.61 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001529/0.3901, allocations: 1.21 MB / 488.4 MB, free: 13.7 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002834/0.3929, allocations: 2.095 MB / 490.4 MB, free: 12.37 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.235e-06/0.3929, allocations: 3.844 kB / 490.5 MB, free: 12.37 MB / 382.1 MB Notification: Performance of matching and sorting (n=195) (initialization): time 0.004994/0.3979, allocations: 2.671 MB / 493.1 MB, free: 9.855 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.905e-05/0.3979, allocations: 18.58 kB / 493.1 MB, free: 9.84 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.488e-05/0.398, allocations: 12 kB / 493.2 MB, free: 9.828 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001119/0.3991, allocations: 422.1 kB / 493.6 MB, free: 9.41 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001431/0.4005, allocations: 366 kB / 493.9 MB, free: 9.074 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007819/0.4083, allocations: 7.066 MB / 0.4892 GB, free: 1.641 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001772/0.4101, allocations: 108.6 kB / 0.4893 GB, free: 1.535 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002135/0.4103, allocations: 64.92 kB / 0.4894 GB, free: 1.473 MB / 382.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.001601/0.4119, allocations: 0.7942 MB / 0.4902 GB, free: 0.6914 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004667/0.4124, allocations: 194.8 kB / 0.4904 GB, free: 0.5 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004484/0.4169, allocations: 2.362 MB / 0.4927 GB, free: 14.11 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.736e-05/0.4169, allocations: 19.94 kB / 0.4927 GB, free: 14.09 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.652e-05/0.4169, allocations: 4 kB / 0.4927 GB, free: 14.09 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.64e-05/0.4169, allocations: 10.69 kB / 0.4927 GB, free: 14.08 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009687/0.4266, allocations: 5.098 MB / 0.4977 GB, free: 8.918 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.715e-06/0.4266, allocations: 5.312 kB / 0.4977 GB, free: 8.914 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001059/0.4277, allocations: 239.2 kB / 0.4979 GB, free: 8.691 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001301/0.429, allocations: 452.6 kB / 0.4984 GB, free: 8.242 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001372/0.4291, allocations: 39.97 kB / 0.4984 GB, free: 8.203 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009185/0.4383, allocations: 8.645 MB / 0.5068 GB, free: 15.05 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.169e-06/0.4383, allocations: 4 kB / 0.5068 GB, free: 15.05 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006149/0.4444, allocations: 3.525 MB / 0.5103 GB, free: 11.46 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00103/0.4455, allocations: 435.9 kB / 0.5107 GB, free: 11.02 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002838/0.4458, allocations: 43.27 kB / 0.5107 GB, free: 10.98 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009887/0.4468, allocations: 87.91 kB / 0.5108 GB, free: 10.89 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000306/0.4471, allocations: 112.3 kB / 0.5109 GB, free: 10.78 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.132e-05/0.4471, allocations: 39.98 kB / 0.511 GB, free: 10.74 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001904/0.4491, allocations: 1.202 MB / 0.5121 GB, free: 9.547 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4491, allocations: 4 kB / 0.5121 GB, free: 9.543 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001822/0.4509, allocations: 0.5038 MB / 0.5126 GB, free: 9.039 MB / 414.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.0003967/0.4513, allocations: 200.6 kB / 0.5128 GB, free: 8.844 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.004184/0.4555, allocations: 2.382 MB / 0.5152 GB, free: 6.457 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.917e-06/0.4555, allocations: 0 / 0.5152 GB, free: 6.457 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002679/0.4581, allocations: 1.564 MB / 0.5167 GB, free: 4.875 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002323/0.4605, allocations: 477.7 kB / 0.5171 GB, free: 4.426 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008626/0.4691, allocations: 5.115 MB / 0.5221 GB, free: 15.26 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001849/0.4709, allocations: 1.965 MB / 0.5241 GB, free: 13.26 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006598/0.4716, allocations: 135.4 kB / 0.5242 GB, free: 13.13 MB / 430.1 MB Notification: Performance of SimCode: time 9.12e-07/0.4716, allocations: 4 kB / 0.5242 GB, free: 13.13 MB / 430.1 MB Notification: Performance of Templates: time 0.09343/0.565, allocations: 79.63 MB / 0.602 GB, free: 13.54 MB / 0.4981 GB " [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_2/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_2/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: 13.243495450820774]