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.001647/0.001647, 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.002046/0.002046, allocations: 213.3 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 2.055/2.055, allocations: 230.6 MB / 258.2 MB, free: 7.789 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.001754/0.001754, allocations: 47.92 kB / 379 MB, free: 2.457 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3626/0.3643, allocations: 53.36 MB / 432.3 MB, free: 6.727 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_Inverter): time 0.01854/0.3828, allocations: 9.147 MB / 441.5 MB, free: 13.55 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01055/0.3934, allocations: 3.279 MB / 444.8 MB, free: 10.25 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001841/0.3952, allocations: 75.5 kB / 444.8 MB, free: 10.18 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002872/0.3981, allocations: 0.7722 MB / 445.6 MB, free: 9.406 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0038/0.4019, allocations: 0.9009 MB / 446.5 MB, free: 8.5 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001318/0.4032, allocations: 427.4 kB / 446.9 MB, free: 8.082 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004683/0.4079, allocations: 2.759 MB / 449.7 MB, free: 5.312 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003264/0.4112, allocations: 1.356 MB / 451 MB, free: 3.887 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002971/0.4141, allocations: 1.301 MB / 452.3 MB, free: 2.582 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003658/0.4178, allocations: 1.627 MB / 454 MB, free: 0.9492 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007652/0.4186, allocations: 336 kB / 454.3 MB, free: 0.6211 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001317/0.4199, allocations: 439.9 kB / 454.7 MB, free: 196 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001537/0.4214, allocations: 0.9582 MB / 455.7 MB, free: 15.23 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002124/0.4235, allocations: 1.21 MB / 456.9 MB, free: 14.02 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007533/0.4311, allocations: 4.433 MB / 461.3 MB, free: 9.566 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.162e-06/0.4311, allocations: 4 kB / 461.3 MB, free: 9.562 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.064e-06/0.4311, allocations: 0 / 461.3 MB, free: 9.562 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001043/0.4312, allocations: 0 / 461.3 MB, free: 9.562 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.01067/0.4419, allocations: 3.065 MB / 464.4 MB, free: 6.449 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.337e-05/0.4419, allocations: 12.03 kB / 464.4 MB, free: 6.438 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001597/0.4435, allocations: 331 kB / 464.7 MB, free: 6.113 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00552/0.449, allocations: 1.559 MB / 466.3 MB, free: 4.516 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002414/0.4493, allocations: 168.4 kB / 466.5 MB, free: 4.348 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006238/0.4499, allocations: 223.9 kB / 466.7 MB, free: 4.129 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008756/0.4587, allocations: 3.017 MB / 469.7 MB, free: 1 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.137e-05/0.4587, allocations: 3.938 kB / 469.7 MB, free: 0.9961 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003544/0.4591, allocations: 95.98 kB / 469.8 MB, free: 0.9023 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000213/0.4593, allocations: 116.3 kB / 469.9 MB, free: 0.7852 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007571/0.4669, allocations: 2.426 MB / 472.3 MB, free: 14.34 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02406/0.4909, allocations: 7.835 MB / 480.2 MB, free: 6.25 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003752/0.4947, allocations: 1.174 MB / 481.3 MB, free: 5.074 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003079/0.4978, allocations: 0.917 MB / 482.3 MB, free: 4.16 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003376/0.4981, allocations: 52.91 kB / 482.3 MB, free: 4.109 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.948e-05/0.4982, allocations: 47.55 kB / 482.4 MB, free: 4.051 MB / 382.1 MB Notification: Performance of pre-optimization done (n=105): time 4.879e-06/0.4982, allocations: 0 / 482.4 MB, free: 4.051 MB / 382.1 MB Notification: Performance of matching and sorting (n=122): time 0.02432/0.5225, allocations: 6.049 MB / 488.4 MB, free: 13.98 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.359e-05/0.5226, allocations: 68.34 kB / 488.5 MB, free: 13.9 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00302/0.5256, allocations: 1.425 MB / 489.9 MB, free: 12.46 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002175/0.5258, allocations: 49.7 kB / 489.9 MB, free: 12.41 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00127/0.5271, allocations: 1.141 MB / 491.1 MB, free: 11.25 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000777/0.5278, allocations: 460 kB / 491.5 MB, free: 10.8 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006286/0.5285, allocations: 279.5 kB / 491.8 MB, free: 10.52 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001544/0.5286, allocations: 301.1 kB / 492.1 MB, free: 10.22 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001515/0.5301, allocations: 0.7105 MB / 492.8 MB, free: 9.512 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001775/0.5319, allocations: 1.138 MB / 493.9 MB, free: 8.188 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002921/0.5348, allocations: 1.971 MB / 495.9 MB, free: 6.031 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.64e-05/0.5349, allocations: 4 kB / 495.9 MB, free: 6.027 MB / 398.1 MB Notification: Performance of matching and sorting (n=191) (initialization): time 0.0044/0.5393, allocations: 2.428 MB / 498.4 MB, free: 3.578 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.644e-05/0.5393, allocations: 11.94 kB / 498.4 MB, free: 3.566 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.315e-05/0.5393, allocations: 16 kB / 498.4 MB, free: 3.551 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001054/0.5404, allocations: 421.9 kB / 498.8 MB, free: 3.129 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00131/0.5417, allocations: 347.5 kB / 499.1 MB, free: 2.789 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01017/0.5518, allocations: 6.715 MB / 0.494 GB, free: 11.78 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0022/0.554, allocations: 103.8 kB / 0.4941 GB, free: 11.68 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002032/0.5542, allocations: 63.98 kB / 0.4941 GB, free: 11.61 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.001936/0.5562, allocations: 0.7224 MB / 0.4949 GB, free: 10.88 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005212/0.5567, allocations: 166.9 kB / 0.495 GB, free: 10.72 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005931/0.5626, allocations: 2.106 MB / 0.4971 GB, free: 8.586 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.756e-05/0.5626, allocations: 16 kB / 0.4971 GB, free: 8.57 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.362e-05/0.5627, allocations: 4 kB / 0.4971 GB, free: 8.566 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.695e-05/0.5627, allocations: 3.984 kB / 0.4971 GB, free: 8.562 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01377/0.5764, allocations: 4.114 MB / 0.5011 GB, free: 4.34 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-05/0.5765, allocations: 4 kB / 0.5011 GB, free: 4.336 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001923/0.5784, allocations: 223.7 kB / 0.5013 GB, free: 4.117 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002384/0.5808, allocations: 455.3 kB / 0.5018 GB, free: 3.66 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001803/0.581, allocations: 39.97 kB / 0.5018 GB, free: 3.621 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01507/0.596, allocations: 8.138 MB / 0.5097 GB, free: 11.07 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.077e-06/0.596, allocations: 8 kB / 0.5098 GB, free: 11.07 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009542/0.6056, allocations: 3.12 MB / 0.5128 GB, free: 7.867 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001599/0.6072, allocations: 314.8 kB / 0.5131 GB, free: 7.559 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003832/0.6076, allocations: 31.98 kB / 0.5131 GB, free: 7.527 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001761/0.6093, allocations: 83.91 kB / 0.5132 GB, free: 7.445 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003911/0.6097, allocations: 112.7 kB / 0.5133 GB, free: 7.336 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001559/0.6099, allocations: 39.98 kB / 0.5134 GB, free: 7.297 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.002579/0.6124, allocations: 0.9535 MB / 0.5143 GB, free: 6.344 MB / 430.1 MB Notification: Performance of sort global known variables: time 2.11e-07/0.6124, allocations: 0 / 0.5143 GB, free: 6.344 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.003272/0.6157, allocations: 488.1 kB / 0.5148 GB, free: 5.867 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.0006777/0.6164, allocations: 198.9 kB / 0.5149 GB, free: 5.664 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.007007/0.6234, allocations: 2.147 MB / 0.517 GB, free: 3.473 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 6.492e-06/0.6234, allocations: 0 / 0.517 GB, free: 3.473 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004459/0.6279, allocations: 1.423 MB / 0.5184 GB, free: 1.996 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003622/0.6315, allocations: 419.2 kB / 0.5188 GB, free: 1.602 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01363/0.6451, allocations: 4.739 MB / 0.5235 GB, free: 12.78 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002478/0.6476, allocations: 1.302 MB / 0.5247 GB, free: 11.43 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001952/0.6495, allocations: 377.7 kB / 0.5251 GB, free: 11.06 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005798/0.6501, allocations: 115.4 kB / 0.5252 GB, free: 10.95 MB / 446.1 MB Notification: Performance of SimCode: time 1.262e-06/0.6501, allocations: 0 / 0.5252 GB, free: 10.95 MB / 446.1 MB Notification: Performance of Templates: time 0.3091/0.9592, allocations: 28.95 MB / 0.5535 GB, free: 93.2 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 cvode -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: 8.62605057300243]