Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_CurrentSource.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_CurrentSource,tolerance=1e-06,outputFormat="mat",numberOfIntervals=40000,variableFilter="time|smee.is.1.|smee.is.2.|inertiaLoad.w|speedSensor.flange.phi",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_CurrentSource") translateModel(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_CurrentSource,tolerance=1e-06,outputFormat="mat",numberOfIntervals=40000,variableFilter="time|smee.is.1.|smee.is.2.|inertiaLoad.w|speedSensor.flange.phi",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_CurrentSource") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001547/0.001552, allocations: 187.9 kB / 16.4 MB, free: 5.723 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.914/1.914, allocations: 205.4 MB / 222.5 MB, free: 9.121 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001143/0.001143, allocations: 96.36 kB / 270.9 MB, free: 8.359 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003863/0.0003865, allocations: 8 kB / 327 MB, free: 196 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3203/0.3207, allocations: 47.57 MB / 374.5 MB, free: 45.43 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1799/0.5006, allocations: 110 MB / 484.5 MB, free: 2.703 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003323/0.501, allocations: 95.95 kB / 484.6 MB, free: 2.609 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4792/0.9802, allocations: 52.94 MB / 0.525 GB, free: 91.02 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.985e-06/0.9803, allocations: 0 / 0.525 GB, free: 91.02 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0002959/0.9806, allocations: 75.78 kB / 0.5251 GB, free: 90.95 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: 660 * Number of variables: 660 Notification: Performance of Generate backend data structure: time 0.01078/0.9914, allocations: 2.895 MB / 0.5279 GB, free: 87.99 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.742e-05/0.9915, allocations: 19.92 kB / 0.5279 GB, free: 87.97 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002/0.9935, allocations: 348.1 kB / 0.5282 GB, free: 87.62 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006808/1, allocations: 1.92 MB / 0.5301 GB, free: 85.68 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002215/1.001, allocations: 187.8 kB / 0.5303 GB, free: 85.5 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009875/1.002, allocations: 259.8 kB / 0.5305 GB, free: 85.24 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009302/1.011, allocations: 3.24 MB / 0.5337 GB, free: 81.86 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001369/1.011, allocations: 11.84 kB / 0.5337 GB, free: 81.85 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004491/1.012, allocations: 108 kB / 0.5338 GB, free: 81.74 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000154/1.012, allocations: 124.9 kB / 0.5339 GB, free: 81.62 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008128/1.02, allocations: 2.592 MB / 0.5365 GB, free: 79.01 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02536/1.045, allocations: 10.49 MB / 0.5467 GB, free: 68.25 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003174/1.049, allocations: 1.446 MB / 0.5481 GB, free: 66.74 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004826/1.049, allocations: 219.1 kB / 0.5483 GB, free: 66.49 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.989e-05/1.049, allocations: 43.56 kB / 0.5484 GB, free: 66.44 MB / 378.7 MB Notification: Performance of pre-optimization done (n=103): time 4.238e-06/1.049, allocations: 0 / 0.5484 GB, free: 66.44 MB / 378.7 MB Notification: Performance of matching and sorting (n=131): time 0.02593/1.075, allocations: 7.17 MB / 0.5554 GB, free: 59.17 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.886e-05/1.075, allocations: 72.64 kB / 0.5554 GB, free: 59.09 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003455/1.079, allocations: 1.55 MB / 0.5569 GB, free: 57.54 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003388/1.079, allocations: 45.7 kB / 0.557 GB, free: 57.49 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008354/1.08, allocations: 1.204 MB / 0.5582 GB, free: 56.28 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005798/1.08, allocations: 456.4 kB / 0.5586 GB, free: 55.84 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001855/1.081, allocations: 32 kB / 0.5586 GB, free: 55.81 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001298/1.081, allocations: 378.8 kB / 0.559 GB, free: 55.43 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001966/1.083, allocations: 0.8081 MB / 0.5598 GB, free: 54.62 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002281/1.085, allocations: 1.319 MB / 0.5611 GB, free: 53.08 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002471/1.088, allocations: 1.025 MB / 0.5621 GB, free: 52.05 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-05/1.088, allocations: 7.938 kB / 0.5621 GB, free: 52.04 MB / 378.7 MB Notification: Performance of matching and sorting (n=211) (initialization): time 0.005992/1.094, allocations: 2.441 MB / 0.5645 GB, free: 49.58 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.677e-05/1.094, allocations: 12 kB / 0.5645 GB, free: 49.57 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.452e-05/1.094, allocations: 16 kB / 0.5645 GB, free: 49.55 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009488/1.095, allocations: 239.2 kB / 0.5647 GB, free: 49.31 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003193/1.098, allocations: 447.3 kB / 0.5651 GB, free: 48.87 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003061/1.101, allocations: 3.033 MB / 0.5681 GB, free: 45.57 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002739/1.104, allocations: 135.8 kB / 0.5682 GB, free: 45.43 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004591/1.104, allocations: 76 kB / 0.5683 GB, free: 45.36 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 74 * 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 (206): * Single equations (assignments): 202 * 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: 2 * 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: 2 {(2,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0023/1.107, allocations: 0.8216 MB / 0.5691 GB, free: 44.53 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006528/1.107, allocations: 193.6 kB / 0.5693 GB, free: 44.34 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005557/1.113, allocations: 2.144 MB / 0.5714 GB, free: 42.16 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.685e-05/1.113, allocations: 12 kB / 0.5714 GB, free: 42.15 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.196e-06/1.113, allocations: 4 kB / 0.5714 GB, free: 42.15 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.475e-05/1.113, allocations: 3.984 kB / 0.5714 GB, free: 42.14 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01304/1.126, allocations: 4.886 MB / 0.5762 GB, free: 37.19 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.215e-05/1.126, allocations: 4 kB / 0.5762 GB, free: 37.18 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002355/1.129, allocations: 287.6 kB / 0.5765 GB, free: 36.9 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008964/1.129, allocations: 203.4 kB / 0.5767 GB, free: 36.69 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002306/1.13, allocations: 28 kB / 0.5767 GB, free: 36.66 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003606/1.133, allocations: 3.014 MB / 0.5796 GB, free: 33.39 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.935e-06/1.133, allocations: 8.062 kB / 0.5796 GB, free: 33.38 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00797/1.141, allocations: 3.432 MB / 0.583 GB, free: 29.84 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00152/1.143, allocations: 446.6 kB / 0.5834 GB, free: 29.39 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000466/1.143, allocations: 20 kB / 0.5834 GB, free: 29.37 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001864/1.145, allocations: 107.9 kB / 0.5835 GB, free: 29.26 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002515/1.146, allocations: 84.78 kB / 0.5836 GB, free: 29.18 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001245/1.146, allocations: 47.92 kB / 0.5837 GB, free: 29.13 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.002547/1.148, allocations: 1.185 MB / 0.5848 GB, free: 27.95 MB / 378.7 MB Notification: Performance of sort global known variables: time 8.52e-07/1.148, allocations: 0 / 0.5848 GB, free: 27.95 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002931/1.151, allocations: 0.5312 MB / 0.5853 GB, free: 27.42 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 2 (smpm.inertiaRotor.w,quadraticSpeedDependentTorque.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 (129): * Single equations (assignments): 125 * 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: 2 * 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: 2 {(2,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009136/1.152, allocations: 404.6 kB / 0.5857 GB, free: 27.06 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.005858/1.158, allocations: 2.43 MB / 0.5881 GB, free: 24.57 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 8.907e-06/1.158, allocations: 0 / 0.5881 GB, free: 24.57 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003068/1.161, allocations: 1.39 MB / 0.5895 GB, free: 23.11 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003778/1.165, allocations: 459.7 kB / 0.5899 GB, free: 22.67 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01275/1.178, allocations: 5.95 MB / 0.5957 GB, free: 16.66 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002693/1.181, allocations: 2.032 MB / 0.5977 GB, free: 14.59 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001103/1.182, allocations: 151.4 kB / 0.5978 GB, free: 14.44 MB / 378.7 MB Notification: Performance of SimCode: time 1.653e-06/1.182, allocations: 0 / 0.5978 GB, free: 14.44 MB / 378.7 MB Notification: Performance of Templates: time 0.4143/1.596, allocations: 79.71 MB / 0.6757 GB, free: 105.3 MB / 410.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_CurrentSource.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_CurrentSource.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_CurrentSource.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_CurrentSource.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_CurrentSource.sim & ./Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_CurrentSource --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_CurrentSource.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_CurrentSource_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Machines/Examples/SynchronousInductionMachines/SMPM_CurrentSource/SMPM_CurrentSource.csv","../files/Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_CurrentSource.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches