Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_Inverter.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.001315/0.001315, allocations: 116.8 kB / 19.18 MB, free: 3.762 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.001433/0.001433, allocations: 210.6 kB / 22.13 MB, free: 0.8125 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.457/1.457, allocations: 230.2 MB / 255.1 MB, free: 15.25 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_Inverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=15000,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.|vfController.x",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_Inverter") translateModel(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_Inverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=15000,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.|vfController.x",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_Inverter") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001826/0.001826, allocations: 71.83 kB / 374.5 MB, free: 9.887 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09628/0.0981, allocations: 53.32 MB / 427.8 MB, free: 4.469 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_Inverter): time 0.1811/0.2792, allocations: 9.707 MB / 437.6 MB, free: 6.512 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004924/0.2841, allocations: 3.166 MB / 440.7 MB, free: 4.961 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001319/0.2854, allocations: 55.62 kB / 440.8 MB, free: 4.945 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001779/0.2872, allocations: 0.713 MB / 441.5 MB, free: 4.562 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002287/0.2895, allocations: 0.8043 MB / 442.3 MB, free: 4.047 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008555/0.2903, allocations: 392.6 kB / 442.7 MB, free: 3.809 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002553/0.2929, allocations: 2.566 MB / 445.2 MB, free: 2.512 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001954/0.2948, allocations: 1.674 MB / 446.9 MB, free: 1.742 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001707/0.2966, allocations: 1.196 MB / 448.1 MB, free: 1.164 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00222/0.2988, allocations: 1.534 MB / 449.6 MB, free: 476 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005198/0.2993, allocations: 318.2 kB / 450 MB, free: 476 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009555/0.3003, allocations: 422.6 kB / 450.4 MB, free: 448 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000834/0.3011, allocations: 0.9117 MB / 451.3 MB, free: 15.94 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00189/0.303, allocations: 1.422 MB / 452.7 MB, free: 15.01 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005262/0.3082, allocations: 4.176 MB / 456.9 MB, free: 13.1 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.3082, allocations: 3.938 kB / 456.9 MB, free: 13.1 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.714e-06/0.3082, allocations: 0 / 456.9 MB, free: 13.1 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001059/0.3083, allocations: 1.125 kB / 456.9 MB, free: 13.1 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: 553 * Number of variables: 553 Notification: Performance of Generate backend data structure: time 0.007167/0.3155, allocations: 2.976 MB / 459.9 MB, free: 11.01 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.646e-05/0.3156, allocations: 9.219 kB / 459.9 MB, free: 11.01 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000955/0.3165, allocations: 305.5 kB / 460.2 MB, free: 10.86 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003108/0.3196, allocations: 1.557 MB / 461.7 MB, free: 9.727 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001458/0.3198, allocations: 159.8 kB / 461.9 MB, free: 9.648 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003531/0.3201, allocations: 213.1 kB / 462.1 MB, free: 9.574 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005483/0.3256, allocations: 2.798 MB / 464.9 MB, free: 7.898 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.863e-05/0.3257, allocations: 6.75 kB / 464.9 MB, free: 7.895 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000228/0.3259, allocations: 92.95 kB / 465 MB, free: 7.824 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001229/0.326, allocations: 105.2 kB / 465.1 MB, free: 7.805 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004359/0.3304, allocations: 2.355 MB / 467.4 MB, free: 6.594 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01477/0.3451, allocations: 8.529 MB / 476 MB, free: 324 kB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002872/0.348, allocations: 1.624 MB / 477.6 MB, free: 14.58 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001908/0.3499, allocations: 0.9056 MB / 478.5 MB, free: 13.67 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000318/0.3502, allocations: 207.2 kB / 478.7 MB, free: 13.43 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.998e-05/0.3503, allocations: 43.56 kB / 478.7 MB, free: 13.38 MB / 382.1 MB Notification: Performance of pre-optimization done (n=101): time 2.846e-06/0.3503, allocations: 7.938 kB / 478.8 MB, free: 13.38 MB / 382.1 MB Notification: Performance of matching and sorting (n=116): time 0.01464/0.3649, allocations: 6.254 MB / 485 MB, free: 6.953 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.193e-05/0.365, allocations: 64.41 kB / 485.1 MB, free: 6.879 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002293/0.3673, allocations: 1.441 MB / 486.5 MB, free: 5.422 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001089/0.3674, allocations: 53.58 kB / 486.6 MB, free: 5.363 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008987/0.3683, allocations: 1.071 MB / 487.6 MB, free: 4.281 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003958/0.3687, allocations: 436.3 kB / 488.1 MB, free: 3.852 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004511/0.3691, allocations: 259.5 kB / 488.3 MB, free: 3.59 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001861/0.3693, allocations: 357.9 kB / 488.7 MB, free: 3.234 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001265/0.3706, allocations: 0.6871 MB / 489.4 MB, free: 2.547 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001571/0.3721, allocations: 1.073 MB / 490.4 MB, free: 1.316 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002942/0.3751, allocations: 1.868 MB / 492.3 MB, free: 15.29 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.707e-06/0.3751, allocations: 4 kB / 492.3 MB, free: 15.28 MB / 398.1 MB Notification: Performance of matching and sorting (n=178) (initialization): time 0.004498/0.3796, allocations: 2.414 MB / 494.7 MB, free: 12.83 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.424e-05/0.3796, allocations: 8 kB / 494.7 MB, free: 12.82 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.905e-05/0.3796, allocations: 15.94 kB / 494.7 MB, free: 12.81 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001088/0.3807, allocations: 419.9 kB / 495.1 MB, free: 12.39 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001317/0.382, allocations: 331.5 kB / 495.5 MB, free: 12.06 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007955/0.39, allocations: 7.034 MB / 0.4907 GB, free: 4.613 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001461/0.3915, allocations: 103.8 kB / 0.4908 GB, free: 4.512 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001275/0.3916, allocations: 65.11 kB / 0.4909 GB, free: 4.449 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 52 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (157): * Single equations (assignments): 153 * 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.001294/0.3929, allocations: 0.6884 MB / 0.4916 GB, free: 3.754 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003703/0.3932, allocations: 166.9 kB / 0.4917 GB, free: 3.59 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004162/0.3974, allocations: 2.131 MB / 0.4938 GB, free: 1.414 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.299e-05/0.3974, allocations: 12 kB / 0.4938 GB, free: 1.402 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.747e-06/0.3974, allocations: 4 kB / 0.4938 GB, free: 1.398 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.612e-05/0.3974, allocations: 7.969 kB / 0.4938 GB, free: 1.391 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008366/0.4058, allocations: 4.549 MB / 0.4983 GB, free: 12.71 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.546e-06/0.4058, allocations: 4.406 kB / 0.4983 GB, free: 12.71 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009665/0.4068, allocations: 215.7 kB / 0.4985 GB, free: 12.5 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001274/0.4081, allocations: 454.8 kB / 0.4989 GB, free: 12.04 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001083/0.4082, allocations: 31.98 kB / 0.4989 GB, free: 12.01 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009437/0.4176, allocations: 8.626 MB / 0.5074 GB, free: 2.836 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.993e-06/0.4176, allocations: 7.938 kB / 0.5074 GB, free: 2.828 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005596/0.4232, allocations: 3.092 MB / 0.5104 GB, free: 15.64 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009001/0.4241, allocations: 395.9 kB / 0.5108 GB, free: 15.23 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002341/0.4243, allocations: 28 kB / 0.5108 GB, free: 15.21 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009311/0.4253, allocations: 87.84 kB / 0.5109 GB, free: 15.12 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002542/0.4255, allocations: 92.75 kB / 0.511 GB, free: 15.03 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.59e-05/0.4256, allocations: 39.98 kB / 0.511 GB, free: 14.99 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.00159/0.4272, allocations: 0.9888 MB / 0.512 GB, free: 14 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4272, allocations: 0 / 0.512 GB, free: 14 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001713/0.4289, allocations: 463.9 kB / 0.5124 GB, free: 13.55 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 7 (smr.inertiaRotor.w,smr.idq_sr[1],smr.idq_sr[2],smr.idq_dr[1],smr.idq_dr[2],vfController.x,loadInertia.phi) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (102): * Single equations (assignments): 98 * 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,6,100.0%), (1,1,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.0004085/0.4293, allocations: 206.3 kB / 0.5126 GB, free: 13.34 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003885/0.4332, allocations: 2.154 MB / 0.5147 GB, free: 11.13 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.017e-06/0.4332, allocations: 0 / 0.5147 GB, free: 11.13 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002486/0.4357, allocations: 1.392 MB / 0.5161 GB, free: 9.688 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002047/0.4377, allocations: 430 kB / 0.5165 GB, free: 9.289 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007648/0.4454, allocations: 4.576 MB / 0.5209 GB, free: 4.637 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001657/0.4471, allocations: 1.78 MB / 0.5227 GB, free: 2.82 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005387/0.4476, allocations: 127.4 kB / 0.5228 GB, free: 2.695 MB / 430.1 MB Notification: Performance of SimCode: time 6.91e-07/0.4476, allocations: 0 / 0.5228 GB, free: 2.695 MB / 430.1 MB Notification: Performance of Templates: time 0.08148/0.5291, allocations: 69.48 MB / 0.5907 GB, free: 13.2 MB / 0.4981 GB " [Timeout remaining time 659] make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_Inverter.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_Inverter.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_Inverter.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_Inverter.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_Inverter.sim & ./Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_Inverter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_Inverter.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_Inverter_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/SynchronousMachines/SMR_Inverter/SMR_Inverter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_Inverter.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.296553247142583]