Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001912/0.001912, allocations: 105.4 kB / 19.8 MB, free: 2.516 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00258/0.00258, allocations: 211.8 kB / 23 MB, free: 5.605 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.453/1.453, allocations: 230.2 MB / 256.2 MB, free: 8.543 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001829/0.001829, allocations: 59.89 kB / 376.5 MB, free: 3.59 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2422/0.244, allocations: 53.32 MB / 429.8 MB, free: 7.535 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL): time 0.01269/0.2567, allocations: 10.33 MB / 440.1 MB, free: 13.16 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006298/0.263, allocations: 3.326 MB / 443.5 MB, free: 9.828 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001511/0.2645, allocations: 55.75 kB / 443.5 MB, free: 9.773 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002069/0.2666, allocations: 0.7414 MB / 444.3 MB, free: 9.027 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002651/0.2692, allocations: 0.8816 MB / 445.1 MB, free: 8.141 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001115/0.2704, allocations: 443.3 kB / 445.6 MB, free: 7.707 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004006/0.2744, allocations: 2.988 MB / 448.6 MB, free: 4.703 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00199/0.2764, allocations: 1.372 MB / 449.9 MB, free: 3.266 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002015/0.2784, allocations: 1.367 MB / 451.3 MB, free: 1.895 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002134/0.2805, allocations: 1.74 MB / 453 MB, free: 152 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004812/0.281, allocations: 356 kB / 453.4 MB, free: 15.8 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008039/0.2818, allocations: 475.7 kB / 453.9 MB, free: 15.34 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001007/0.2828, allocations: 1.028 MB / 454.9 MB, free: 14.3 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001673/0.2845, allocations: 1.618 MB / 456.5 MB, free: 12.68 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004739/0.2892, allocations: 4.714 MB / 461.2 MB, free: 7.949 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.2892, allocations: 0 / 461.2 MB, free: 7.949 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.2892, allocations: 0 / 461.2 MB, free: 7.949 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.112e-05/0.2893, allocations: 0 / 461.2 MB, free: 7.949 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.005843/0.2951, allocations: 3.359 MB / 464.6 MB, free: 4.52 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.572e-05/0.2951, allocations: 12.03 kB / 464.6 MB, free: 4.508 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001038/0.2962, allocations: 370.9 kB / 464.9 MB, free: 4.145 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002835/0.299, allocations: 1.785 MB / 466.7 MB, free: 2.305 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001504/0.2992, allocations: 180.8 kB / 466.9 MB, free: 2.125 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003538/0.2995, allocations: 239.9 kB / 467.1 MB, free: 1.891 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005133/0.3046, allocations: 3.133 MB / 470.3 MB, free: 14.67 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.826e-05/0.3047, allocations: 7.953 kB / 470.3 MB, free: 14.66 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002207/0.3049, allocations: 96 kB / 470.4 MB, free: 14.57 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001174/0.305, allocations: 112.5 kB / 470.5 MB, free: 14.45 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004547/0.3096, allocations: 2.696 MB / 473.2 MB, free: 11.74 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01643/0.326, allocations: 9.641 MB / 482.8 MB, free: 1.812 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003028/0.329, allocations: 2.084 MB / 484.9 MB, free: 15.57 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002042/0.3311, allocations: 1.05 MB / 486 MB, free: 14.52 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003418/0.3314, allocations: 207.2 kB / 486.2 MB, free: 14.28 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.206e-05/0.3315, allocations: 51.56 kB / 486.2 MB, free: 14.22 MB / 398.1 MB Notification: Performance of pre-optimization done (n=116): time 2.876e-06/0.3315, allocations: 0 / 486.2 MB, free: 14.22 MB / 398.1 MB Notification: Performance of matching and sorting (n=131): time 0.01551/0.347, allocations: 6.874 MB / 493.1 MB, free: 7.184 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.463e-05/0.3471, allocations: 72.72 kB / 493.2 MB, free: 7.102 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003002/0.3501, allocations: 1.755 MB / 494.9 MB, free: 5.344 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001165/0.3502, allocations: 45.7 kB / 495 MB, free: 5.293 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001001/0.3512, allocations: 1.186 MB / 496.1 MB, free: 4.094 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000467/0.3516, allocations: 479.9 kB / 496.6 MB, free: 3.621 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005108/0.3522, allocations: 283.5 kB / 496.9 MB, free: 3.336 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001441/0.3523, allocations: 309.1 kB / 497.2 MB, free: 3.031 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001418/0.3537, allocations: 0.7964 MB / 498 MB, free: 2.234 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001723/0.3554, allocations: 1.201 MB / 499.2 MB, free: 0.8594 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003203/0.3586, allocations: 2.098 MB / 0.4895 GB, free: 14.59 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.015e-05/0.3586, allocations: 4 kB / 0.4895 GB, free: 14.59 MB / 414.1 MB Notification: Performance of matching and sorting (n=195) (initialization): time 0.005063/0.3637, allocations: 2.671 MB / 0.4921 GB, free: 11.88 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.708e-05/0.3637, allocations: 12 kB / 0.4922 GB, free: 11.87 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.211e-05/0.3638, allocations: 12 kB / 0.4922 GB, free: 11.86 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001112/0.3649, allocations: 418.8 kB / 0.4926 GB, free: 11.44 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001438/0.3663, allocations: 359.4 kB / 0.4929 GB, free: 11.09 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008028/0.3743, allocations: 7.088 MB / 0.4998 GB, free: 3.582 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001608/0.3759, allocations: 103.9 kB / 0.4999 GB, free: 3.48 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001475/0.3761, allocations: 63.98 kB / 0.5 GB, free: 3.418 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.001578/0.3777, allocations: 0.794 MB / 0.5008 GB, free: 2.613 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004152/0.3781, allocations: 198.8 kB / 0.501 GB, free: 2.418 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00447/0.3826, allocations: 2.368 MB / 0.5033 GB, free: 8 kB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.271e-05/0.3826, allocations: 15.98 kB / 0.5033 GB, free: 15.99 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.037e-05/0.3826, allocations: 4 kB / 0.5033 GB, free: 15.98 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.22e-05/0.3826, allocations: 7.922 kB / 0.5033 GB, free: 15.98 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009931/0.3925, allocations: 5.105 MB / 0.5083 GB, free: 10.74 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.965e-06/0.3926, allocations: 3.938 kB / 0.5083 GB, free: 10.73 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001086/0.3936, allocations: 244 kB / 0.5085 GB, free: 10.5 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001254/0.3949, allocations: 451.1 kB / 0.5089 GB, free: 10.04 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001074/0.395, allocations: 35.98 kB / 0.509 GB, free: 10.01 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009614/0.4046, allocations: 8.648 MB / 0.5174 GB, free: 0.7969 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.091e-06/0.4046, allocations: 4 kB / 0.5174 GB, free: 0.793 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006359/0.411, allocations: 3.507 MB / 0.5209 GB, free: 13.2 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001019/0.412, allocations: 443.7 kB / 0.5213 GB, free: 12.74 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002379/0.4122, allocations: 36.12 kB / 0.5213 GB, free: 12.71 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009407/0.4132, allocations: 87.91 kB / 0.5214 GB, free: 12.62 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003253/0.4135, allocations: 120.7 kB / 0.5215 GB, free: 12.5 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.658e-05/0.4136, allocations: 43.98 kB / 0.5216 GB, free: 12.46 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001899/0.4155, allocations: 1.203 MB / 0.5227 GB, free: 11.27 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.4155, allocations: 0 / 0.5227 GB, free: 11.27 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001788/0.4173, allocations: 0.5116 MB / 0.5232 GB, free: 10.75 MB / 446.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.0004005/0.4177, allocations: 206.5 kB / 0.5234 GB, free: 10.55 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.004102/0.4218, allocations: 2.386 MB / 0.5258 GB, free: 8.098 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.851e-06/0.4218, allocations: 4.875 kB / 0.5258 GB, free: 8.094 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00258/0.4244, allocations: 1.555 MB / 0.5273 GB, free: 6.488 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002063/0.4264, allocations: 483.2 kB / 0.5277 GB, free: 6.023 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00905/0.4355, allocations: 5.104 MB / 0.5327 GB, free: 0.8438 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2228/0.6583, allocations: 1.999 MB / 0.5347 GB, free: 100.4 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001694/0.66, allocations: 445.8 kB / 0.5351 GB, free: 100.4 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003992/0.6604, allocations: 129.3 kB / 0.5352 GB, free: 100.4 MB / 446.1 MB Notification: Performance of SimCode: time 1.303e-06/0.6604, allocations: 0 / 0.5352 GB, free: 100.4 MB / 446.1 MB Notification: Performance of Templates: time 0.04036/0.7008, allocations: 29.15 MB / 0.5637 GB, free: 81.14 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL.sim & ./Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_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_trunk_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: 5.655815283767879]