Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_Inverter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001307/0.001307, allocations: 107 kB / 21.18 MB, free: 0.6484 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001463/0.001463, allocations: 215.4 kB / 24.48 MB, free: 3.941 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.431/1.431, allocations: 230.6 MB / 258.2 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_Inverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=15000,variableFilter="time|loadInertia.phi|loadInertia.w|smpm.is.1.|smpm.is.2.|smpm.idq_dr.1.|smpm.idq_rr.2.|smpm.idq_sr.1.|smpm.idq_sr.2.|vfController.x",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_Inverter") translateModel(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_Inverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=15000,variableFilter="time|loadInertia.phi|loadInertia.w|smpm.is.1.|smpm.is.2.|smpm.idq_dr.1.|smpm.idq_rr.2.|smpm.idq_sr.1.|smpm.idq_sr.2.|vfController.x",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_Inverter") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001526/0.001526, allocations: 51.92 kB / 379 MB, free: 2.418 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.205/0.2065, allocations: 53.36 MB / 432.3 MB, free: 6.699 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_Inverter): time 0.01213/0.2186, allocations: 9.152 MB / 441.5 MB, free: 13.52 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00647/0.2251, allocations: 3.283 MB / 444.8 MB, free: 10.22 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001297/0.2264, allocations: 75.5 kB / 444.9 MB, free: 10.14 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001841/0.2282, allocations: 0.753 MB / 445.6 MB, free: 9.387 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002201/0.2304, allocations: 0.9048 MB / 446.5 MB, free: 8.477 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008468/0.2313, allocations: 427.4 kB / 446.9 MB, free: 8.059 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003056/0.2344, allocations: 2.751 MB / 449.7 MB, free: 5.297 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001956/0.2363, allocations: 1.363 MB / 451 MB, free: 3.867 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001927/0.2382, allocations: 1.3 MB / 452.3 MB, free: 2.562 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002289/0.2405, allocations: 1.623 MB / 454 MB, free: 0.9336 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004737/0.241, allocations: 336 kB / 454.3 MB, free: 0.6055 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008228/0.2418, allocations: 443.8 kB / 454.7 MB, free: 176 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009999/0.2428, allocations: 0.9621 MB / 455.7 MB, free: 15.21 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001359/0.2442, allocations: 1.21 MB / 456.9 MB, free: 13.99 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004609/0.2488, allocations: 4.433 MB / 461.3 MB, free: 9.543 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.838e-06/0.2488, allocations: 0 / 461.3 MB, free: 9.543 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.2488, allocations: 0 / 461.3 MB, free: 9.543 MB / 366.1 MB Notification: Performance of Transformations before backend: time 3.819e-05/0.2488, allocations: 0 / 461.3 MB, free: 9.543 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: 581 * Number of variables: 581 Notification: Performance of Generate backend data structure: time 0.005984/0.2548, allocations: 3.068 MB / 464.4 MB, free: 6.426 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.777e-05/0.2549, allocations: 12.03 kB / 464.4 MB, free: 6.414 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008645/0.2557, allocations: 331 kB / 464.7 MB, free: 6.09 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003106/0.2588, allocations: 1.555 MB / 466.3 MB, free: 4.496 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001516/0.259, allocations: 168.4 kB / 466.5 MB, free: 4.328 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003619/0.2593, allocations: 223.9 kB / 466.7 MB, free: 4.109 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00501/0.2643, allocations: 3.017 MB / 469.7 MB, free: 0.9805 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.207e-05/0.2644, allocations: 11.94 kB / 469.7 MB, free: 0.9688 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002192/0.2646, allocations: 91.98 kB / 469.8 MB, free: 0.8789 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001354/0.2648, allocations: 116.3 kB / 469.9 MB, free: 0.7617 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004456/0.2692, allocations: 2.422 MB / 472.3 MB, free: 14.32 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01355/0.2828, allocations: 7.827 MB / 480.2 MB, free: 6.238 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002303/0.2851, allocations: 1.182 MB / 481.3 MB, free: 5.055 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001823/0.2869, allocations: 0.917 MB / 482.3 MB, free: 4.141 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002656/0.2872, allocations: 52.91 kB / 482.3 MB, free: 4.09 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.394e-05/0.2872, allocations: 47.55 kB / 482.3 MB, free: 4.031 MB / 382.1 MB Notification: Performance of pre-optimization done (n=105): time 3.116e-06/0.2872, allocations: 0 / 482.3 MB, free: 4.031 MB / 382.1 MB Notification: Performance of matching and sorting (n=122): time 0.01399/0.3012, allocations: 6.052 MB / 488.4 MB, free: 13.95 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.34e-05/0.3013, allocations: 64.41 kB / 488.5 MB, free: 13.88 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001989/0.3032, allocations: 1.425 MB / 489.9 MB, free: 12.44 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 9.128e-05/0.3033, allocations: 53.7 kB / 489.9 MB, free: 12.38 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008939/0.3042, allocations: 1.145 MB / 491.1 MB, free: 11.23 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003964/0.3046, allocations: 456.1 kB / 491.5 MB, free: 10.78 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004649/0.3051, allocations: 275.5 kB / 491.8 MB, free: 10.5 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.00013/0.3052, allocations: 301.1 kB / 492.1 MB, free: 10.2 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001262/0.3065, allocations: 0.7066 MB / 492.8 MB, free: 9.496 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001612/0.3081, allocations: 1.138 MB / 493.9 MB, free: 8.172 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003005/0.3111, allocations: 1.971 MB / 495.9 MB, free: 6.016 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.384e-06/0.3111, allocations: 8 kB / 495.9 MB, free: 6.008 MB / 398.1 MB Notification: Performance of matching and sorting (n=191) (initialization): time 0.004325/0.3154, allocations: 2.428 MB / 498.3 MB, free: 3.559 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.478e-05/0.3155, allocations: 11.94 kB / 498.4 MB, free: 3.547 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.78e-05/0.3155, allocations: 12.28 kB / 498.4 MB, free: 3.535 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001044/0.3165, allocations: 425.8 kB / 498.8 MB, free: 3.109 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001318/0.3178, allocations: 351.5 kB / 499.1 MB, free: 2.766 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007531/0.3254, allocations: 6.705 MB / 0.494 GB, free: 11.76 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001108/0.3265, allocations: 107.8 kB / 0.4941 GB, free: 11.66 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001179/0.3266, allocations: 60 kB / 0.4941 GB, free: 11.6 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 59 * 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 (169): * Single equations (assignments): 165 * 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,12,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.001208/0.3278, allocations: 0.7218 MB / 0.4948 GB, free: 10.87 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002871/0.3281, allocations: 166.9 kB / 0.495 GB, free: 10.7 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003963/0.332, allocations: 2.11 MB / 0.4971 GB, free: 8.566 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.281e-05/0.3321, allocations: 16.08 kB / 0.4971 GB, free: 8.551 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.137e-06/0.3321, allocations: 7.938 kB / 0.4971 GB, free: 8.543 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.103e-05/0.3321, allocations: 3.984 kB / 0.4971 GB, free: 8.539 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007674/0.3398, allocations: 4.114 MB / 0.5011 GB, free: 4.316 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-05/0.3398, allocations: 4 kB / 0.5011 GB, free: 4.312 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001001/0.3408, allocations: 224.1 kB / 0.5013 GB, free: 4.094 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001182/0.3419, allocations: 454.9 kB / 0.5018 GB, free: 3.637 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.397e-05/0.342, allocations: 35.97 kB / 0.5018 GB, free: 3.602 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008805/0.3508, allocations: 8.149 MB / 0.5098 GB, free: 11.05 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.759e-06/0.3509, allocations: 4 kB / 0.5098 GB, free: 11.04 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005184/0.356, allocations: 3.127 MB / 0.5128 GB, free: 7.836 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008233/0.3569, allocations: 310.8 kB / 0.5131 GB, free: 7.531 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002151/0.3571, allocations: 31.98 kB / 0.5131 GB, free: 7.5 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008712/0.3579, allocations: 79.91 kB / 0.5132 GB, free: 7.422 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002275/0.3582, allocations: 108.7 kB / 0.5133 GB, free: 7.316 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.917e-05/0.3583, allocations: 43.98 kB / 0.5134 GB, free: 7.273 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001408/0.3597, allocations: 0.9496 MB / 0.5143 GB, free: 6.324 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3597, allocations: 0 / 0.5143 GB, free: 6.324 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001576/0.3612, allocations: 488.1 kB / 0.5148 GB, free: 5.848 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 7 (smpm.inertiaRotor.w,smpm.idq_sr[1],smpm.idq_sr[2],smpm.idq_rr[2],smpm.idq_dr[1],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 (107): * Single equations (assignments): 103 * 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,12,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.0003677/0.3616, allocations: 198.9 kB / 0.5149 GB, free: 5.645 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003714/0.3653, allocations: 2.148 MB / 0.517 GB, free: 3.453 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/0.3653, allocations: 0 / 0.517 GB, free: 3.453 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00242/0.3678, allocations: 1.427 MB / 0.5184 GB, free: 1.973 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00178/0.3695, allocations: 423 kB / 0.5188 GB, free: 1.574 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007285/0.3768, allocations: 4.744 MB / 0.5235 GB, free: 12.75 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001539/0.3784, allocations: 1.302 MB / 0.5247 GB, free: 11.41 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0009753/0.3793, allocations: 369.7 kB / 0.5251 GB, free: 11.04 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003374/0.3797, allocations: 115.4 kB / 0.5252 GB, free: 10.93 MB / 446.1 MB Notification: Performance of SimCode: time 5.51e-07/0.3797, allocations: 0 / 0.5252 GB, free: 10.93 MB / 446.1 MB Notification: Performance of Templates: time 0.2162/0.5958, allocations: 28.96 MB / 0.5535 GB, free: 93.12 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_Inverter.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_Inverter.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_Inverter.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_Inverter.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_Inverter.sim & ./Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_Inverter -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_Inverter.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_Inverter_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/SynchronousMachines/SMPM_Inverter/SMPM_Inverter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_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: 5.753539794997778]