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/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) 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) 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/Complex trunk/package.mo): time 0.0009877/0.0009878, allocations: 197.5 kB / 17.08 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.193/1.193, allocations: 227.2 MB / 245 MB, free: 5.871 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008545/0.0008546, allocations: 100.2 kB / 297.3 MB, free: 5.977 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002025/0.0002025, allocations: 7.984 kB / 357.9 MB, free: 9.316 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1795/0.1797, allocations: 51.48 MB / 409.4 MB, free: 26.71 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2583/0.438, allocations: 106.6 MB / 0.5039 GB, free: 95.67 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002634/0.4383, allocations: 89.67 kB / 0.504 GB, free: 95.67 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08657/0.5249, allocations: 39.59 MB / 0.5426 GB, free: 69.31 MB / 378.7 MB Notification: Performance of FrontEnd: time 9.62e-07/0.5249, allocations: 0 / 0.5426 GB, free: 69.31 MB / 378.7 MB Notification: Performance of Transformations before backend: time 8.775e-05/0.525, allocations: 51.92 kB / 0.5427 GB, free: 69.26 MB / 378.7 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.002998/0.528, allocations: 1.991 MB / 0.5446 GB, free: 67.21 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.716e-05/0.5281, allocations: 8.031 kB / 0.5446 GB, free: 67.21 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005436/0.5286, allocations: 245.4 kB / 0.5449 GB, free: 66.96 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001958/0.5306, allocations: 1.286 MB / 0.5461 GB, free: 65.62 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.378e-05/0.5306, allocations: 119.1 kB / 0.5463 GB, free: 65.5 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001868/0.5308, allocations: 159.8 kB / 0.5464 GB, free: 65.35 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002441/0.5333, allocations: 2.008 MB / 0.5484 GB, free: 63.25 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.215e-05/0.5333, allocations: 7.938 kB / 0.5484 GB, free: 63.24 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000133/0.5335, allocations: 68 kB / 0.5484 GB, free: 63.18 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.523e-05/0.5335, allocations: 70.94 kB / 0.5485 GB, free: 63.11 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002113/0.5357, allocations: 1.612 MB / 0.5501 GB, free: 61.49 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006925/0.5426, allocations: 6.999 MB / 0.5569 GB, free: 54.18 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006429/0.5433, allocations: 0.5085 MB / 0.5574 GB, free: 53.67 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001808/0.5451, allocations: 1.429 MB / 0.5588 GB, free: 52.2 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.906e-05/0.5451, allocations: 38.56 kB / 0.5588 GB, free: 52.15 MB / 378.7 MB Notification: Performance of pre-optimization done (n=43): time 2.395e-06/0.5451, allocations: 3.984 kB / 0.5588 GB, free: 52.14 MB / 378.7 MB Notification: Performance of matching and sorting (n=58): time 0.005293/0.5504, allocations: 3.037 MB / 0.5618 GB, free: 49.04 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.592e-05/0.5505, allocations: 63.91 kB / 0.5619 GB, free: 48.96 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001372/0.5518, allocations: 1.397 MB / 0.5632 GB, free: 47.55 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.788e-05/0.5519, allocations: 37.7 kB / 0.5633 GB, free: 47.51 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004354/0.5523, allocations: 1.03 MB / 0.5643 GB, free: 46.47 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001055/0.5524, allocations: 217.2 kB / 0.5645 GB, free: 46.25 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.188e-05/0.5525, allocations: 28 kB / 0.5645 GB, free: 46.23 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.622e-05/0.5526, allocations: 365.9 kB / 0.5649 GB, free: 45.86 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006659/0.5532, allocations: 0.5153 MB / 0.5654 GB, free: 45.35 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009134/0.5542, allocations: 1.389 MB / 0.5667 GB, free: 43.52 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008553/0.555, allocations: 0.7865 MB / 0.5675 GB, free: 42.74 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.386e-06/0.5551, allocations: 8 kB / 0.5675 GB, free: 42.73 MB / 378.7 MB Notification: Performance of matching and sorting (n=199) (initialization): time 0.002471/0.5575, allocations: 2.093 MB / 0.5695 GB, free: 40.62 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.295e-05/0.5576, allocations: 19.95 kB / 0.5696 GB, free: 40.6 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.633e-05/0.5576, allocations: 32.91 kB / 0.5696 GB, free: 40.57 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004753/0.5581, allocations: 230.4 kB / 0.5698 GB, free: 40.34 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009505/0.559, allocations: 387.2 kB / 0.5702 GB, free: 39.96 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001122/0.5602, allocations: 1.772 MB / 0.5719 GB, free: 38.05 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009595/0.5611, allocations: 143.5 kB / 0.572 GB, free: 37.91 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.455e-05/0.5612, allocations: 88 kB / 0.5721 GB, free: 37.82 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 141 * 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 (195): * Single equations (assignments): 192 * 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.0006227/0.5619, allocations: 0.5789 MB / 0.5727 GB, free: 37.23 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001418/0.562, allocations: 158.1 kB / 0.5728 GB, free: 37.08 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001525/0.5636, allocations: 1.067 MB / 0.5739 GB, free: 35.99 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.719e-06/0.5636, allocations: 8 kB / 0.5739 GB, free: 35.98 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.386e-06/0.5636, allocations: 3.953 kB / 0.5739 GB, free: 35.98 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.53e-06/0.5636, allocations: 3.984 kB / 0.5739 GB, free: 35.98 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003389/0.567, allocations: 2.695 MB / 0.5765 GB, free: 33.19 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/0.567, allocations: 0 / 0.5765 GB, free: 33.19 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000458/0.5675, allocations: 119.8 kB / 0.5767 GB, free: 33.07 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003617/0.5678, allocations: 170.5 kB / 0.5768 GB, free: 32.9 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.347e-05/0.5679, allocations: 12 kB / 0.5768 GB, free: 32.89 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001029/0.5689, allocations: 1.714 MB / 0.5785 GB, free: 31.04 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.001e-06/0.5689, allocations: 0 / 0.5785 GB, free: 31.04 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001921/0.5709, allocations: 1.61 MB / 0.5801 GB, free: 29.39 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003565/0.5712, allocations: 291.2 kB / 0.5803 GB, free: 29.09 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001369/0.5714, allocations: 12 kB / 0.5804 GB, free: 29.07 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005911/0.572, allocations: 63.98 kB / 0.5804 GB, free: 29.01 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.202e-05/0.5721, allocations: 40.5 kB / 0.5805 GB, free: 28.97 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.153e-05/0.5721, allocations: 12 kB / 0.5805 GB, free: 28.96 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0009926/0.5731, allocations: 1.035 MB / 0.5815 GB, free: 27.93 MB / 378.7 MB Notification: Performance of sort global known variables: time 6.92e-07/0.5731, allocations: 0 / 0.5815 GB, free: 27.93 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001075/0.5742, allocations: 387.9 kB / 0.5819 GB, free: 27.55 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (56): * Single equations (assignments): 53 * 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.0003744/0.5746, allocations: 381.9 kB / 0.5822 GB, free: 27.18 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001813/0.5764, allocations: 1.58 MB / 0.5838 GB, free: 25.55 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.5764, allocations: 0 / 0.5838 GB, free: 25.55 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008477/0.5773, allocations: 0.7476 MB / 0.5845 GB, free: 24.75 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001242/0.5785, allocations: 372 kB / 0.5848 GB, free: 24.39 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00332/0.5818, allocations: 3.444 MB / 0.5882 GB, free: 20.91 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007293/0.5826, allocations: 1.503 MB / 0.5897 GB, free: 19.37 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0008391/0.5834, allocations: 345.7 kB / 0.59 GB, free: 19.02 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002058/0.5836, allocations: 107.4 kB / 0.5901 GB, free: 18.92 MB / 378.7 MB Notification: Performance of SimCode: time 9.12e-07/0.5836, allocations: 4 kB / 0.5901 GB, free: 18.92 MB / 378.7 MB Notification: Performance of Templates: time 0.02617/0.6098, allocations: 20.71 MB / 0.6103 GB, free: 14.37 MB / 394.7 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