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.001283/0.001283, allocations: 121.7 kB / 17.83 MB, free: 5.051 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001256/0.001256, allocations: 205.8 kB / 18.79 MB, free: 4.102 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.468/1.468, allocations: 230.4 MB / 250 MB, free: 9.023 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.001909/0.001909, allocations: 64.06 kB / 367.4 MB, free: 7.012 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2485/0.2504, allocations: 53.31 MB / 420.7 MB, free: 8.332 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad): time 0.01194/0.2623, allocations: 9.15 MB / 429.8 MB, free: 15.14 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006218/0.2685, allocations: 3.182 MB / 433 MB, free: 11.95 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008682/0.2694, allocations: 43.81 kB / 433 MB, free: 11.91 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001742/0.2711, allocations: 0.7339 MB / 433.8 MB, free: 11.17 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00201/0.2731, allocations: 0.7574 MB / 434.5 MB, free: 10.41 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006804/0.2738, allocations: 315.5 kB / 434.8 MB, free: 10.1 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00239/0.2762, allocations: 2.144 MB / 437 MB, free: 7.945 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001389/0.2776, allocations: 1.02 MB / 438 MB, free: 6.871 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001331/0.2789, allocations: 0.9304 MB / 438.9 MB, free: 5.938 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001614/0.2805, allocations: 1.175 MB / 440.1 MB, free: 4.758 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003207/0.2809, allocations: 232 kB / 440.3 MB, free: 4.531 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006267/0.2815, allocations: 331.8 kB / 440.7 MB, free: 4.207 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007042/0.2822, allocations: 0.6894 MB / 441.3 MB, free: 3.516 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001268/0.2835, allocations: 1.093 MB / 442.4 MB, free: 2.418 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003624/0.2871, allocations: 3.156 MB / 445.6 MB, free: 15.25 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.967e-06/0.2871, allocations: 0 / 445.6 MB, free: 15.25 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.464e-06/0.2871, allocations: 0 / 445.6 MB, free: 15.25 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.15e-05/0.2872, allocations: 0 / 445.6 MB, free: 15.25 MB / 366.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.004831/0.292, allocations: 2.349 MB / 447.9 MB, free: 12.84 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.262e-05/0.292, allocations: 8.031 kB / 448 MB, free: 12.83 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008164/0.2928, allocations: 247.5 kB / 448.2 MB, free: 12.59 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002389/0.2952, allocations: 1.244 MB / 449.4 MB, free: 11.29 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001069/0.2953, allocations: 115.5 kB / 449.6 MB, free: 11.18 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002541/0.2956, allocations: 159.9 kB / 449.7 MB, free: 11.02 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003507/0.2991, allocations: 2.029 MB / 451.7 MB, free: 8.938 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.135e-05/0.2992, allocations: 7.953 kB / 451.7 MB, free: 8.93 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001545/0.2993, allocations: 60 kB / 451.8 MB, free: 8.871 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001074/0.2994, allocations: 82.92 kB / 451.9 MB, free: 8.789 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003014/0.3024, allocations: 1.674 MB / 453.6 MB, free: 7.109 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01091/0.3133, allocations: 7.063 MB / 460.6 MB, free: 15.7 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009407/0.3143, allocations: 463.7 kB / 461.1 MB, free: 15.25 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004715/0.3147, allocations: 270 kB / 461.3 MB, free: 14.98 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00024/0.315, allocations: 113.5 kB / 461.4 MB, free: 14.85 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.384e-05/0.315, allocations: 39 kB / 461.5 MB, free: 14.8 MB / 382.1 MB Notification: Performance of pre-optimization done (n=48): time 2.835e-06/0.315, allocations: 0 / 461.5 MB, free: 14.8 MB / 382.1 MB Notification: Performance of matching and sorting (n=63): time 0.007256/0.3223, allocations: 3.06 MB / 464.5 MB, free: 11.68 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.351e-05/0.3223, allocations: 63.91 kB / 464.6 MB, free: 11.61 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002465/0.3248, allocations: 1.632 MB / 466.2 MB, free: 9.965 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.102e-05/0.3249, allocations: 33.7 kB / 466.3 MB, free: 9.926 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008388/0.3257, allocations: 1.068 MB / 467.3 MB, free: 8.848 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002162/0.3259, allocations: 250 kB / 467.6 MB, free: 8.602 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004676/0.3264, allocations: 323.3 kB / 467.9 MB, free: 8.281 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001317/0.3265, allocations: 301.1 kB / 468.2 MB, free: 7.984 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009253/0.3274, allocations: 0.5192 MB / 468.7 MB, free: 7.465 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001669/0.3291, allocations: 1.458 MB / 470.2 MB, free: 5.547 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002805/0.3319, allocations: 2.137 MB / 472.3 MB, free: 2.949 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.478e-05/0.3319, allocations: 8 kB / 472.3 MB, free: 2.941 MB / 382.1 MB Notification: Performance of matching and sorting (n=208) (initialization): time 0.003894/0.3358, allocations: 2.168 MB / 474.5 MB, free: 0.7539 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.83e-05/0.3359, allocations: 20.94 kB / 474.5 MB, free: 0.7344 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.835e-05/0.3359, allocations: 32 kB / 474.5 MB, free: 0.7031 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006139/0.3365, allocations: 226.4 kB / 474.8 MB, free: 484 kB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00121/0.3377, allocations: 399.2 kB / 475.1 MB, free: 84 kB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002039/0.3398, allocations: 1.84 MB / 477 MB, free: 14.1 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001449/0.3412, allocations: 147.7 kB / 477.1 MB, free: 13.95 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001363/0.3413, allocations: 96 kB / 477.2 MB, free: 13.86 MB / 398.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.0009455/0.3423, allocations: 0.5944 MB / 477.8 MB, free: 13.25 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002751/0.3426, allocations: 159 kB / 478 MB, free: 13.1 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00212/0.3447, allocations: 1.094 MB / 479.1 MB, free: 11.98 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.325e-06/0.3447, allocations: 4 kB / 479.1 MB, free: 11.98 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.333e-06/0.3447, allocations: 11.94 kB / 479.1 MB, free: 11.97 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.794e-06/0.3447, allocations: 3.984 kB / 479.1 MB, free: 11.96 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004851/0.3496, allocations: 2.752 MB / 481.8 MB, free: 9.121 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.96e-06/0.3496, allocations: 0 / 481.8 MB, free: 9.121 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005377/0.3501, allocations: 123.8 kB / 482 MB, free: 9 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004761/0.3506, allocations: 162.6 kB / 482.1 MB, free: 8.832 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.65e-05/0.3506, allocations: 19.98 kB / 482.1 MB, free: 8.812 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001797/0.3524, allocations: 1.781 MB / 483.9 MB, free: 6.887 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.459e-06/0.3524, allocations: 3.938 kB / 483.9 MB, free: 6.883 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002853/0.3553, allocations: 1.644 MB / 485.6 MB, free: 5.199 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006583/0.3559, allocations: 311.9 kB / 485.9 MB, free: 4.875 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001807/0.3561, allocations: 12 kB / 485.9 MB, free: 4.863 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006835/0.3568, allocations: 47.94 kB / 485.9 MB, free: 4.816 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001594/0.357, allocations: 52.44 kB / 486 MB, free: 4.766 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.812e-05/0.357, allocations: 16 kB / 486 MB, free: 4.75 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001785/0.3588, allocations: 1.083 MB / 487.1 MB, free: 3.672 MB / 398.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3588, allocations: 0 / 487.1 MB, free: 3.672 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001514/0.3603, allocations: 360 kB / 487.4 MB, free: 3.32 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.0003501/0.3607, allocations: 175 kB / 487.6 MB, free: 3.141 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.002897/0.3635, allocations: 1.572 MB / 489.2 MB, free: 1.52 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.847e-06/0.3636, allocations: 0 / 489.2 MB, free: 1.52 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001174/0.3647, allocations: 0.7323 MB / 489.9 MB, free: 0.7344 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002047/0.3668, allocations: 413.8 kB / 490.3 MB, free: 348 kB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005273/0.372, allocations: 3.008 MB / 493.3 MB, free: 13.28 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001322/0.3734, allocations: 1.461 MB / 494.8 MB, free: 11.79 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.001187/0.3746, allocations: 354 kB / 495.1 MB, free: 11.43 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000298/0.3749, allocations: 111.4 kB / 495.2 MB, free: 11.33 MB / 414.1 MB Notification: Performance of SimCode: time 1.693e-06/0.3749, allocations: 0 / 495.2 MB, free: 11.33 MB / 414.1 MB Notification: Performance of Templates: time 0.04002/0.4149, allocations: 20.33 MB / 0.5035 GB, free: 7.219 MB / 430.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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/SynchronousMachines/SMPM_NoLoad/SMPM_NoLoad.csv","/var/lib/jenkins/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