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.001142/0.001142, allocations: 115.7 kB / 18.45 MB, free: 4.633 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001142/0.001142, allocations: 213.9 kB / 19.4 MB, free: 3.688 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.368/1.368, allocations: 227.4 MB / 247.6 MB, free: 10.45 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001139/0.001139, allocations: 67.88 kB / 359.4 MB, free: 12.9 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.231/0.2322, allocations: 50.54 MB / 409.9 MB, free: 1.578 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad): time 0.009458/0.2417, allocations: 9.108 MB / 419 MB, free: 8.426 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004783/0.2465, allocations: 3.17 MB / 422.2 MB, free: 5.246 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005663/0.2471, allocations: 39.88 kB / 422.3 MB, free: 5.207 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001271/0.2484, allocations: 0.6794 MB / 422.9 MB, free: 4.523 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001377/0.2498, allocations: 0.7261 MB / 423.7 MB, free: 3.793 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005339/0.2503, allocations: 307.5 kB / 424 MB, free: 3.492 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.00175/0.2521, allocations: 2.144 MB / 426.1 MB, free: 1.336 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001452/0.2536, allocations: 1.425 MB / 427.5 MB, free: 15.86 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009029/0.2545, allocations: 0.9382 MB / 428.5 MB, free: 14.91 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001205/0.2557, allocations: 1.144 MB / 429.6 MB, free: 13.77 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002772/0.256, allocations: 232 kB / 429.8 MB, free: 13.54 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005377/0.2565, allocations: 323.8 kB / 430.2 MB, free: 13.22 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005729/0.2571, allocations: 0.6855 MB / 430.8 MB, free: 12.54 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008624/0.258, allocations: 1.093 MB / 431.9 MB, free: 11.44 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002448/0.2604, allocations: 3.136 MB / 435.1 MB, free: 8.293 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.528e-06/0.2605, allocations: 0 / 435.1 MB, free: 8.293 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.392e-06/0.2605, allocations: 4 kB / 435.1 MB, free: 8.289 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.52e-05/0.2605, allocations: 0 / 435.1 MB, free: 8.289 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.003665/0.2642, allocations: 2.304 MB / 437.4 MB, free: 5.926 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.442e-05/0.2642, allocations: 16.03 kB / 437.4 MB, free: 5.91 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006037/0.2648, allocations: 230.4 kB / 437.6 MB, free: 5.684 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001696/0.2665, allocations: 1.228 MB / 438.8 MB, free: 4.398 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.443e-05/0.2666, allocations: 119.4 kB / 439 MB, free: 4.281 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002127/0.2668, allocations: 167.8 kB / 439.1 MB, free: 4.117 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002958/0.2698, allocations: 2.021 MB / 441.1 MB, free: 2.043 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.396e-05/0.2699, allocations: 15.89 kB / 441.2 MB, free: 2.027 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001479/0.27, allocations: 64 kB / 441.2 MB, free: 1.965 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.617e-05/0.2701, allocations: 74.94 kB / 441.3 MB, free: 1.891 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002532/0.2726, allocations: 1.678 MB / 443 MB, free: 212 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008072/0.2807, allocations: 7.038 MB / 450 MB, free: 8.828 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000791/0.2815, allocations: 480.4 kB / 450.5 MB, free: 8.352 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004147/0.282, allocations: 274.6 kB / 450.8 MB, free: 8.082 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001952/0.2822, allocations: 121.4 kB / 450.9 MB, free: 7.945 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.158e-05/0.2822, allocations: 39 kB / 450.9 MB, free: 7.898 MB / 366.1 MB Notification: Performance of pre-optimization done (n=48): time 2.134e-06/0.2822, allocations: 4 kB / 450.9 MB, free: 7.895 MB / 366.1 MB Notification: Performance of matching and sorting (n=63): time 0.006109/0.2883, allocations: 3.029 MB / 453.9 MB, free: 4.793 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.324e-05/0.2884, allocations: 59.97 kB / 454 MB, free: 4.723 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001891/0.2903, allocations: 1.632 MB / 455.6 MB, free: 3.082 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.557e-05/0.2903, allocations: 33.7 kB / 455.7 MB, free: 3.043 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006422/0.291, allocations: 1.034 MB / 456.7 MB, free: 1.996 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001699/0.2912, allocations: 236.8 kB / 456.9 MB, free: 1.762 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003782/0.2915, allocations: 323.1 kB / 457.2 MB, free: 1.441 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 8.54e-05/0.2916, allocations: 301.1 kB / 457.5 MB, free: 1.145 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008353/0.2925, allocations: 0.5269 MB / 458.1 MB, free: 0.6172 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001393/0.2939, allocations: 1.45 MB / 459.5 MB, free: 14.71 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002326/0.2962, allocations: 2.137 MB / 461.7 MB, free: 12.11 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.148e-05/0.2962, allocations: 8 kB / 461.7 MB, free: 12.1 MB / 382.1 MB Notification: Performance of matching and sorting (n=208) (initialization): time 0.003318/0.2996, allocations: 2.164 MB / 463.8 MB, free: 9.918 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.471e-05/0.2996, allocations: 20 kB / 463.8 MB, free: 9.898 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.045e-05/0.2996, allocations: 35.94 kB / 463.9 MB, free: 9.863 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005461/0.3002, allocations: 227 kB / 464.1 MB, free: 9.633 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001119/0.3013, allocations: 399.3 kB / 464.5 MB, free: 9.242 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001594/0.3029, allocations: 1.843 MB / 466.3 MB, free: 7.258 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001188/0.3041, allocations: 147.3 kB / 466.5 MB, free: 7.113 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001061/0.3043, allocations: 96 kB / 466.6 MB, free: 7.02 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.0007885/0.3051, allocations: 0.5983 MB / 467.2 MB, free: 6.41 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002131/0.3053, allocations: 150.1 kB / 467.3 MB, free: 6.262 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001867/0.3071, allocations: 1.094 MB / 468.4 MB, free: 5.145 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.692e-06/0.3072, allocations: 8 kB / 468.4 MB, free: 5.137 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.607e-06/0.3072, allocations: 0 / 468.4 MB, free: 5.137 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.744e-06/0.3072, allocations: 3.984 kB / 468.4 MB, free: 5.133 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004023/0.3112, allocations: 2.752 MB / 471.2 MB, free: 2.289 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.657e-06/0.3112, allocations: 4.156 kB / 471.2 MB, free: 2.285 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004888/0.3117, allocations: 123.8 kB / 471.3 MB, free: 2.164 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003961/0.3121, allocations: 162.4 kB / 471.5 MB, free: 1.996 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.779e-05/0.3122, allocations: 12 kB / 471.5 MB, free: 1.984 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001433/0.3136, allocations: 1.785 MB / 473.3 MB, free: 56 kB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.805e-06/0.3136, allocations: 7.969 kB / 473.3 MB, free: 48 kB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002344/0.316, allocations: 1.639 MB / 474.9 MB, free: 14.37 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003899/0.3164, allocations: 295.1 kB / 475.2 MB, free: 14.06 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000183/0.3166, allocations: 12 kB / 475.2 MB, free: 14.05 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006548/0.3172, allocations: 52 kB / 475.3 MB, free: 14 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001189/0.3174, allocations: 52.44 kB / 475.3 MB, free: 13.95 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.084e-05/0.3174, allocations: 19.98 kB / 475.3 MB, free: 13.93 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001384/0.3188, allocations: 1.079 MB / 476.4 MB, free: 12.85 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.21e-07/0.3188, allocations: 0 / 476.4 MB, free: 12.85 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001256/0.3201, allocations: 360 kB / 476.8 MB, free: 12.5 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.0002999/0.3204, allocations: 171 kB / 476.9 MB, free: 12.32 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.002433/0.3228, allocations: 1.611 MB / 478.5 MB, free: 10.66 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.258e-06/0.3229, allocations: 4.062 kB / 478.5 MB, free: 10.66 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001026/0.3239, allocations: 0.763 MB / 479.3 MB, free: 9.844 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001599/0.3255, allocations: 422.1 kB / 479.7 MB, free: 9.445 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004297/0.3298, allocations: 3.01 MB / 482.7 MB, free: 6.383 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001015/0.3308, allocations: 1.449 MB / 484.2 MB, free: 4.898 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000296/0.3311, allocations: 119.4 kB / 484.3 MB, free: 4.785 MB / 398.1 MB Notification: Performance of SimCode: time 2.61e-07/0.3312, allocations: 0 / 484.3 MB, free: 4.785 MB / 398.1 MB Notification: Performance of Templates: time 0.04894/0.3801, allocations: 47.5 MB / 0.5193 GB, free: 5.332 MB / 446.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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/SynchronousMachines/SMPM_NoLoad/SMPM_NoLoad.csv","/var/lib/jenkins1/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