Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_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 trunk/package.mo", uses=false) 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_NoLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=6400,variableFilter="time|smpm.is.1.|smpm.is.2.|constantSpeed.phi",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001648/0.001648, allocations: 103.7 kB / 17.63 MB, free: 5.52 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002074/0.002074, allocations: 204.6 kB / 18.58 MB, free: 4.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.34/1.34, allocations: 227.4 MB / 246.8 MB, free: 10.64 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001166/0.001166, allocations: 60.44 kB / 306.9 MB, free: 0.6445 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0995/0.1007, allocations: 50.53 MB / 357.5 MB, free: 14.11 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad): time 0.01266/0.1134, allocations: 9.109 MB / 366.6 MB, free: 4.957 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.00686/0.1203, allocations: 3.186 MB / 369.8 MB, free: 1.754 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000871/0.1212, allocations: 43.81 kB / 369.8 MB, free: 1.711 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001694/0.1229, allocations: 0.6678 MB / 370.5 MB, free: 1.039 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001778/0.1247, allocations: 0.7105 MB / 371.2 MB, free: 332 kB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006469/0.1254, allocations: 323.5 kB / 371.5 MB, free: 8 kB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.1965/0.3219, allocations: 2.12 MB / 373.6 MB, free: 10.64 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001794/0.3237, allocations: 1.428 MB / 375.1 MB, free: 10.38 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001447/0.3252, allocations: 0.9313 MB / 376 MB, free: 10.26 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001394/0.3266, allocations: 1.14 MB / 377.1 MB, free: 10.07 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003528/0.3269, allocations: 232.3 kB / 377.4 MB, free: 10.07 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006609/0.3276, allocations: 330.2 kB / 377.7 MB, free: 10.07 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006273/0.3282, allocations: 0.6782 MB / 378.4 MB, free: 9.996 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000949/0.3292, allocations: 1.095 MB / 379.4 MB, free: 9.598 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003294/0.3325, allocations: 3.102 MB / 382.6 MB, free: 8.578 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.1e-06/0.3325, allocations: 3.375 kB / 382.6 MB, free: 8.578 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.254e-06/0.3325, allocations: 1.094 kB / 382.6 MB, free: 8.578 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.769e-05/0.3326, allocations: 0 / 382.6 MB, free: 8.578 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.004835/0.3374, allocations: 2.303 MB / 384.9 MB, free: 7.219 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.768e-05/0.3375, allocations: 10.31 kB / 384.9 MB, free: 7.219 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007467/0.3383, allocations: 235 kB / 385.1 MB, free: 7.113 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001687/0.34, allocations: 1.197 MB / 386.3 MB, free: 6.426 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001065/0.3401, allocations: 117 kB / 386.4 MB, free: 6.375 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002264/0.3403, allocations: 152.9 kB / 386.6 MB, free: 6.324 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003423/0.3437, allocations: 2.032 MB / 388.6 MB, free: 5.48 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.976e-05/0.3438, allocations: 14.34 kB / 388.6 MB, free: 5.473 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001558/0.344, allocations: 62.34 kB / 388.7 MB, free: 5.426 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001205/0.3441, allocations: 78.53 kB / 388.7 MB, free: 5.418 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002815/0.3469, allocations: 1.673 MB / 390.4 MB, free: 4.832 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008211/0.3551, allocations: 7.101 MB / 397.5 MB, free: 15.38 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008378/0.356, allocations: 469 kB / 398 MB, free: 15.15 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004213/0.3564, allocations: 282.2 kB / 398.2 MB, free: 15.02 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002253/0.3567, allocations: 117.5 kB / 398.4 MB, free: 14.91 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.755e-05/0.3567, allocations: 33.84 kB / 398.4 MB, free: 14.88 MB / 318.1 MB Notification: Performance of pre-optimization done (n=48): time 1.914e-06/0.3567, allocations: 4 kB / 398.4 MB, free: 14.87 MB / 318.1 MB Notification: Performance of matching and sorting (n=63): time 0.00639/0.3631, allocations: 3.035 MB / 401.4 MB, free: 13.06 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.448e-05/0.3632, allocations: 59.97 kB / 401.5 MB, free: 12.99 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002112/0.3653, allocations: 1.624 MB / 403.1 MB, free: 11.36 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 5.686e-05/0.3653, allocations: 37.7 kB / 403.2 MB, free: 11.32 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007303/0.3661, allocations: 1.036 MB / 404.2 MB, free: 10.28 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001983/0.3663, allocations: 232.8 kB / 404.4 MB, free: 10.05 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004674/0.3668, allocations: 326.1 kB / 404.7 MB, free: 9.727 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001178/0.3669, allocations: 305.1 kB / 405 MB, free: 9.426 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000906/0.3678, allocations: 0.5153 MB / 405.5 MB, free: 8.91 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001525/0.3693, allocations: 1.456 MB / 407 MB, free: 7.008 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002519/0.3719, allocations: 2.139 MB / 409.1 MB, free: 4.5 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.124e-05/0.3719, allocations: 8 kB / 409.2 MB, free: 4.492 MB / 318.1 MB Notification: Performance of matching and sorting (n=208) (initialization): time 0.003554/0.3755, allocations: 2.16 MB / 411.3 MB, free: 2.312 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.328e-05/0.3755, allocations: 20 kB / 411.3 MB, free: 2.293 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.471e-05/0.3755, allocations: 32 kB / 411.4 MB, free: 2.262 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000581/0.3761, allocations: 230.9 kB / 411.6 MB, free: 2.027 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001157/0.3773, allocations: 395.3 kB / 412 MB, free: 1.641 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001813/0.3791, allocations: 1.851 MB / 413.8 MB, free: 15.64 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001471/0.3806, allocations: 151.3 kB / 414 MB, free: 15.49 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001302/0.3807, allocations: 92 kB / 414.1 MB, free: 15.4 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.000888/0.3816, allocations: 0.5938 MB / 414.7 MB, free: 14.8 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002407/0.3819, allocations: 158.1 kB / 414.8 MB, free: 14.64 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001965/0.3839, allocations: 1.086 MB / 415.9 MB, free: 13.54 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.813e-06/0.3839, allocations: 12 kB / 415.9 MB, free: 13.53 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.3839, allocations: 0 / 415.9 MB, free: 13.53 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.181e-05/0.3839, allocations: 3.984 kB / 415.9 MB, free: 13.52 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004543/0.3885, allocations: 2.772 MB / 418.7 MB, free: 10.67 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.751e-06/0.3885, allocations: 8.031 kB / 418.7 MB, free: 10.66 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005108/0.389, allocations: 123.8 kB / 418.8 MB, free: 10.54 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004427/0.3894, allocations: 170.4 kB / 419 MB, free: 10.37 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.088e-05/0.3895, allocations: 15.98 kB / 419 MB, free: 10.35 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001671/0.3912, allocations: 1.777 MB / 420.8 MB, free: 8.438 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.587e-06/0.3912, allocations: 4.031 kB / 420.8 MB, free: 8.434 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002635/0.3938, allocations: 1.629 MB / 422.4 MB, free: 6.766 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005641/0.3944, allocations: 307.2 kB / 422.7 MB, free: 6.445 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002132/0.3946, allocations: 12 kB / 422.7 MB, free: 6.434 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006623/0.3953, allocations: 51.94 kB / 422.8 MB, free: 6.383 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001292/0.3954, allocations: 52.44 kB / 422.8 MB, free: 6.332 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.364e-05/0.3955, allocations: 27.94 kB / 422.8 MB, free: 6.305 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.001535/0.397, allocations: 1.079 MB / 423.9 MB, free: 5.23 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.397, allocations: 0 / 423.9 MB, free: 5.23 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.00149/0.3985, allocations: 360 kB / 424.3 MB, free: 4.879 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.0003513/0.3989, allocations: 170.5 kB / 424.4 MB, free: 4.703 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.003077/0.402, allocations: 1.764 MB / 426.2 MB, free: 2.887 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 8.486e-06/0.402, allocations: 4 kB / 426.2 MB, free: 2.883 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001136/0.4032, allocations: 0.7674 MB / 427 MB, free: 2.062 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001715/0.4049, allocations: 400.9 kB / 427.4 MB, free: 1.684 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005237/0.4101, allocations: 2.997 MB / 430.4 MB, free: 14.64 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001557/0.4117, allocations: 1.469 MB / 431.8 MB, free: 13.15 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.001225/0.4129, allocations: 354 kB / 432.2 MB, free: 12.8 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003039/0.4133, allocations: 115.4 kB / 432.3 MB, free: 12.68 MB / 350.1 MB Notification: Performance of SimCode: time 8.02e-07/0.4133, allocations: 0 / 432.3 MB, free: 12.68 MB / 350.1 MB Notification: Performance of Templates: time 0.03577/0.4491, allocations: 19.61 MB / 451.9 MB, free: 9.301 MB / 366.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad.makefile (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad.sim & ./Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/SynchronousMachines/SMPM_NoLoad/SMPM_NoLoad.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches