Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_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_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_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.001525/0.001525, allocations: 181.2 kB / 17.01 MB, free: 5.125 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.587/1.587, allocations: 205.4 MB / 223.1 MB, free: 9.133 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.0008427/0.0008427, allocations: 88.16 kB / 271.5 MB, free: 8.371 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002466/0.0002466, allocations: 4 kB / 328.3 MB, free: 15.53 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2448/0.2451, allocations: 47.57 MB / 375.8 MB, free: 45.64 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1283/0.3734, allocations: 110 MB / 485.8 MB, free: 2.613 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003299/0.3738, allocations: 87.95 kB / 485.9 MB, free: 2.527 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3383/0.7121, allocations: 52.95 MB / 0.5262 GB, free: 90.93 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.044e-06/0.7122, allocations: 4 kB / 0.5262 GB, free: 90.92 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001912/0.7124, allocations: 75 kB / 0.5263 GB, free: 90.85 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.006104/0.7185, allocations: 2.9 MB / 0.5291 GB, free: 87.89 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.276e-05/0.7186, allocations: 11.98 kB / 0.5291 GB, free: 87.88 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009606/0.7195, allocations: 344.1 kB / 0.5295 GB, free: 87.54 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003489/0.723, allocations: 1.923 MB / 0.5313 GB, free: 85.59 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001136/0.7232, allocations: 191 kB / 0.5315 GB, free: 85.4 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003211/0.7235, allocations: 255.8 kB / 0.5318 GB, free: 85.15 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00439/0.7279, allocations: 3.247 MB / 0.5349 GB, free: 81.76 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.89e-05/0.728, allocations: 11.84 kB / 0.535 GB, free: 81.75 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002199/0.7282, allocations: 106.3 kB / 0.5351 GB, free: 81.65 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.066e-05/0.7283, allocations: 120.9 kB / 0.5352 GB, free: 81.53 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003611/0.7319, allocations: 2.592 MB / 0.5377 GB, free: 78.92 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01258/0.7445, allocations: 10.48 MB / 0.5479 GB, free: 68.17 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001565/0.7461, allocations: 1.442 MB / 0.5494 GB, free: 66.66 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002715/0.7464, allocations: 223.1 kB / 0.5496 GB, free: 66.41 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.148e-05/0.7464, allocations: 43.56 kB / 0.5496 GB, free: 66.36 MB / 378.7 MB Notification: Performance of pre-optimization done (n=103): time 3.456e-06/0.7465, allocations: 0 / 0.5496 GB, free: 66.36 MB / 378.7 MB Notification: Performance of matching and sorting (n=131): time 0.01368/0.7601, allocations: 7.173 MB / 0.5566 GB, free: 59.08 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.658e-05/0.7602, allocations: 68.7 kB / 0.5567 GB, free: 59 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002195/0.7624, allocations: 1.55 MB / 0.5582 GB, free: 57.46 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001408/0.7626, allocations: 49.7 kB / 0.5582 GB, free: 57.4 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006113/0.7632, allocations: 1.268 MB / 0.5595 GB, free: 56.12 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002708/0.7635, allocations: 449.7 kB / 0.5599 GB, free: 55.69 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.717e-05/0.7636, allocations: 32 kB / 0.5599 GB, free: 55.66 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.005e-05/0.7637, allocations: 373.9 kB / 0.5603 GB, free: 55.29 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009982/0.7647, allocations: 0.8081 MB / 0.5611 GB, free: 54.48 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001143/0.7658, allocations: 1.323 MB / 0.5624 GB, free: 52.93 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001188/0.767, allocations: 1.025 MB / 0.5634 GB, free: 51.9 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.966e-06/0.767, allocations: 4 kB / 0.5634 GB, free: 51.9 MB / 378.7 MB Notification: Performance of matching and sorting (n=211) (initialization): time 0.003865/0.7709, allocations: 2.552 MB / 0.5659 GB, free: 49.32 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.038e-05/0.771, allocations: 12 kB / 0.5659 GB, free: 49.31 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.112e-05/0.771, allocations: 16 kB / 0.5659 GB, free: 49.3 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005883/0.7716, allocations: 251.6 kB / 0.5661 GB, free: 49.04 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001452/0.7731, allocations: 435.3 kB / 0.5666 GB, free: 48.61 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001942/0.775, allocations: 3.04 MB / 0.5695 GB, free: 45.3 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001727/0.7768, allocations: 131.8 kB / 0.5696 GB, free: 45.18 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001421/0.7769, allocations: 80.05 kB / 0.5697 GB, free: 45.1 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.00146/0.7784, allocations: 0.8277 MB / 0.5705 GB, free: 44.26 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003778/0.7788, allocations: 193.6 kB / 0.5707 GB, free: 44.07 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002999/0.7818, allocations: 2.141 MB / 0.5728 GB, free: 41.9 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.05e-05/0.7818, allocations: 12 kB / 0.5728 GB, free: 41.89 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.102e-06/0.7818, allocations: 0 / 0.5728 GB, free: 41.89 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.134e-05/0.7818, allocations: 7.969 kB / 0.5728 GB, free: 41.88 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007124/0.789, allocations: 4.888 MB / 0.5776 GB, free: 36.92 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.414e-06/0.789, allocations: 0 / 0.5776 GB, free: 36.92 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001091/0.7901, allocations: 291.9 kB / 0.5779 GB, free: 36.64 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004836/0.7906, allocations: 207.2 kB / 0.5781 GB, free: 36.42 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.754e-05/0.7907, allocations: 27.98 kB / 0.5781 GB, free: 36.39 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001819/0.7925, allocations: 3.006 MB / 0.581 GB, free: 33.13 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.299e-06/0.7925, allocations: 4.031 kB / 0.581 GB, free: 33.12 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003969/0.7965, allocations: 3.448 MB / 0.5844 GB, free: 29.57 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009698/0.7975, allocations: 438.6 kB / 0.5848 GB, free: 29.12 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002109/0.7977, allocations: 27.98 kB / 0.5849 GB, free: 29.09 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009433/0.7987, allocations: 99.88 kB / 0.5849 GB, free: 29 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001549/0.7988, allocations: 92.83 kB / 0.585 GB, free: 28.9 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.68e-05/0.7989, allocations: 32 kB / 0.5851 GB, free: 28.87 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001629/0.8006, allocations: 1.188 MB / 0.5862 GB, free: 27.69 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.8006, allocations: 4 kB / 0.5862 GB, free: 27.69 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.00155/0.8021, allocations: 0.5273 MB / 0.5867 GB, free: 27.16 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.0005243/0.8026, allocations: 402.2 kB / 0.5871 GB, free: 26.8 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0029/0.8056, allocations: 2.429 MB / 0.5895 GB, free: 24.32 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.516e-06/0.8056, allocations: 0 / 0.5895 GB, free: 24.32 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001439/0.807, allocations: 1.398 MB / 0.5909 GB, free: 22.85 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001728/0.8088, allocations: 458.9 kB / 0.5913 GB, free: 22.4 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006589/0.8154, allocations: 5.876 MB / 0.597 GB, free: 16.47 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001322/0.8167, allocations: 2.065 MB / 0.5991 GB, free: 14.36 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.001538/0.8183, allocations: 0.5237 MB / 0.5996 GB, free: 13.84 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004146/0.8187, allocations: 143.4 kB / 0.5997 GB, free: 13.7 MB / 378.7 MB Notification: Performance of SimCode: time 8.51e-07/0.8187, allocations: 0 / 0.5997 GB, free: 13.7 MB / 378.7 MB Notification: Performance of Templates: time 0.04834/0.867, allocations: 27.12 MB / 0.6262 GB, free: 2.566 MB / 394.7 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_CurrentSource.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_CurrentSource.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_CurrentSource.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_CurrentSource.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_CurrentSource.sim & ./Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_CurrentSource -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_CurrentSource.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_CurrentSource_res.mat","/var/lib/jenkins/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_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_CurrentSource.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches