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.002424/0.002424, allocations: 177.3 kB / 17.41 MB, free: 4.414 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.058/3.058, allocations: 205.4 MB / 223.6 MB, free: 9.031 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.001253/0.001253, allocations: 85.42 kB / 271.9 MB, free: 8.27 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006068/0.000607, allocations: 8 kB / 328.2 MB, free: 15.95 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5074/0.5081, allocations: 47.57 MB / 375.7 MB, free: 45.44 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2191/0.7273, allocations: 110.2 MB / 486 MB, free: 2.348 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004802/0.7278, allocations: 95.94 kB / 486.1 MB, free: 2.254 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5209/1.249, allocations: 52.89 MB / 0.5263 GB, free: 90.69 MB / 378.7 MB Notification: Performance of FrontEnd: time 6.483e-06/1.249, allocations: 0 / 0.5263 GB, free: 90.69 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0005953/1.249, allocations: 75.31 kB / 0.5264 GB, free: 90.62 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.01329/1.263, allocations: 2.873 MB / 0.5292 GB, free: 87.68 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.053e-05/1.263, allocations: 11.98 kB / 0.5292 GB, free: 87.67 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003352/1.266, allocations: 353 kB / 0.5295 GB, free: 87.32 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00906/1.275, allocations: 1.979 MB / 0.5315 GB, free: 85.32 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004286/1.276, allocations: 191.6 kB / 0.5317 GB, free: 85.13 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001689/1.278, allocations: 244.3 kB / 0.5319 GB, free: 84.89 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01329/1.291, allocations: 3.271 MB / 0.5351 GB, free: 81.48 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002624/1.291, allocations: 8.094 kB / 0.5351 GB, free: 81.47 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001378/1.293, allocations: 113.6 kB / 0.5352 GB, free: 81.36 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002605/1.293, allocations: 116.9 kB / 0.5353 GB, free: 81.24 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01018/1.303, allocations: 2.592 MB / 0.5378 GB, free: 78.64 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03196/1.335, allocations: 10.49 MB / 0.5481 GB, free: 67.88 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003015/1.338, allocations: 1.441 MB / 0.5495 GB, free: 66.37 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001533/1.34, allocations: 0.7696 MB / 0.5502 GB, free: 65.6 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005491/1.34, allocations: 223.5 kB / 0.5505 GB, free: 65.35 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.427e-05/1.341, allocations: 44.03 kB / 0.5505 GB, free: 65.3 MB / 378.7 MB Notification: Performance of pre-optimization done (n=103): time 6.101e-06/1.341, allocations: 3.938 kB / 0.5505 GB, free: 65.29 MB / 378.7 MB Notification: Performance of matching and sorting (n=131): time 0.02291/1.363, allocations: 7.132 MB / 0.5575 GB, free: 58.05 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.758e-05/1.364, allocations: 68.72 kB / 0.5575 GB, free: 57.97 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00412/1.368, allocations: 1.746 MB / 0.5592 GB, free: 56.23 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003293/1.368, allocations: 45.7 kB / 0.5593 GB, free: 56.18 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001023/1.369, allocations: 1.274 MB / 0.5605 GB, free: 54.89 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005867/1.37, allocations: 452.8 kB / 0.561 GB, free: 54.45 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001323/1.37, allocations: 39.94 kB / 0.561 GB, free: 54.41 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001685/1.37, allocations: 369.9 kB / 0.5614 GB, free: 54.05 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001758/1.372, allocations: 0.8003 MB / 0.5621 GB, free: 53.25 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002178/1.374, allocations: 1.319 MB / 0.5634 GB, free: 51.7 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004113/1.378, allocations: 2.274 MB / 0.5656 GB, free: 49.2 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.22e-05/1.378, allocations: 4 kB / 0.5656 GB, free: 49.2 MB / 378.7 MB Notification: Performance of matching and sorting (n=211) (initialization): time 0.006329/1.385, allocations: 2.541 MB / 0.5681 GB, free: 46.64 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.367e-05/1.385, allocations: 13.09 kB / 0.5681 GB, free: 46.62 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.904e-05/1.385, allocations: 20.03 kB / 0.5682 GB, free: 46.61 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009685/1.386, allocations: 247.2 kB / 0.5684 GB, free: 46.35 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002378/1.388, allocations: 435.3 kB / 0.5688 GB, free: 45.93 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003072/1.391, allocations: 3.002 MB / 0.5717 GB, free: 42.65 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002899/1.394, allocations: 139.8 kB / 0.5719 GB, free: 42.51 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003144/1.395, allocations: 72 kB / 0.5719 GB, free: 42.44 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.002792/1.397, allocations: 0.819 MB / 0.5727 GB, free: 41.61 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008304/1.398, allocations: 185.7 kB / 0.5729 GB, free: 41.43 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005388/1.404, allocations: 2.129 MB / 0.575 GB, free: 39.28 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.482e-05/1.404, allocations: 20 kB / 0.575 GB, free: 39.26 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.144e-05/1.404, allocations: 3.938 kB / 0.575 GB, free: 39.25 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.19e-05/1.404, allocations: 7.969 kB / 0.575 GB, free: 39.25 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01258/1.416, allocations: 4.876 MB / 0.5798 GB, free: 34.3 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.358e-05/1.416, allocations: 4 kB / 0.5798 GB, free: 34.3 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001729/1.418, allocations: 283.6 kB / 0.5801 GB, free: 34.02 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007213/1.419, allocations: 211.1 kB / 0.5803 GB, free: 33.8 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001301/1.419, allocations: 24.09 kB / 0.5803 GB, free: 33.78 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00269/1.422, allocations: 2.967 MB / 0.5832 GB, free: 30.55 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.564e-06/1.422, allocations: 11.92 kB / 0.5832 GB, free: 30.54 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006855/1.429, allocations: 3.272 MB / 0.5864 GB, free: 27.21 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001628/1.43, allocations: 442.6 kB / 0.5868 GB, free: 26.75 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005461/1.431, allocations: 24.06 kB / 0.5868 GB, free: 26.73 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001554/1.432, allocations: 107.8 kB / 0.5869 GB, free: 26.62 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003025/1.433, allocations: 84.83 kB / 0.587 GB, free: 26.54 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001481/1.433, allocations: 39.98 kB / 0.5871 GB, free: 26.5 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.002919/1.436, allocations: 1.185 MB / 0.5882 GB, free: 25.32 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.51e-07/1.436, allocations: 4 kB / 0.5882 GB, free: 25.32 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.003634/1.439, allocations: 0.5234 MB / 0.5887 GB, free: 24.8 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.001039/1.441, allocations: 416.4 kB / 0.5891 GB, free: 24.43 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.004954/1.446, allocations: 2.407 MB / 0.5915 GB, free: 21.96 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 8.987e-06/1.446, allocations: 7.938 kB / 0.5915 GB, free: 21.95 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002382/1.448, allocations: 1.377 MB / 0.5928 GB, free: 20.5 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004659/1.453, allocations: 469.3 kB / 0.5933 GB, free: 20.05 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01306/1.466, allocations: 5.946 MB / 0.5991 GB, free: 14.04 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002237/1.468, allocations: 1.982 MB / 0.601 GB, free: 12.02 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001212/1.469, allocations: 151.4 kB / 0.6012 GB, free: 11.87 MB / 378.7 MB Notification: Performance of SimCode: time 9.92e-07/1.469, allocations: 4 kB / 0.6012 GB, free: 11.87 MB / 378.7 MB Notification: Performance of Templates: time 0.5135/1.983, allocations: 83.81 MB / 0.683 GB, free: 99.38 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