Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_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.001247/0.001247, 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.001324/0.001324, 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.473/1.473, allocations: 230.2 MB / 255.1 MB, free: 15.23 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.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_trunk_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_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_Inverter") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00184/0.00184, allocations: 67.89 kB / 374.5 MB, free: 9.879 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1021/0.1039, allocations: 53.32 MB / 427.9 MB, free: 4.461 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_Inverter): time 0.2161/0.32, allocations: 10.4 MB / 438.3 MB, free: 6.055 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005801/0.3258, allocations: 3.491 MB / 441.7 MB, free: 4.195 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001304/0.3271, allocations: 58.56 kB / 441.8 MB, free: 4.18 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001873/0.329, allocations: 0.8297 MB / 442.6 MB, free: 3.734 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002615/0.3316, allocations: 0.8688 MB / 443.5 MB, free: 3.176 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009928/0.3326, allocations: 439.9 kB / 443.9 MB, free: 2.902 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003176/0.3358, allocations: 2.76 MB / 446.7 MB, free: 1.508 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002106/0.3379, allocations: 1.72 MB / 448.4 MB, free: 0.7109 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002084/0.34, allocations: 1.274 MB / 449.7 MB, free: 96 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002772/0.3427, allocations: 1.619 MB / 451.3 MB, free: 15.35 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006816/0.3434, allocations: 334.2 kB / 451.6 MB, free: 15.35 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001211/0.3446, allocations: 445 kB / 452.1 MB, free: 15.32 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001219/0.3458, allocations: 0.9491 MB / 453 MB, free: 14.8 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002151/0.348, allocations: 1.514 MB / 454.5 MB, free: 13.81 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00608/0.3541, allocations: 4.41 MB / 458.9 MB, free: 11.52 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.61e-06/0.3541, allocations: 0 / 458.9 MB, free: 11.52 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.325e-06/0.3541, allocations: 0 / 458.9 MB, free: 11.52 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001205/0.3542, allocations: 0 / 458.9 MB, free: 11.52 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.00774/0.3619, allocations: 3.144 MB / 462.1 MB, free: 9.312 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.364e-05/0.362, allocations: 10.03 kB / 462.1 MB, free: 9.312 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001043/0.363, allocations: 334.4 kB / 462.4 MB, free: 9.145 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003027/0.3661, allocations: 1.636 MB / 464.1 MB, free: 7.957 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001553/0.3662, allocations: 166.5 kB / 464.2 MB, free: 7.879 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003653/0.3666, allocations: 224.1 kB / 464.4 MB, free: 7.801 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005445/0.372, allocations: 2.927 MB / 467.4 MB, free: 6.051 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.422e-05/0.3721, allocations: 2.156 kB / 467.4 MB, free: 6.051 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002218/0.3723, allocations: 87.66 kB / 467.4 MB, free: 5.984 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001397/0.3724, allocations: 114.9 kB / 467.6 MB, free: 5.961 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005025/0.3775, allocations: 2.436 MB / 470 MB, free: 4.715 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01702/0.3945, allocations: 9.038 MB / 479 MB, free: 13.17 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002549/0.397, allocations: 1.641 MB / 480.7 MB, free: 11.42 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001809/0.3988, allocations: 0.9174 MB / 481.6 MB, free: 10.5 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003174/0.3992, allocations: 203.2 kB / 481.8 MB, free: 10.27 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.582e-05/0.3992, allocations: 47.56 kB / 481.8 MB, free: 10.21 MB / 382.1 MB Notification: Performance of pre-optimization done (n=105): time 3.156e-06/0.3992, allocations: 0 / 481.8 MB, free: 10.21 MB / 382.1 MB Notification: Performance of matching and sorting (n=122): time 0.01551/0.4147, allocations: 6.594 MB / 488.4 MB, free: 3.453 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.226e-05/0.4148, allocations: 64.41 kB / 488.5 MB, free: 3.379 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002696/0.4175, allocations: 1.573 MB / 490.1 MB, free: 1.797 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001034/0.4176, allocations: 45.7 kB / 490.1 MB, free: 1.746 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000925/0.4185, allocations: 1.13 MB / 491.2 MB, free: 0.6016 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004019/0.4189, allocations: 456.2 kB / 491.7 MB, free: 156 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004682/0.4194, allocations: 275.5 kB / 492 MB, free: 15.88 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001325/0.4195, allocations: 301.1 kB / 492.2 MB, free: 15.58 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00126/0.4208, allocations: 0.7144 MB / 493 MB, free: 14.86 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001575/0.4223, allocations: 1.134 MB / 494.1 MB, free: 13.55 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002997/0.4253, allocations: 1.971 MB / 496.1 MB, free: 11.39 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.516e-06/0.4253, allocations: 4 kB / 496.1 MB, free: 11.39 MB / 398.1 MB Notification: Performance of matching and sorting (n=191) (initialization): time 0.004694/0.43, allocations: 2.523 MB / 498.6 MB, free: 8.828 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.149e-05/0.4301, allocations: 18.12 kB / 498.6 MB, free: 8.812 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.247e-05/0.4301, allocations: 12 kB / 498.6 MB, free: 8.801 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001091/0.4312, allocations: 420.5 kB / 499 MB, free: 8.379 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001314/0.4325, allocations: 351.4 kB / 499.4 MB, free: 8.035 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007775/0.4403, allocations: 7.128 MB / 0.4946 GB, free: 0.5039 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001723/0.442, allocations: 107.9 kB / 0.4947 GB, free: 408 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001186/0.4421, allocations: 60 kB / 0.4948 GB, free: 348 kB / 398.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.001536/0.4436, allocations: 0.7237 MB / 0.4955 GB, free: 15.61 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003545/0.444, allocations: 178.9 kB / 0.4957 GB, free: 15.43 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004048/0.4481, allocations: 2.186 MB / 0.4978 GB, free: 13.2 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.288e-05/0.4481, allocations: 16 kB / 0.4978 GB, free: 13.19 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.446e-06/0.4481, allocations: 4 kB / 0.4978 GB, free: 13.18 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.526e-05/0.4481, allocations: 11.91 kB / 0.4978 GB, free: 13.17 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008416/0.4565, allocations: 4.764 MB / 0.5025 GB, free: 8.254 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.167e-05/0.4565, allocations: 8.094 kB / 0.5025 GB, free: 8.246 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009581/0.4575, allocations: 223.7 kB / 0.5027 GB, free: 8.027 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001207/0.4587, allocations: 456 kB / 0.5031 GB, free: 7.57 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.081e-05/0.4588, allocations: 37.11 kB / 0.5032 GB, free: 7.535 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009239/0.468, allocations: 8.683 MB / 0.5117 GB, free: 14.29 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.026e-05/0.468, allocations: 7.938 kB / 0.5117 GB, free: 14.28 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005709/0.4737, allocations: 3.223 MB / 0.5148 GB, free: 10.97 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001054/0.4748, allocations: 407.8 kB / 0.5152 GB, free: 10.55 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002254/0.475, allocations: 32 kB / 0.5152 GB, free: 10.52 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000939/0.4759, allocations: 79.91 kB / 0.5153 GB, free: 10.44 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002871/0.4762, allocations: 104.7 kB / 0.5154 GB, free: 10.34 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.404e-05/0.4763, allocations: 36 kB / 0.5154 GB, free: 10.3 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001803/0.4781, allocations: 1.074 MB / 0.5165 GB, free: 9.234 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4781, allocations: 0 / 0.5165 GB, free: 9.234 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001931/0.4801, allocations: 487.9 kB / 0.517 GB, free: 8.758 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.0004235/0.4805, allocations: 199.1 kB / 0.5172 GB, free: 8.555 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.004077/0.4846, allocations: 2.23 MB / 0.5193 GB, free: 6.27 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 5.56e-06/0.4846, allocations: 0 / 0.5193 GB, free: 6.27 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002513/0.4871, allocations: 1.423 MB / 0.5207 GB, free: 4.797 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002396/0.4895, allocations: 489.3 kB / 0.5212 GB, free: 4.34 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008595/0.4981, allocations: 4.802 MB / 0.5259 GB, free: 15.45 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001721/0.4998, allocations: 1.839 MB / 0.5277 GB, free: 13.58 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006299/0.5004, allocations: 127.4 kB / 0.5278 GB, free: 13.46 MB / 446.1 MB Notification: Performance of SimCode: time 1.654e-06/0.5004, allocations: 0 / 0.5278 GB, free: 13.46 MB / 446.1 MB Notification: Performance of Templates: time 0.09372/0.5941, allocations: 74.24 MB / 0.6003 GB, free: 3.207 MB / 0.4981 GB " [Timeout remaining time 659] make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_Inverter.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_Inverter.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_Inverter.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_Inverter.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_Inverter.sim & ./Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_Inverter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_Inverter.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_Inverter_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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_2/OpenModelicaLibraryTesting/files/Modelica_trunk_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: 12.711350683122873]