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.0008629/0.0008629, allocations: 101.6 kB / 17 MB, free: 6.418 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001034/0.001034, allocations: 191.5 kB / 17.9 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.475/1.475, allocations: 227.7 MB / 246.4 MB, free: 9.793 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002212/0.0002216, allocations: 4 kB / 307.1 MB, free: 0.9297 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1021/0.1023, allocations: 51.52 MB / 358.6 MB, free: 13.41 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad): time 0.009332/0.1117, allocations: 8.061 MB / 366.7 MB, free: 5.312 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.006092/0.1179, allocations: 2.989 MB / 369.7 MB, free: 2.309 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00144/0.1193, allocations: 35.88 kB / 369.7 MB, free: 2.273 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0018/0.1212, allocations: 0.5476 MB / 370.3 MB, free: 1.723 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00232/0.1235, allocations: 0.606 MB / 370.9 MB, free: 1.113 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008532/0.1244, allocations: 207.6 kB / 371.1 MB, free: 0.9102 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.2114/0.3358, allocations: 2.185 MB / 373.3 MB, free: 9.93 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001691/0.3376, allocations: 0.9759 MB / 374.2 MB, free: 9.742 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001582/0.3391, allocations: 0.7268 MB / 375 MB, free: 9.742 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001455/0.3406, allocations: 0.9584 MB / 375.9 MB, free: 9.742 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001996/0.3408, allocations: 109 kB / 376 MB, free: 9.738 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005458/0.3414, allocations: 175.2 kB / 376.2 MB, free: 9.738 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000688/0.3421, allocations: 0.5302 MB / 376.7 MB, free: 9.727 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004362/0.3425, allocations: 399.3 kB / 377.1 MB, free: 9.633 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003353/0.3459, allocations: 2.511 MB / 379.6 MB, free: 9.492 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.442e-06/0.3459, allocations: 4 kB / 379.6 MB, free: 9.488 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.905e-06/0.3459, allocations: 1.188 kB / 379.6 MB, free: 9.488 MB / 302.1 MB Notification: Performance of Transformations before backend: time 9.337e-05/0.346, allocations: 1.422 kB / 379.6 MB, free: 9.488 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.004697/0.3507, allocations: 1.989 MB / 381.6 MB, free: 8.492 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.118e-05/0.3508, allocations: 8.781 kB / 381.6 MB, free: 8.492 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007079/0.3515, allocations: 234.5 kB / 381.9 MB, free: 8.383 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001947/0.3534, allocations: 1.157 MB / 383 MB, free: 7.98 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001092/0.3536, allocations: 118.2 kB / 383.1 MB, free: 7.973 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002807/0.3538, allocations: 161 kB / 383.3 MB, free: 7.965 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003817/0.3577, allocations: 2.021 MB / 385.3 MB, free: 7.785 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.168e-05/0.3577, allocations: 3.156 kB / 385.3 MB, free: 7.785 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001662/0.3579, allocations: 66.41 kB / 385.4 MB, free: 7.785 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001269/0.358, allocations: 76.14 kB / 385.5 MB, free: 7.781 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003091/0.3611, allocations: 1.678 MB / 387.1 MB, free: 7.602 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009168/0.3703, allocations: 7.128 MB / 394.3 MB, free: 2.715 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008409/0.3712, allocations: 481.2 kB / 394.7 MB, free: 2.484 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004172/0.3716, allocations: 278.6 kB / 395 MB, free: 2.355 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001982/0.3718, allocations: 113.4 kB / 395.1 MB, free: 2.254 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.172e-05/0.3719, allocations: 41.16 kB / 395.2 MB, free: 2.207 MB / 302.1 MB Notification: Performance of pre-optimization done (n=48): time 2.816e-06/0.3719, allocations: 0 / 395.2 MB, free: 2.207 MB / 302.1 MB Notification: Performance of matching and sorting (n=63): time 0.007267/0.3791, allocations: 3.141 MB / 398.3 MB, free: 472 kB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.482e-05/0.3792, allocations: 62.39 kB / 398.4 MB, free: 404 kB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00224/0.3815, allocations: 1.627 MB / 400 MB, free: 15.5 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 5.076e-05/0.3815, allocations: 37.02 kB / 400 MB, free: 15.46 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007145/0.3822, allocations: 1.03 MB / 401.1 MB, free: 14.55 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001758/0.3824, allocations: 234.5 kB / 401.3 MB, free: 14.36 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.878e-05/0.3825, allocations: 34.72 kB / 401.3 MB, free: 14.33 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001436/0.3826, allocations: 372 kB / 401.7 MB, free: 13.98 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009067/0.3836, allocations: 0.5294 MB / 402.2 MB, free: 13.72 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001416/0.385, allocations: 1.453 MB / 403.7 MB, free: 12 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00119/0.3862, allocations: 0.816 MB / 404.5 MB, free: 11.18 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.328e-05/0.3862, allocations: 11.94 kB / 404.5 MB, free: 11.17 MB / 318.1 MB Notification: Performance of matching and sorting (n=208) (initialization): time 0.003494/0.3897, allocations: 2.164 MB / 406.7 MB, free: 8.992 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.442e-05/0.3898, allocations: 27.98 kB / 406.7 MB, free: 8.965 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.238e-05/0.3898, allocations: 32 kB / 406.7 MB, free: 8.934 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005644/0.3904, allocations: 226.4 kB / 406.9 MB, free: 8.703 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001192/0.3916, allocations: 409.2 kB / 407.3 MB, free: 8.305 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001613/0.3932, allocations: 1.721 MB / 409.1 MB, free: 6.445 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001471/0.3947, allocations: 147.4 kB / 409.2 MB, free: 6.301 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000136/0.3948, allocations: 99.98 kB / 409.3 MB, free: 6.203 MB / 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 (linear and non-linear blocks): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001/0.3958, allocations: 0.5944 MB / 409.9 MB, free: 5.598 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00023/0.3961, allocations: 154 kB / 410 MB, free: 5.445 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002003/0.3981, allocations: 1.106 MB / 411.1 MB, free: 4.324 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.382e-06/0.3981, allocations: 4 kB / 411.1 MB, free: 4.32 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.961e-06/0.3981, allocations: 4 kB / 411.2 MB, free: 4.316 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.045e-06/0.3981, allocations: 7.984 kB / 411.2 MB, free: 4.309 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00462/0.4028, allocations: 2.775 MB / 413.9 MB, free: 1.453 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.389e-06/0.4028, allocations: 0 / 413.9 MB, free: 1.453 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005201/0.4033, allocations: 127.8 kB / 414.1 MB, free: 1.328 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004225/0.4037, allocations: 170.6 kB / 414.2 MB, free: 1.152 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.935e-05/0.4038, allocations: 12 kB / 414.2 MB, free: 1.141 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001502/0.4053, allocations: 1.652 MB / 415.9 MB, free: 15.36 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.338e-06/0.4053, allocations: 3.984 kB / 415.9 MB, free: 15.35 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002586/0.4079, allocations: 1.662 MB / 417.6 MB, free: 13.64 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006108/0.4085, allocations: 299.2 kB / 417.8 MB, free: 13.33 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000287/0.4088, allocations: 20.02 kB / 417.9 MB, free: 13.31 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000741/0.4096, allocations: 55.94 kB / 417.9 MB, free: 13.26 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001235/0.4097, allocations: 48.5 kB / 418 MB, free: 13.21 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.175e-05/0.4098, allocations: 16 kB / 418 MB, free: 13.2 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.001821/0.4116, allocations: 1.075 MB / 419.1 MB, free: 12.12 MB / 334.1 MB Notification: Performance of sort global known variables: time 2.21e-07/0.4116, allocations: 0 / 419.1 MB, free: 12.12 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.00178/0.4134, allocations: 367.9 kB / 419.4 MB, free: 11.77 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 (linear and non-linear blocks): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003015/0.4137, allocations: 130.7 kB / 419.5 MB, free: 11.63 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.002958/0.4167, allocations: 1.627 MB / 421.2 MB, free: 9.957 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.198e-06/0.4167, allocations: 2.188 kB / 421.2 MB, free: 9.957 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001172/0.4179, allocations: 0.7714 MB / 421.9 MB, free: 9.129 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002197/0.4201, allocations: 386.9 kB / 422.3 MB, free: 8.754 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006339/0.4264, allocations: 3.502 MB / 425.8 MB, free: 5.207 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001508/0.428, allocations: 1.482 MB / 427.3 MB, free: 3.695 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.001221/0.4292, allocations: 350 kB / 427.7 MB, free: 3.348 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003234/0.4295, allocations: 115.4 kB / 427.8 MB, free: 3.234 MB / 334.1 MB Notification: Performance of SimCode: time 7.91e-07/0.4295, allocations: 0 / 427.8 MB, free: 3.234 MB / 334.1 MB Notification: Performance of Templates: time 0.03448/0.464, allocations: 18.1 MB / 445.9 MB, free: 1.359 MB / 350.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