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.001446/0.001446, allocations: 96.25 kB / 20.96 MB, free: 3.465 MB / 18.57 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.001478/0.001478, allocations: 156.9 kB / 24.26 MB, free: 168 kB / 18.57 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.472/1.472, allocations: 177 MB / 204.5 MB, free: 5.617 MB / 186.7 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 1.423e-06/1.423e-06, allocations: 0 / 272.2 MB, free: 1.789 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.519e-05/2.661e-05, allocations: 6.312 kB / 272.2 MB, free: 1.781 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_Inverter): time 0.01299/0.01302, allocations: 9.161 MB / 281.4 MB, free: 8.574 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.007323/0.02034, allocations: 3.287 MB / 284.7 MB, free: 5.273 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001199/0.02154, allocations: 75.5 kB / 284.7 MB, free: 5.199 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001873/0.02341, allocations: 0.7683 MB / 285.5 MB, free: 4.426 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002496/0.02591, allocations: 0.9158 MB / 286.4 MB, free: 3.504 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009815/0.02689, allocations: 443.2 kB / 286.9 MB, free: 3.07 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.003974/0.03086, allocations: 2.847 MB / 289.7 MB, free: 216 kB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.12/0.1509, allocations: 1.301 MB / 291 MB, free: 15.48 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002745/0.1536, allocations: 1.893 MB / 292.9 MB, free: 15.48 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002203/0.1558, allocations: 1.367 MB / 294.3 MB, free: 15.48 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005597/0.1564, allocations: 334.6 kB / 294.6 MB, free: 15.48 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008996/0.1573, allocations: 442 kB / 295 MB, free: 15.48 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008832/0.1581, allocations: 0.9736 MB / 296 MB, free: 15.48 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00119/0.1593, allocations: 1.034 MB / 297 MB, free: 15.48 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004183/0.1635, allocations: 4.454 MB / 301.5 MB, free: 14.49 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.479e-06/0.1635, allocations: 0.6875 kB / 301.5 MB, free: 14.49 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.445e-06/0.1635, allocations: 3.984 kB / 301.5 MB, free: 14.48 MB / 266.7 MB Notification: Performance of Transformations before backend: time 8.859e-05/0.1636, allocations: 1.844 kB / 301.5 MB, free: 14.48 MB / 266.7 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.005534/0.1692, allocations: 3.042 MB / 304.5 MB, free: 12.4 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.539e-05/0.1692, allocations: 12.45 kB / 304.5 MB, free: 12.4 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001096/0.1703, allocations: 0.5006 MB / 305 MB, free: 12.16 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002342/0.1726, allocations: 1.619 MB / 306.7 MB, free: 11.16 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.254e-05/0.1727, allocations: 170.3 kB / 306.8 MB, free: 11.09 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000272/0.173, allocations: 220.8 kB / 307 MB, free: 11.01 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004107/0.1771, allocations: 3.028 MB / 310.1 MB, free: 9.148 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.703e-05/0.1772, allocations: 9.938 kB / 310.1 MB, free: 9.145 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002103/0.1774, allocations: 90.3 kB / 310.2 MB, free: 9.078 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001196/0.1775, allocations: 111.2 kB / 310.3 MB, free: 9.059 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003383/0.1809, allocations: 2.431 MB / 312.7 MB, free: 7.375 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01137/0.1922, allocations: 7.975 MB / 320.7 MB, free: 15.36 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002359/0.1946, allocations: 1.187 MB / 321.9 MB, free: 14.18 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001927/0.1965, allocations: 0.9201 MB / 322.8 MB, free: 13.27 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002452/0.1968, allocations: 60.95 kB / 322.9 MB, free: 13.21 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.985e-05/0.1968, allocations: 47.56 kB / 322.9 MB, free: 13.15 MB / 282.7 MB Notification: Performance of pre-optimization done (n=105): time 2.585e-06/0.1968, allocations: 0 / 322.9 MB, free: 13.15 MB / 282.7 MB Notification: Performance of matching and sorting (n=122): time 0.01638/0.2132, allocations: 6.081 MB / 329 MB, free: 7.086 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.422e-05/0.2133, allocations: 68.34 kB / 329.1 MB, free: 7.008 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00258/0.2159, allocations: 1.429 MB / 330.5 MB, free: 5.566 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001208/0.216, allocations: 45.7 kB / 330.5 MB, free: 5.516 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001083/0.2171, allocations: 1.142 MB / 331.7 MB, free: 4.367 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004831/0.2175, allocations: 450.1 kB / 332.1 MB, free: 3.934 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005128/0.2181, allocations: 271.5 kB / 332.4 MB, free: 3.66 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001612/0.2182, allocations: 301.1 kB / 332.7 MB, free: 3.363 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001384/0.2196, allocations: 0.7066 MB / 333.4 MB, free: 2.656 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002063/0.2217, allocations: 1.144 MB / 334.5 MB, free: 1.336 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003302/0.225, allocations: 1.967 MB / 336.5 MB, free: 15.24 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.019e-05/0.225, allocations: 4 kB / 336.5 MB, free: 15.23 MB / 298.7 MB Notification: Performance of matching and sorting (n=191) (initialization): time 0.005099/0.2301, allocations: 2.497 MB / 339 MB, free: 12.81 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.79e-05/0.2301, allocations: 16.03 kB / 339 MB, free: 12.8 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.441e-05/0.2301, allocations: 12 kB / 339 MB, free: 12.79 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001283/0.2314, allocations: 464 kB / 339.5 MB, free: 12.32 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00137/0.2328, allocations: 351.9 kB / 339.8 MB, free: 12 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008995/0.2418, allocations: 6.715 MB / 346.5 MB, free: 5.035 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00163/0.2434, allocations: 111.9 kB / 346.6 MB, free: 4.926 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001455/0.2436, allocations: 60 kB / 346.7 MB, free: 4.867 MB / 298.7 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.001695/0.2453, allocations: 0.7166 MB / 347.4 MB, free: 4.16 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005839/0.2458, allocations: 206.9 kB / 347.6 MB, free: 3.957 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00449/0.2503, allocations: 2.108 MB / 349.7 MB, free: 1.832 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.061e-05/0.2503, allocations: 12 kB / 349.7 MB, free: 1.82 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.307e-05/0.2504, allocations: 4 kB / 349.7 MB, free: 1.816 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.653e-05/0.2504, allocations: 7.984 kB / 349.7 MB, free: 1.809 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01196/0.2623, allocations: 4.126 MB / 353.9 MB, free: 13.65 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.471e-05/0.2623, allocations: 4 kB / 353.9 MB, free: 13.65 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001438/0.2638, allocations: 226.3 kB / 354.1 MB, free: 13.44 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002014/0.2658, allocations: 477.9 kB / 354.6 MB, free: 12.96 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001534/0.266, allocations: 39.97 kB / 354.6 MB, free: 12.93 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01441/0.2804, allocations: 8.151 MB / 362.7 MB, free: 4.422 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.159e-05/0.2804, allocations: 11.47 kB / 362.8 MB, free: 4.414 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008789/0.2892, allocations: 3.16 MB / 365.9 MB, free: 1.195 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001438/0.2906, allocations: 314.8 kB / 366.2 MB, free: 0.8867 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005623/0.2912, allocations: 32 kB / 366.3 MB, free: 0.8555 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001603/0.2928, allocations: 79.91 kB / 366.3 MB, free: 0.7773 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003853/0.2932, allocations: 100.5 kB / 366.4 MB, free: 0.6836 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001559/0.2933, allocations: 43.98 kB / 366.5 MB, free: 0.6406 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0027/0.296, allocations: 0.9535 MB / 367.4 MB, free: 15.69 MB / 330.7 MB Notification: Performance of sort global known variables: time 1e-07/0.296, allocations: 0 / 367.4 MB, free: 15.69 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.003118/0.2991, allocations: 487.9 kB / 367.9 MB, free: 15.21 MB / 330.7 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.0006149/0.2997, allocations: 208 kB / 368.1 MB, free: 15.02 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.00614/0.3059, allocations: 2.148 MB / 370.3 MB, free: 12.87 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 6.432e-06/0.3059, allocations: 0 / 370.3 MB, free: 12.87 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003485/0.3094, allocations: 1.425 MB / 371.7 MB, free: 11.43 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002358/0.3117, allocations: 442.4 kB / 372.1 MB, free: 11.02 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009343/0.3211, allocations: 4.632 MB / 376.7 MB, free: 6.312 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002408/0.3235, allocations: 1.298 MB / 378 MB, free: 4.973 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.001257/0.3247, allocations: 377.7 kB / 378.4 MB, free: 4.598 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000448/0.3252, allocations: 116.5 kB / 378.5 MB, free: 4.484 MB / 330.7 MB Notification: Performance of SimCode: time 9.42e-07/0.3252, allocations: 3.938 kB / 378.5 MB, free: 4.48 MB / 330.7 MB Notification: Performance of Templates: time 0.05068/0.3759, allocations: 25.58 MB / 404.1 MB, free: 11.32 MB / 362.7 MB " [Timeout remaining time 660] 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/SynchronousMachines/SMPM_Inverter/SMPM_Inverter.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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: 5.603559248964302]