Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_Inverter.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.001338/0.001338, allocations: 117 kB / 18.41 MB, free: 4.664 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.001341/0.001341, allocations: 190.9 kB / 21.35 MB, free: 1.734 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.419/1.419, allocations: 222.9 MB / 247 MB, free: 4.219 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_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_4.0.0_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_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_Inverter") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001655/0.001655, allocations: 48.06 kB / 358.7 MB, free: 8.312 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1108/0.1125, allocations: 49.44 MB / 408.1 MB, free: 6.828 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_Inverter): time 0.01163/0.1242, allocations: 9.628 MB / 417.7 MB, free: 13.17 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006417/0.1306, allocations: 3.092 MB / 420.8 MB, free: 10.07 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001444/0.1321, allocations: 55.75 kB / 420.9 MB, free: 10.01 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001836/0.134, allocations: 0.6675 MB / 421.6 MB, free: 9.34 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002714/0.1367, allocations: 0.7609 MB / 422.3 MB, free: 8.574 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001062/0.1378, allocations: 395.4 kB / 422.7 MB, free: 8.188 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003365/0.1412, allocations: 2.545 MB / 425.2 MB, free: 5.629 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002836/0.144, allocations: 2.334 MB / 427.6 MB, free: 3.23 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002003/0.146, allocations: 1.172 MB / 428.8 MB, free: 2.055 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002462/0.1485, allocations: 1.506 MB / 430.3 MB, free: 0.543 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000699/0.1492, allocations: 316 kB / 430.6 MB, free: 240 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.2088/0.3581, allocations: 411.5 kB / 431 MB, free: 9.406 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001092/0.3592, allocations: 0.8967 MB / 431.9 MB, free: 9.406 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001616/0.3608, allocations: 1.414 MB / 433.3 MB, free: 9.203 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004814/0.3656, allocations: 4.164 MB / 437.4 MB, free: 8.691 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.592e-06/0.3657, allocations: 2.969 kB / 437.4 MB, free: 8.691 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.973e-06/0.3657, allocations: 0 / 437.4 MB, free: 8.691 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0001163/0.3658, allocations: 0 / 437.4 MB, free: 8.691 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: 553 * Number of variables: 553 Notification: Performance of Generate backend data structure: time 0.007154/0.373, allocations: 2.968 MB / 440.4 MB, free: 7.41 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.008e-05/0.373, allocations: 9.375 kB / 440.4 MB, free: 7.41 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000842/0.3739, allocations: 305.8 kB / 440.7 MB, free: 7.266 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002686/0.3766, allocations: 1.547 MB / 442.3 MB, free: 6.801 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001233/0.3767, allocations: 162.2 kB / 442.4 MB, free: 6.793 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003279/0.3771, allocations: 212.3 kB / 442.6 MB, free: 6.789 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005622/0.3827, allocations: 2.799 MB / 445.4 MB, free: 6.578 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.35e-05/0.3828, allocations: 13.52 kB / 445.4 MB, free: 6.57 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002066/0.383, allocations: 86.77 kB / 445.5 MB, free: 6.57 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001136/0.3831, allocations: 103.2 kB / 445.6 MB, free: 6.562 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004203/0.3873, allocations: 2.355 MB / 448 MB, free: 6.527 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01321/0.4006, allocations: 8.521 MB / 456.5 MB, free: 2.609 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002243/0.4028, allocations: 1.7 MB / 458.2 MB, free: 1.414 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001592/0.4045, allocations: 0.9611 MB / 459.2 MB, free: 0.957 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002368/0.4047, allocations: 207.5 kB / 459.4 MB, free: 0.75 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.262e-05/0.4048, allocations: 46.81 kB / 459.4 MB, free: 0.6992 MB / 350.1 MB Notification: Performance of pre-optimization done (n=101): time 2.805e-06/0.4048, allocations: 0 / 459.4 MB, free: 0.6992 MB / 350.1 MB Notification: Performance of matching and sorting (n=116): time 0.01369/0.4185, allocations: 6.267 MB / 465.7 MB, free: 13.06 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.07e-05/0.4185, allocations: 66.88 kB / 465.8 MB, free: 12.99 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002224/0.4208, allocations: 1.439 MB / 467.2 MB, free: 12.22 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002122/0.421, allocations: 48.27 kB / 467.2 MB, free: 12.17 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008567/0.4219, allocations: 1.072 MB / 468.3 MB, free: 11.23 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004891/0.4224, allocations: 426.5 kB / 468.7 MB, free: 10.87 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004262/0.4228, allocations: 256.7 kB / 469 MB, free: 10.72 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001752/0.423, allocations: 363.5 kB / 469.3 MB, free: 10.38 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001142/0.4241, allocations: 0.6896 MB / 470 MB, free: 10.03 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001424/0.4256, allocations: 1.065 MB / 471.1 MB, free: 9.207 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002837/0.4284, allocations: 1.867 MB / 473 MB, free: 7.23 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.117e-06/0.4285, allocations: 4 kB / 473 MB, free: 7.227 MB / 366.1 MB Notification: Performance of matching and sorting (n=178) (initialization): time 0.004606/0.4331, allocations: 2.429 MB / 475.4 MB, free: 4.836 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.258e-05/0.4331, allocations: 12 kB / 475.4 MB, free: 4.824 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.497e-05/0.4332, allocations: 12 kB / 475.4 MB, free: 4.812 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001039/0.4342, allocations: 417.8 kB / 475.8 MB, free: 4.398 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001271/0.4355, allocations: 329 kB / 476.1 MB, free: 4.094 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007793/0.4433, allocations: 7.044 MB / 483.2 MB, free: 12.7 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001674/0.445, allocations: 99.89 kB / 483.3 MB, free: 12.6 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000181/0.4452, allocations: 56 kB / 483.3 MB, free: 12.54 MB / 382.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.001432/0.4466, allocations: 0.6889 MB / 484 MB, free: 11.86 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004339/0.4471, allocations: 170.9 kB / 484.2 MB, free: 11.7 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004028/0.4511, allocations: 2.131 MB / 486.3 MB, free: 9.531 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.262e-05/0.4512, allocations: 12 kB / 486.3 MB, free: 9.52 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.387e-06/0.4512, allocations: 4 kB / 486.3 MB, free: 9.516 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.798e-05/0.4512, allocations: 7.984 kB / 486.3 MB, free: 9.508 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008535/0.4597, allocations: 4.578 MB / 490.9 MB, free: 4.871 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.848e-06/0.4598, allocations: 4 kB / 490.9 MB, free: 4.867 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009481/0.4607, allocations: 215.6 kB / 491.1 MB, free: 4.668 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001197/0.4619, allocations: 447.4 kB / 491.6 MB, free: 4.219 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001032/0.4621, allocations: 31.98 kB / 491.6 MB, free: 4.188 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008703/0.4708, allocations: 8.622 MB / 0.4885 GB, free: 11.06 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.047e-06/0.4708, allocations: 10.62 kB / 0.4885 GB, free: 11.05 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005302/0.4761, allocations: 3.121 MB / 0.4916 GB, free: 7.871 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009857/0.4771, allocations: 386.8 kB / 0.4919 GB, free: 7.477 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002773/0.4774, allocations: 31.98 kB / 0.492 GB, free: 7.445 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009304/0.4784, allocations: 83.91 kB / 0.492 GB, free: 7.363 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002591/0.4786, allocations: 91.44 kB / 0.4921 GB, free: 7.273 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.151e-05/0.4787, allocations: 35.98 kB / 0.4922 GB, free: 7.238 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001531/0.4803, allocations: 0.9886 MB / 0.4931 GB, free: 6.25 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4803, allocations: 0 / 0.4931 GB, free: 6.25 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001872/0.4822, allocations: 467.9 kB / 0.4936 GB, free: 5.793 MB / 398.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.0004565/0.4826, allocations: 195.3 kB / 0.4938 GB, free: 5.605 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.003897/0.4865, allocations: 2.235 MB / 0.4959 GB, free: 3.359 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 6.973e-06/0.4866, allocations: 0 / 0.4959 GB, free: 3.359 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002549/0.4891, allocations: 1.444 MB / 0.4974 GB, free: 1.895 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002446/0.4916, allocations: 413.8 kB / 0.4977 GB, free: 1.508 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007811/0.4994, allocations: 4.568 MB / 0.5022 GB, free: 12.89 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001695/0.5012, allocations: 1.783 MB / 0.504 GB, free: 11.07 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006305/0.5018, allocations: 127.4 kB / 0.5041 GB, free: 10.95 MB / 414.1 MB Notification: Performance of SimCode: time 6.41e-07/0.5018, allocations: 0 / 0.5041 GB, free: 10.95 MB / 414.1 MB Notification: Performance of Templates: time 0.08284/0.5847, allocations: 69.18 MB / 0.5716 GB, free: 5.809 MB / 478.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_Inverter.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_Inverter.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_Inverter.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_Inverter.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_Inverter.sim & ./Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_Inverter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_Inverter.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_Inverter_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/SynchronousMachines/SMR_Inverter/SMR_Inverter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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.540252935956232]