Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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.001333/0.001333, allocations: 114 kB / 21.18 MB, free: 0.5898 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.001409/0.001409, allocations: 213.5 kB / 24.47 MB, free: 3.996 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.392/1.392, allocations: 230.4 MB / 258.1 MB, free: 8.148 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-beta.om/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_4.1.0-beta.om_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-beta.om_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_Inverter") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001872/0.001872, allocations: 71.83 kB / 378.8 MB, free: 2.859 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.244/0.2459, allocations: 53.31 MB / 432.1 MB, free: 7.367 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_Inverter): time 0.01289/0.2588, allocations: 10.45 MB / 442.5 MB, free: 12.88 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.007895/0.2666, allocations: 3.493 MB / 446 MB, free: 9.371 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001611/0.2683, allocations: 59.75 kB / 446.1 MB, free: 9.312 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002274/0.2705, allocations: 0.8464 MB / 446.9 MB, free: 8.461 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00297/0.2735, allocations: 0.8776 MB / 447.8 MB, free: 7.578 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001096/0.2746, allocations: 423.4 kB / 448.2 MB, free: 7.164 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003293/0.2779, allocations: 2.761 MB / 451 MB, free: 4.395 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001836/0.2797, allocations: 1.359 MB / 452.3 MB, free: 2.965 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001771/0.2815, allocations: 1.265 MB / 453.6 MB, free: 1.695 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002406/0.2839, allocations: 1.627 MB / 455.2 MB, free: 64 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005426/0.2844, allocations: 336 kB / 455.5 MB, free: 15.73 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008787/0.2853, allocations: 443.8 kB / 456 MB, free: 15.3 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009618/0.2863, allocations: 0.9543 MB / 456.9 MB, free: 14.34 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001677/0.288, allocations: 1.513 MB / 458.4 MB, free: 12.82 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005077/0.293, allocations: 4.402 MB / 462.8 MB, free: 8.406 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.942e-06/0.293, allocations: 0 / 462.8 MB, free: 8.406 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.293, allocations: 0 / 462.8 MB, free: 8.406 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001288/0.2932, allocations: 4 kB / 462.8 MB, free: 8.402 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.007007/0.3002, allocations: 3.14 MB / 466 MB, free: 5.195 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.255e-05/0.3002, allocations: 8.031 kB / 466 MB, free: 5.188 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009158/0.3011, allocations: 335 kB / 466.3 MB, free: 4.859 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003091/0.3042, allocations: 1.627 MB / 468 MB, free: 3.176 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001415/0.3044, allocations: 180.3 kB / 468.1 MB, free: 2.996 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003384/0.3047, allocations: 223.9 kB / 468.3 MB, free: 2.777 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004993/0.3097, allocations: 2.921 MB / 471.3 MB, free: 15.77 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.978e-05/0.3098, allocations: 4 kB / 471.3 MB, free: 15.77 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002122/0.31, allocations: 91.98 kB / 471.4 MB, free: 15.68 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001486/0.3101, allocations: 112.3 kB / 471.5 MB, free: 15.56 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004412/0.3145, allocations: 2.433 MB / 473.9 MB, free: 13.11 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01633/0.3309, allocations: 9.038 MB / 482.9 MB, free: 3.797 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002513/0.3334, allocations: 1.635 MB / 484.6 MB, free: 2.043 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001824/0.3352, allocations: 0.9214 MB / 485.5 MB, free: 1.125 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003171/0.3355, allocations: 211.2 kB / 485.7 MB, free: 0.8828 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.434e-05/0.3356, allocations: 43.56 kB / 485.7 MB, free: 0.8281 MB / 382.1 MB Notification: Performance of pre-optimization done (n=105): time 2.835e-06/0.3356, allocations: 0 / 485.7 MB, free: 0.8281 MB / 382.1 MB Notification: Performance of matching and sorting (n=122): time 0.01559/0.3512, allocations: 6.602 MB / 492.3 MB, free: 10.07 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.985e-05/0.3512, allocations: 64.41 kB / 492.4 MB, free: 9.992 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003049/0.3543, allocations: 1.566 MB / 494 MB, free: 8.418 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001394/0.3544, allocations: 45.7 kB / 494 MB, free: 8.367 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009752/0.3554, allocations: 1.138 MB / 495.2 MB, free: 7.215 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004729/0.3558, allocations: 448.2 kB / 495.6 MB, free: 6.773 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005032/0.3564, allocations: 271.5 kB / 495.9 MB, free: 6.5 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001391/0.3565, allocations: 305.1 kB / 496.2 MB, free: 6.199 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001362/0.3579, allocations: 0.7105 MB / 496.9 MB, free: 5.488 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001648/0.3595, allocations: 1.138 MB / 498 MB, free: 4.164 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002975/0.3625, allocations: 1.963 MB / 500 MB, free: 2.02 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.245e-05/0.3625, allocations: 8 kB / 500 MB, free: 2.012 MB / 398.1 MB Notification: Performance of matching and sorting (n=191) (initialization): time 0.004725/0.3672, allocations: 2.527 MB / 0.4907 GB, free: 15.45 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.999e-05/0.3672, allocations: 12.03 kB / 0.4907 GB, free: 15.43 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.685e-05/0.3673, allocations: 12 kB / 0.4908 GB, free: 15.42 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001043/0.3683, allocations: 431 kB / 0.4912 GB, free: 14.99 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001325/0.3696, allocations: 351.4 kB / 0.4915 GB, free: 14.64 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008052/0.3777, allocations: 7.135 MB / 0.4985 GB, free: 7.102 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001537/0.3792, allocations: 107.8 kB / 0.4986 GB, free: 6.996 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002121/0.3794, allocations: 68.08 kB / 0.4986 GB, free: 6.93 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.001455/0.3809, allocations: 0.7159 MB / 0.4993 GB, free: 6.203 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005096/0.3814, allocations: 186.9 kB / 0.4995 GB, free: 6.02 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004326/0.3857, allocations: 2.19 MB / 0.5017 GB, free: 3.781 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.475e-05/0.3857, allocations: 12 kB / 0.5017 GB, free: 3.77 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.674e-05/0.3858, allocations: 4 kB / 0.5017 GB, free: 3.766 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.547e-05/0.3858, allocations: 7.922 kB / 0.5017 GB, free: 3.758 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009975/0.3958, allocations: 4.756 MB / 0.5063 GB, free: 14.86 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.359e-05/0.3958, allocations: 7.984 kB / 0.5063 GB, free: 14.85 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009801/0.3967, allocations: 215.7 kB / 0.5065 GB, free: 14.64 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00119/0.3979, allocations: 463.4 kB / 0.507 GB, free: 14.17 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001056/0.398, allocations: 35.98 kB / 0.507 GB, free: 14.14 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009675/0.4077, allocations: 8.689 MB / 0.5155 GB, free: 4.887 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.576e-06/0.4077, allocations: 11.94 kB / 0.5155 GB, free: 4.875 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005964/0.4137, allocations: 3.211 MB / 0.5186 GB, free: 1.562 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00126/0.415, allocations: 407.8 kB / 0.519 GB, free: 1.145 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005137/0.4155, allocations: 35.98 kB / 0.5191 GB, free: 1.109 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001239/0.4167, allocations: 83.91 kB / 0.5191 GB, free: 1.027 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002779/0.417, allocations: 92.75 kB / 0.5192 GB, free: 0.9375 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000106/0.4171, allocations: 43.98 kB / 0.5193 GB, free: 0.8945 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.00242/0.4195, allocations: 1.071 MB / 0.5203 GB, free: 15.83 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4195, allocations: 0 / 0.5203 GB, free: 15.83 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002327/0.4218, allocations: 487.9 kB / 0.5208 GB, free: 15.35 MB / 446.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.0004942/0.4223, allocations: 204.9 kB / 0.521 GB, free: 15.14 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.004298/0.4266, allocations: 2.226 MB / 0.5232 GB, free: 12.86 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 6.232e-06/0.4266, allocations: 0 / 0.5232 GB, free: 12.86 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002749/0.4294, allocations: 1.423 MB / 0.5245 GB, free: 11.38 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002889/0.4323, allocations: 491 kB / 0.525 GB, free: 10.92 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01019/0.4425, allocations: 4.826 MB / 0.5297 GB, free: 6.012 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002542/0.445, allocations: 1.843 MB / 0.5315 GB, free: 4.141 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007368/0.4457, allocations: 135.3 kB / 0.5317 GB, free: 4.008 MB / 446.1 MB Notification: Performance of SimCode: time 1.473e-06/0.4457, allocations: 0 / 0.5317 GB, free: 4.008 MB / 446.1 MB Notification: Performance of Templates: time 0.2793/0.725, allocations: 74.23 MB / 0.6041 GB, free: 39.84 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_Inverter.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_Inverter.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_Inverter.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_Inverter.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_Inverter.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_Inverter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_Inverter.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_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_4.1.0-beta.om_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.258238594047725]