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_NoLoad.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) 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_NoLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=6400,variableFilter="time|smpm.is.1.|smpm.is.2.|constantSpeed.phi",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad") translateModel(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=6400,variableFilter="time|smpm.is.1.|smpm.is.2.|constantSpeed.phi",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001341/0.001341, allocations: 109.8 kB / 18.3 MB, free: 4.84 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001437/0.001437, allocations: 207.9 kB / 19.25 MB, free: 3.898 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.423/1.423, allocations: 227.7 MB / 247.7 MB, free: 10.31 MB / 206.1 MB 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.00195/0.001951, allocations: 65.09 kB / 307.9 MB, free: 500 kB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0944/0.09636, allocations: 50.53 MB / 358.4 MB, free: 13.94 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad): time 0.01154/0.1079, allocations: 9.117 MB / 367.6 MB, free: 4.781 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.005537/0.1135, allocations: 3.186 MB / 370.7 MB, free: 1.578 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005509/0.1141, allocations: 43.81 kB / 370.8 MB, free: 1.535 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00149/0.1156, allocations: 0.6678 MB / 371.4 MB, free: 0.8633 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001606/0.1172, allocations: 0.7144 MB / 372.2 MB, free: 148 kB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.1401/0.2574, allocations: 316.2 kB / 372.5 MB, free: 10.63 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.00231/0.2597, allocations: 2.124 MB / 374.6 MB, free: 10.63 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001458/0.2612, allocations: 1.434 MB / 376 MB, free: 10.35 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009941/0.2622, allocations: 0.9228 MB / 377 MB, free: 10.24 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001143/0.2633, allocations: 1.143 MB / 378.1 MB, free: 10.05 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002925/0.2636, allocations: 231.8 kB / 378.3 MB, free: 10.05 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000575/0.2642, allocations: 327.8 kB / 378.6 MB, free: 10.05 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005422/0.2647, allocations: 0.6844 MB / 379.3 MB, free: 9.973 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008186/0.2656, allocations: 1.095 MB / 380.4 MB, free: 9.445 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002606/0.2682, allocations: 3.101 MB / 383.5 MB, free: 8.426 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.538e-06/0.2682, allocations: 1.469 kB / 383.5 MB, free: 8.426 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.193e-06/0.2682, allocations: 0 / 383.5 MB, free: 8.426 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.973e-05/0.2683, allocations: 0 / 383.5 MB, free: 8.426 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 404 * Number of variables: 404 Notification: Performance of Generate backend data structure: time 0.003972/0.2722, allocations: 2.301 MB / 385.8 MB, free: 7.066 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.431e-05/0.2723, allocations: 9.094 kB / 385.8 MB, free: 7.066 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006529/0.2729, allocations: 232.4 kB / 386.1 MB, free: 6.961 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001616/0.2746, allocations: 1.204 MB / 387.3 MB, free: 6.273 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.543e-05/0.2747, allocations: 117.7 kB / 387.4 MB, free: 6.219 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000212/0.2749, allocations: 149.6 kB / 387.5 MB, free: 6.172 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002837/0.2777, allocations: 2.039 MB / 389.6 MB, free: 5.324 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.626e-05/0.2778, allocations: 6.156 kB / 389.6 MB, free: 5.32 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001408/0.2779, allocations: 62.44 kB / 389.6 MB, free: 5.273 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.811e-05/0.278, allocations: 77.69 kB / 389.7 MB, free: 5.266 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002537/0.2806, allocations: 1.678 MB / 391.4 MB, free: 4.641 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008305/0.2889, allocations: 7.09 MB / 398.5 MB, free: 15.14 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008231/0.2897, allocations: 478.4 kB / 398.9 MB, free: 14.91 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004233/0.2902, allocations: 278.1 kB / 399.2 MB, free: 14.78 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002295/0.2904, allocations: 120.3 kB / 399.3 MB, free: 14.67 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.402e-05/0.2904, allocations: 42.08 kB / 399.4 MB, free: 14.62 MB / 318.1 MB Notification: Performance of pre-optimization done (n=48): time 2.174e-06/0.2905, allocations: 0 / 399.4 MB, free: 14.62 MB / 318.1 MB Notification: Performance of matching and sorting (n=63): time 0.007008/0.2975, allocations: 3.023 MB / 402.4 MB, free: 12.81 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.944e-05/0.2975, allocations: 59.97 kB / 402.5 MB, free: 12.74 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002545/0.3001, allocations: 1.632 MB / 404.1 MB, free: 11.1 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 7.856e-05/0.3002, allocations: 36.42 kB / 404.1 MB, free: 11.06 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008771/0.3011, allocations: 1.032 MB / 405.2 MB, free: 10.03 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002372/0.3013, allocations: 238.5 kB / 405.4 MB, free: 9.797 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004679/0.3018, allocations: 323.1 kB / 405.7 MB, free: 9.473 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001294/0.3019, allocations: 304.2 kB / 406 MB, free: 9.176 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009736/0.3029, allocations: 0.5231 MB / 406.5 MB, free: 8.652 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00173/0.3047, allocations: 1.453 MB / 408 MB, free: 6.754 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002901/0.3076, allocations: 2.133 MB / 410.1 MB, free: 4.238 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.972e-05/0.3076, allocations: 12 kB / 410.1 MB, free: 4.227 MB / 318.1 MB Notification: Performance of matching and sorting (n=208) (initialization): time 0.004028/0.3116, allocations: 2.16 MB / 412.3 MB, free: 2.047 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.363e-05/0.3117, allocations: 20 kB / 412.3 MB, free: 2.027 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.421e-05/0.3117, allocations: 32 kB / 412.3 MB, free: 1.996 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005965/0.3123, allocations: 235.1 kB / 412.6 MB, free: 1.758 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001201/0.3135, allocations: 399.2 kB / 412.9 MB, free: 1.367 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002001/0.3156, allocations: 1.843 MB / 414.8 MB, free: 15.37 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001416/0.317, allocations: 143.3 kB / 414.9 MB, free: 15.23 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001241/0.3171, allocations: 95.98 kB / 415 MB, free: 15.14 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 149 * 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 (204): * Single equations (assignments): 201 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (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): 1 system {(2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0009451/0.3181, allocations: 0.5944 MB / 415.6 MB, free: 14.53 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002633/0.3183, allocations: 158 kB / 415.8 MB, free: 14.38 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002129/0.3205, allocations: 1.086 MB / 416.9 MB, free: 13.27 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.386e-06/0.3205, allocations: 8 kB / 416.9 MB, free: 13.26 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.3205, allocations: 0 / 416.9 MB, free: 13.26 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.336e-06/0.3205, allocations: 4.125 kB / 416.9 MB, free: 13.26 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004824/0.3254, allocations: 2.771 MB / 419.6 MB, free: 10.41 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.977e-06/0.3254, allocations: 0 / 419.6 MB, free: 10.41 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000531/0.3259, allocations: 127.7 kB / 419.8 MB, free: 10.28 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004642/0.3264, allocations: 173 kB / 419.9 MB, free: 10.11 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.097e-05/0.3264, allocations: 12 kB / 419.9 MB, free: 10.09 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001813/0.3283, allocations: 1.785 MB / 421.7 MB, free: 8.172 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.008e-06/0.3283, allocations: 7.969 kB / 421.7 MB, free: 8.164 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002787/0.3311, allocations: 1.638 MB / 423.4 MB, free: 6.484 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005595/0.3316, allocations: 299.1 kB / 423.7 MB, free: 6.172 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001813/0.3318, allocations: 12 kB / 423.7 MB, free: 6.16 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006713/0.3325, allocations: 47.94 kB / 423.7 MB, free: 6.113 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001392/0.3327, allocations: 60.48 kB / 423.8 MB, free: 6.055 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.3e-05/0.3327, allocations: 16 kB / 423.8 MB, free: 6.039 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.001732/0.3344, allocations: 1.079 MB / 424.9 MB, free: 4.965 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.3345, allocations: 0 / 424.9 MB, free: 4.965 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.00143/0.3359, allocations: 360 kB / 425.2 MB, free: 4.613 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 1 (speed.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 (60): * Single equations (assignments): 57 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (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): 1 system {(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.0003319/0.3362, allocations: 171.1 kB / 425.4 MB, free: 4.434 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.003167/0.3394, allocations: 1.764 MB / 427.2 MB, free: 2.617 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.3394, allocations: 0 / 427.2 MB, free: 2.617 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001205/0.3406, allocations: 0.7597 MB / 427.9 MB, free: 1.805 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00197/0.3426, allocations: 408.7 kB / 428.3 MB, free: 1.418 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00519/0.3478, allocations: 3.064 MB / 431.4 MB, free: 14.31 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001271/0.3491, allocations: 1.449 MB / 432.8 MB, free: 12.83 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003868/0.3495, allocations: 119.4 kB / 433 MB, free: 12.71 MB / 350.1 MB Notification: Performance of SimCode: time 5.11e-07/0.3495, allocations: 0 / 433 MB, free: 12.71 MB / 350.1 MB Notification: Performance of Templates: time 0.06025/0.4098, allocations: 47.27 MB / 480.2 MB, free: 13.52 MB / 398.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad.makefile (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad.pipe 2>&1) diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/SynchronousMachines/SMPM_NoLoad/SMPM_NoLoad.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches