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.001054/0.001054, allocations: 117.2 kB / 17.79 MB, free: 5.266 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001182/0.001182, allocations: 200.6 kB / 18.73 MB, free: 4.328 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.348/1.348, allocations: 227.4 MB / 246.9 MB, free: 10.47 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001143/0.001143, allocations: 59.91 kB / 358.7 MB, free: 12.92 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2945/0.2957, allocations: 50.54 MB / 409.2 MB, free: 1.582 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad): time 0.009208/0.3049, allocations: 9.11 MB / 418.4 MB, free: 8.43 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.005218/0.3102, allocations: 3.178 MB / 421.5 MB, free: 5.242 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006493/0.3109, allocations: 47.75 kB / 421.6 MB, free: 5.195 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001813/0.3127, allocations: 0.7185 MB / 422.3 MB, free: 4.473 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001832/0.3145, allocations: 0.7574 MB / 423.1 MB, free: 3.711 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005924/0.3152, allocations: 319.5 kB / 423.4 MB, free: 3.398 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001842/0.317, allocations: 2.14 MB / 425.5 MB, free: 1.246 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001478/0.3185, allocations: 1.433 MB / 426.9 MB, free: 15.76 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009296/0.3194, allocations: 0.9343 MB / 427.9 MB, free: 14.82 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001192/0.3206, allocations: 1.144 MB / 429 MB, free: 13.67 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002721/0.3209, allocations: 232 kB / 429.3 MB, free: 13.45 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005243/0.3214, allocations: 323.8 kB / 429.6 MB, free: 13.13 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006137/0.3221, allocations: 0.6817 MB / 430.2 MB, free: 12.45 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009239/0.323, allocations: 1.093 MB / 431.3 MB, free: 11.35 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002578/0.3256, allocations: 3.136 MB / 434.5 MB, free: 8.203 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.07e-06/0.3256, allocations: 0 / 434.5 MB, free: 8.203 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.472e-06/0.3256, allocations: 0 / 434.5 MB, free: 8.203 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.598e-05/0.3257, allocations: 8 kB / 434.5 MB, free: 8.195 MB / 350.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.003741/0.3294, allocations: 2.304 MB / 436.8 MB, free: 5.832 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.11e-05/0.3295, allocations: 12.03 kB / 436.8 MB, free: 5.82 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006238/0.3301, allocations: 230.4 kB / 437 MB, free: 5.594 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001804/0.3319, allocations: 1.228 MB / 438.3 MB, free: 4.309 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.222e-05/0.332, allocations: 123.4 kB / 438.4 MB, free: 4.188 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002259/0.3322, allocations: 159.8 kB / 438.5 MB, free: 4.031 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002945/0.3352, allocations: 2.029 MB / 440.6 MB, free: 1.949 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.609e-05/0.3352, allocations: 7.906 kB / 440.6 MB, free: 1.941 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001334/0.3354, allocations: 60 kB / 440.6 MB, free: 1.883 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.64e-05/0.3355, allocations: 78.92 kB / 440.7 MB, free: 1.805 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002686/0.3382, allocations: 1.682 MB / 442.4 MB, free: 120 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008986/0.3472, allocations: 7.03 MB / 449.4 MB, free: 8.746 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000855/0.348, allocations: 475.2 kB / 449.9 MB, free: 8.277 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004254/0.3485, allocations: 282.6 kB / 450.2 MB, free: 8 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002234/0.3487, allocations: 121.5 kB / 450.3 MB, free: 7.863 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.351e-05/0.3488, allocations: 46.94 kB / 450.3 MB, free: 7.809 MB / 366.1 MB Notification: Performance of pre-optimization done (n=48): time 2.305e-06/0.3488, allocations: 0 / 450.3 MB, free: 7.809 MB / 366.1 MB Notification: Performance of matching and sorting (n=63): time 0.006347/0.3551, allocations: 3.033 MB / 453.4 MB, free: 4.703 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.348e-05/0.3552, allocations: 59.97 kB / 453.4 MB, free: 4.633 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002054/0.3572, allocations: 1.624 MB / 455 MB, free: 3 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.384e-05/0.3573, allocations: 37.7 kB / 455.1 MB, free: 2.957 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007422/0.358, allocations: 1.034 MB / 456.1 MB, free: 1.91 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002029/0.3583, allocations: 236.8 kB / 456.3 MB, free: 1.676 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004113/0.3587, allocations: 323 kB / 456.7 MB, free: 1.355 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001095/0.3588, allocations: 309.1 kB / 457 MB, free: 1.051 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008495/0.3596, allocations: 0.5231 MB / 457.5 MB, free: 0.5273 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001492/0.3611, allocations: 1.454 MB / 458.9 MB, free: 14.61 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002328/0.3635, allocations: 2.137 MB / 461.1 MB, free: 12.02 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.258e-05/0.3635, allocations: 8 kB / 461.1 MB, free: 12.01 MB / 382.1 MB Notification: Performance of matching and sorting (n=208) (initialization): time 0.003576/0.3671, allocations: 2.164 MB / 463.2 MB, free: 9.824 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.147e-05/0.3671, allocations: 20 kB / 463.3 MB, free: 9.805 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.814e-05/0.3672, allocations: 32 kB / 463.3 MB, free: 9.773 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005597/0.3678, allocations: 222.4 kB / 463.5 MB, free: 9.547 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001117/0.3689, allocations: 395.4 kB / 463.9 MB, free: 9.16 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001682/0.3706, allocations: 1.847 MB / 465.7 MB, free: 7.172 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001232/0.3718, allocations: 147.3 kB / 465.9 MB, free: 7.027 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000118/0.372, allocations: 95.94 kB / 466 MB, free: 6.934 MB / 382.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.0008249/0.3728, allocations: 0.5946 MB / 466.6 MB, free: 6.328 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002366/0.373, allocations: 154.1 kB / 466.7 MB, free: 6.176 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001925/0.375, allocations: 1.094 MB / 467.8 MB, free: 5.059 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.857e-06/0.375, allocations: 8 kB / 467.8 MB, free: 5.051 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.446e-06/0.375, allocations: 0 / 467.8 MB, free: 5.051 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.564e-06/0.375, allocations: 3.984 kB / 467.8 MB, free: 5.047 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004339/0.3793, allocations: 2.748 MB / 470.6 MB, free: 2.207 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.499e-06/0.3794, allocations: 0 / 470.6 MB, free: 2.207 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005093/0.3799, allocations: 123.8 kB / 470.7 MB, free: 2.086 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004384/0.3803, allocations: 166.6 kB / 470.9 MB, free: 1.914 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.519e-05/0.3804, allocations: 15.98 kB / 470.9 MB, free: 1.898 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001585/0.382, allocations: 1.789 MB / 472.7 MB, free: 15.96 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.59e-06/0.382, allocations: 7.969 kB / 472.7 MB, free: 15.96 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002565/0.3846, allocations: 1.639 MB / 474.3 MB, free: 14.28 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005466/0.3851, allocations: 299.1 kB / 474.6 MB, free: 13.96 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001514/0.3853, allocations: 12 kB / 474.6 MB, free: 13.95 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006343/0.3859, allocations: 47.94 kB / 474.7 MB, free: 13.91 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001228/0.3861, allocations: 56.5 kB / 474.7 MB, free: 13.85 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.218e-05/0.3861, allocations: 16 kB / 474.7 MB, free: 13.84 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001559/0.3877, allocations: 1.079 MB / 475.8 MB, free: 12.76 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.3877, allocations: 0 / 475.8 MB, free: 12.76 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001466/0.3892, allocations: 360 kB / 476.2 MB, free: 12.41 MB / 398.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.0003539/0.3895, allocations: 174.6 kB / 476.3 MB, free: 12.23 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.002762/0.3923, allocations: 1.615 MB / 478 MB, free: 10.57 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.797e-06/0.3923, allocations: 3.938 kB / 478 MB, free: 10.57 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001101/0.3934, allocations: 0.7635 MB / 478.7 MB, free: 9.75 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001614/0.395, allocations: 411.1 kB / 479.1 MB, free: 9.359 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005104/0.4002, allocations: 2.958 MB / 482.1 MB, free: 6.355 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001266/0.4014, allocations: 1.465 MB / 483.5 MB, free: 4.855 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0009288/0.4024, allocations: 354 kB / 483.9 MB, free: 4.504 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002787/0.4027, allocations: 111.4 kB / 484 MB, free: 4.398 MB / 398.1 MB Notification: Performance of SimCode: time 4.71e-07/0.4027, allocations: 0 / 484 MB, free: 4.398 MB / 398.1 MB Notification: Performance of Templates: time 0.0386/0.4413, allocations: 20.08 MB / 0.4923 GB, free: 0.5039 MB / 414.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