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.001057/0.001057, allocations: 100.1 kB / 16.99 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001227/0.001227, allocations: 200.4 kB / 17.89 MB, free: 5.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.402/1.402, allocations: 227.2 MB / 245.9 MB, free: 10.36 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002399/0.00024, allocations: 7.984 kB / 306.6 MB, free: 1.422 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1105/0.1108, allocations: 51.49 MB / 358.1 MB, free: 13.93 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad): time 0.009123/0.1199, allocations: 7.384 MB / 365.5 MB, free: 6.52 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.007007/0.127, allocations: 3.064 MB / 368.5 MB, free: 3.445 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001631/0.1287, allocations: 35.81 kB / 368.6 MB, free: 3.41 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00197/0.1307, allocations: 0.5792 MB / 369.1 MB, free: 2.828 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002448/0.1331, allocations: 0.6465 MB / 369.8 MB, free: 2.18 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009676/0.1341, allocations: 207.6 kB / 370 MB, free: 1.977 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.003851/0.138, allocations: 1.416 MB / 371.4 MB, free: 0.5586 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.2378/0.3758, allocations: 0.9719 MB / 372.4 MB, free: 9.805 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001557/0.3774, allocations: 0.6668 MB / 373 MB, free: 9.805 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001304/0.3787, allocations: 0.8323 MB / 373.9 MB, free: 9.805 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000258/0.379, allocations: 104.4 kB / 374 MB, free: 9.801 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005881/0.3796, allocations: 171.9 kB / 374.1 MB, free: 9.801 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007947/0.3804, allocations: 0.4986 MB / 374.6 MB, free: 9.801 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007315/0.3811, allocations: 402.5 kB / 375 MB, free: 9.77 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003637/0.3847, allocations: 2.482 MB / 377.5 MB, free: 9.617 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.476e-06/0.3848, allocations: 4 kB / 377.5 MB, free: 9.613 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.695e-06/0.3848, allocations: 1 kB / 377.5 MB, free: 9.613 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0001168/0.3849, allocations: 0 / 377.5 MB, free: 9.613 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.005219/0.3901, allocations: 1.98 MB / 379.5 MB, free: 8.621 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.209e-05/0.3902, allocations: 9.062 kB / 379.5 MB, free: 8.621 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000821/0.391, allocations: 236.2 kB / 379.7 MB, free: 8.512 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002506/0.3935, allocations: 1.18 MB / 380.9 MB, free: 8.145 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.375e-05/0.3936, allocations: 114.6 kB / 381 MB, free: 8.141 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002784/0.3939, allocations: 155.9 kB / 381.2 MB, free: 8.137 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004008/0.3979, allocations: 2.016 MB / 383.2 MB, free: 7.961 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.032e-05/0.398, allocations: 5.625 kB / 383.2 MB, free: 7.961 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001858/0.3982, allocations: 60.77 kB / 383.3 MB, free: 7.961 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001211/0.3983, allocations: 80.03 kB / 383.3 MB, free: 7.957 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003625/0.402, allocations: 1.673 MB / 385 MB, free: 7.938 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01097/0.413, allocations: 7.102 MB / 392.1 MB, free: 3.977 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009055/0.4139, allocations: 481.1 kB / 392.6 MB, free: 3.738 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002163/0.4141, allocations: 113.3 kB / 392.7 MB, free: 3.637 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.339e-05/0.4142, allocations: 41.92 kB / 392.7 MB, free: 3.59 MB / 302.1 MB Notification: Performance of pre-optimization done (n=48): time 2.475e-06/0.4142, allocations: 0 / 392.7 MB, free: 3.59 MB / 302.1 MB Notification: Performance of matching and sorting (n=63): time 0.007053/0.4212, allocations: 3.144 MB / 395.9 MB, free: 1.844 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.482e-05/0.4213, allocations: 61.17 kB / 395.9 MB, free: 1.777 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002109/0.4234, allocations: 1.597 MB / 397.5 MB, free: 0.9023 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 5.029e-05/0.4235, allocations: 36.83 kB / 397.6 MB, free: 0.8633 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006086/0.4241, allocations: 1.036 MB / 398.6 MB, free: 15.95 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002025/0.4243, allocations: 246.3 kB / 398.8 MB, free: 15.74 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.513e-05/0.4244, allocations: 30.38 kB / 398.9 MB, free: 15.72 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001736/0.4246, allocations: 372.5 kB / 399.2 MB, free: 15.37 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008725/0.4254, allocations: 0.5241 MB / 399.8 MB, free: 15.11 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00143/0.4269, allocations: 1.452 MB / 401.2 MB, free: 13.56 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001173/0.4281, allocations: 0.808 MB / 402 MB, free: 13.14 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.297e-05/0.4281, allocations: 12 kB / 402 MB, free: 13.14 MB / 318.1 MB Notification: Performance of matching and sorting (n=208) (initialization): time 0.003574/0.4317, allocations: 2.17 MB / 404.2 MB, free: 11.57 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.392e-05/0.4317, allocations: 20 kB / 404.2 MB, free: 11.55 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.386e-05/0.4318, allocations: 33.59 kB / 404.3 MB, free: 11.52 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000597/0.4324, allocations: 235.2 kB / 404.5 MB, free: 11.28 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001203/0.4336, allocations: 403.2 kB / 404.9 MB, free: 10.89 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001619/0.4352, allocations: 1.745 MB / 406.6 MB, free: 9 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001506/0.4367, allocations: 147.4 kB / 406.8 MB, free: 8.855 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001246/0.4369, allocations: 99.95 kB / 406.9 MB, free: 8.758 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.001055/0.4379, allocations: 0.5828 MB / 407.5 MB, free: 8.164 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002341/0.4382, allocations: 150.1 kB / 407.6 MB, free: 8.016 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001917/0.4401, allocations: 1.121 MB / 408.7 MB, free: 6.867 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.143e-06/0.4401, allocations: 4 kB / 408.7 MB, free: 6.863 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.11e-06/0.4401, allocations: 4 kB / 408.7 MB, free: 6.859 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.736e-06/0.4401, allocations: 3.984 kB / 408.7 MB, free: 6.855 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004682/0.4448, allocations: 2.755 MB / 411.5 MB, free: 4.027 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.338e-06/0.4448, allocations: 4 kB / 411.5 MB, free: 4.023 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000546/0.4454, allocations: 131.9 kB / 411.6 MB, free: 3.895 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004238/0.4458, allocations: 166.4 kB / 411.8 MB, free: 3.723 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.984e-05/0.4459, allocations: 12 kB / 411.8 MB, free: 3.711 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001475/0.4474, allocations: 1.683 MB / 413.5 MB, free: 1.895 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.477e-06/0.4474, allocations: 4.031 kB / 413.5 MB, free: 1.891 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002658/0.45, allocations: 1.73 MB / 415.2 MB, free: 88 kB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006567/0.4507, allocations: 303.1 kB / 415.5 MB, free: 15.77 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001798/0.4509, allocations: 23.94 kB / 415.5 MB, free: 15.75 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000672/0.4516, allocations: 58.03 kB / 415.6 MB, free: 15.69 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001252/0.4517, allocations: 44.5 kB / 415.6 MB, free: 15.65 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.393e-05/0.4518, allocations: 24 kB / 415.7 MB, free: 15.62 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.001639/0.4534, allocations: 1.047 MB / 416.7 MB, free: 14.58 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.734e-06/0.4534, allocations: 0 / 416.7 MB, free: 14.58 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.00183/0.4553, allocations: 363.9 kB / 417.1 MB, free: 14.22 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.0003076/0.4556, allocations: 135.9 kB / 417.2 MB, free: 14.08 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.002734/0.4583, allocations: 1.63 MB / 418.8 MB, free: 12.41 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.448e-06/0.4583, allocations: 0 / 418.8 MB, free: 12.41 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001068/0.4594, allocations: 0.7714 MB / 419.6 MB, free: 11.58 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001555/0.461, allocations: 384.9 kB / 420 MB, free: 11.21 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00521/0.4662, allocations: 3.486 MB / 423.5 MB, free: 7.68 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001128/0.4674, allocations: 1.504 MB / 425 MB, free: 6.145 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.001108/0.4685, allocations: 350 kB / 425.3 MB, free: 5.797 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002511/0.4687, allocations: 111.4 kB / 425.4 MB, free: 5.688 MB / 334.1 MB Notification: Performance of SimCode: time 2.033e-06/0.4687, allocations: 0 / 425.4 MB, free: 5.688 MB / 334.1 MB Notification: Performance of Templates: time 0.03141/0.5002, allocations: 17.91 MB / 443.3 MB, free: 4 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","../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches