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.001532/0.001531, allocations: 113.3 kB / 17.98 MB, free: 5.398 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001782/0.001782, allocations: 201.8 kB / 18.92 MB, free: 4.469 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.415/1.415, allocations: 227.6 MB / 247.4 MB, free: 8.84 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.00187/0.00187, allocations: 61.5 kB / 307.4 MB, free: 0.6016 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09935/0.1012, allocations: 50.54 MB / 357.9 MB, free: 14.04 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad): time 0.01151/0.1128, allocations: 9.07 MB / 367 MB, free: 4.918 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.005987/0.1188, allocations: 3.139 MB / 370.1 MB, free: 1.762 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001013/0.1199, allocations: 43.81 kB / 370.2 MB, free: 1.719 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001702/0.1216, allocations: 0.6061 MB / 370.8 MB, free: 1.109 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001877/0.1235, allocations: 0.6372 MB / 371.4 MB, free: 480 kB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006414/0.1242, allocations: 279.7 kB / 371.7 MB, free: 200 kB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.1503/0.2744, allocations: 2.122 MB / 373.8 MB, free: 10.45 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002109/0.2766, allocations: 1.434 MB / 375.3 MB, free: 10.18 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002194/0.2788, allocations: 0.9317 MB / 376.2 MB, free: 10.07 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002346/0.2812, allocations: 1.168 MB / 377.4 MB, free: 9.883 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006029/0.2818, allocations: 231.9 kB / 377.6 MB, free: 9.883 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00103/0.2828, allocations: 330.1 kB / 377.9 MB, free: 9.883 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00073/0.2836, allocations: 0.6862 MB / 378.6 MB, free: 9.809 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001538/0.2851, allocations: 1.093 MB / 379.7 MB, free: 9.492 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003446/0.2886, allocations: 2.605 MB / 382.3 MB, free: 8.801 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.534e-06/0.2886, allocations: 0 / 382.3 MB, free: 8.801 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.735e-06/0.2886, allocations: 1.812 kB / 382.3 MB, free: 8.801 MB / 302.1 MB Notification: Performance of Transformations before backend: time 9.221e-05/0.2887, allocations: 4 kB / 382.3 MB, free: 8.797 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.005127/0.2939, allocations: 2.296 MB / 384.6 MB, free: 7.441 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.816e-05/0.2939, allocations: 9.25 kB / 384.6 MB, free: 7.441 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007294/0.2946, allocations: 238.4 kB / 384.8 MB, free: 7.336 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001778/0.2964, allocations: 1.202 MB / 386 MB, free: 6.645 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.535e-05/0.2965, allocations: 118.1 kB / 386.1 MB, free: 6.59 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002244/0.2968, allocations: 155.5 kB / 386.3 MB, free: 6.543 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003103/0.2999, allocations: 2.033 MB / 388.3 MB, free: 5.695 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.889e-05/0.3, allocations: 12.45 kB / 388.3 MB, free: 5.691 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001397/0.3001, allocations: 66.59 kB / 388.4 MB, free: 5.641 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.881e-05/0.3002, allocations: 71.83 kB / 388.5 MB, free: 5.637 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002833/0.303, allocations: 1.677 MB / 390.2 MB, free: 5.047 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009226/0.3123, allocations: 7.095 MB / 397.3 MB, free: 15.59 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008939/0.3132, allocations: 473.3 kB / 397.7 MB, free: 15.37 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004526/0.3137, allocations: 277.4 kB / 398 MB, free: 15.24 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002298/0.3139, allocations: 114.4 kB / 398.1 MB, free: 15.14 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.859e-05/0.314, allocations: 45.86 kB / 398.1 MB, free: 15.09 MB / 318.1 MB Notification: Performance of pre-optimization done (n=48): time 2.164e-06/0.314, allocations: 0 / 398.1 MB, free: 15.09 MB / 318.1 MB Notification: Performance of matching and sorting (n=63): time 0.007508/0.3215, allocations: 3.028 MB / 401.2 MB, free: 13.36 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.949e-05/0.3216, allocations: 56.97 kB / 401.2 MB, free: 13.29 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002689/0.3243, allocations: 1.632 MB / 402.9 MB, free: 12.07 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001115/0.3244, allocations: 41.7 kB / 402.9 MB, free: 12.03 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008858/0.3253, allocations: 1.03 MB / 403.9 MB, free: 11 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002534/0.3256, allocations: 237.7 kB / 404.2 MB, free: 10.77 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000462/0.326, allocations: 319.1 kB / 404.5 MB, free: 10.45 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001517/0.3262, allocations: 301.1 kB / 404.8 MB, free: 10.15 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009644/0.3272, allocations: 0.5231 MB / 405.3 MB, free: 9.625 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001757/0.3289, allocations: 1.461 MB / 406.8 MB, free: 7.707 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00289/0.3318, allocations: 2.133 MB / 408.9 MB, free: 5.129 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-05/0.3319, allocations: 12 kB / 408.9 MB, free: 5.117 MB / 318.1 MB Notification: Performance of matching and sorting (n=208) (initialization): time 0.004509/0.3364, allocations: 2.156 MB / 411.1 MB, free: 2.941 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.547e-05/0.3365, allocations: 23.94 kB / 411.1 MB, free: 2.918 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.959e-05/0.3365, allocations: 32 kB / 411.1 MB, free: 2.887 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005916/0.3371, allocations: 235.1 kB / 411.3 MB, free: 2.648 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001252/0.3384, allocations: 395.3 kB / 411.7 MB, free: 2.262 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002027/0.3404, allocations: 1.847 MB / 413.6 MB, free: 268 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001681/0.3421, allocations: 143.3 kB / 413.7 MB, free: 124 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001618/0.3423, allocations: 99.94 kB / 413.8 MB, free: 24 kB / 318.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.001086/0.3434, allocations: 0.5906 MB / 414.4 MB, free: 15.42 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003579/0.3437, allocations: 154.1 kB / 414.5 MB, free: 15.27 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002178/0.3459, allocations: 1.094 MB / 415.6 MB, free: 14.15 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.565e-06/0.346, allocations: 4 kB / 415.6 MB, free: 14.15 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.773e-06/0.346, allocations: 4 kB / 415.6 MB, free: 14.14 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.886e-06/0.346, allocations: 4.125 kB / 415.7 MB, free: 14.14 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005305/0.3513, allocations: 2.772 MB / 418.4 MB, free: 11.29 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.35e-06/0.3513, allocations: 0 / 418.4 MB, free: 11.29 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005476/0.3519, allocations: 127.8 kB / 418.6 MB, free: 11.16 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004755/0.3524, allocations: 169.5 kB / 418.7 MB, free: 10.99 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.412e-05/0.3524, allocations: 15.94 kB / 418.7 MB, free: 10.97 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001935/0.3544, allocations: 1.781 MB / 420.5 MB, free: 9.059 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/0.3544, allocations: 3.938 kB / 420.5 MB, free: 9.055 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002952/0.3573, allocations: 1.638 MB / 422.2 MB, free: 7.375 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008586/0.3582, allocations: 295.2 kB / 422.4 MB, free: 7.066 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002011/0.3584, allocations: 12 kB / 422.5 MB, free: 7.055 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006909/0.3591, allocations: 55.94 kB / 422.5 MB, free: 7 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001419/0.3593, allocations: 52.44 kB / 422.6 MB, free: 6.949 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.341e-05/0.3593, allocations: 19.98 kB / 422.6 MB, free: 6.93 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.001857/0.3612, allocations: 1.086 MB / 423.7 MB, free: 5.848 MB / 334.1 MB Notification: Performance of sort global known variables: time 2.71e-07/0.3612, allocations: 0 / 423.7 MB, free: 5.848 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.001983/0.3632, allocations: 360 kB / 424 MB, free: 5.496 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.0003465/0.3636, allocations: 161.5 kB / 424.2 MB, free: 5.328 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.003479/0.367, allocations: 1.764 MB / 425.9 MB, free: 3.512 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 7.304e-06/0.3671, allocations: 4 kB / 425.9 MB, free: 3.508 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001205/0.3683, allocations: 0.7635 MB / 426.7 MB, free: 2.691 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002201/0.3705, allocations: 406.8 kB / 427.1 MB, free: 2.305 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006124/0.3766, allocations: 3.695 MB / 430.8 MB, free: 14.56 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001437/0.3781, allocations: 1.453 MB / 432.3 MB, free: 13.08 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004915/0.3786, allocations: 115.4 kB / 432.4 MB, free: 12.97 MB / 350.1 MB Notification: Performance of SimCode: time 1.142e-06/0.3786, allocations: 0 / 432.4 MB, free: 12.97 MB / 350.1 MB Notification: Performance of Templates: time 0.06261/0.4413, allocations: 47.27 MB / 479.6 MB, free: 13.79 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