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.0009165/0.0009166, allocations: 179.1 kB / 8.697 MB, free: 388 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.298/1.298, allocations: 205.3 MB / 214.4 MB, free: 1.668 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008479/0.0008478, allocations: 90.7 kB / 262.5 MB, free: 1.605 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.331e-05/1.323e-05, allocations: 4 kB / 315.5 MB, free: 22.7 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07134/0.07136, allocations: 47.59 MB / 363.1 MB, free: 7.051 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3029/0.3743, allocations: 109.5 MB / 472.6 MB, free: 2.582 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002171/0.3745, allocations: 84.77 kB / 472.7 MB, free: 2.539 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1368/0.5113, allocations: 52.3 MB / 0.5126 GB, free: 3.477 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.956e-06/0.5114, allocations: 0 / 0.5126 GB, free: 3.477 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0001669/0.5116, allocations: 79.81 kB / 0.5127 GB, free: 3.398 MB / 394.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.004655/0.5162, allocations: 2.585 MB / 0.5152 GB, free: 0.7539 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.761e-05/0.5163, allocations: 12.03 kB / 0.5153 GB, free: 0.7422 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008212/0.5171, allocations: 348.1 kB / 0.5156 GB, free: 408 kB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003468/0.5206, allocations: 1.896 MB / 0.5174 GB, free: 14.45 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.299e-05/0.5207, allocations: 91.98 kB / 0.5175 GB, free: 14.36 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003004/0.521, allocations: 148.2 kB / 0.5177 GB, free: 14.21 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003824/0.5248, allocations: 2.357 MB / 0.52 GB, free: 11.85 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00468/0.5295, allocations: 2.836 MB / 0.5227 GB, free: 8.867 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.873e-05/0.5296, allocations: 7.906 kB / 0.5228 GB, free: 8.859 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001916/0.5298, allocations: 4 kB / 0.5228 GB, free: 8.855 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001216/0.5299, allocations: 120.9 kB / 0.5229 GB, free: 8.734 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1867/0.7166, allocations: 9.979 MB / 0.5326 GB, free: 98.94 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002164/0.7188, allocations: 1.397 MB / 0.534 GB, free: 98.63 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001109/0.72, allocations: 0.728 MB / 0.5347 GB, free: 98.62 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000336/0.7203, allocations: 219.6 kB / 0.5349 GB, free: 98.43 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.584e-05/0.7204, allocations: 47.98 kB / 0.5349 GB, free: 98.39 MB / 410.7 MB Notification: Performance of pre-optimization done (n=107): time 2.885e-06/0.7204, allocations: 0 / 0.5349 GB, free: 98.39 MB / 410.7 MB Notification: Performance of matching and sorting (n=137): time 0.009953/0.7303, allocations: 5.163 MB / 0.54 GB, free: 97.73 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.721e-05/0.7304, allocations: 68.97 kB / 0.5401 GB, free: 97.66 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001928/0.7323, allocations: 1.295 MB / 0.5413 GB, free: 97.5 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 8.473e-05/0.7324, allocations: 25.7 kB / 0.5413 GB, free: 97.47 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006768/0.7331, allocations: 1.274 MB / 0.5426 GB, free: 97.02 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002967/0.7334, allocations: 459 kB / 0.543 GB, free: 96.77 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.942e-05/0.7335, allocations: 0 / 0.543 GB, free: 96.77 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001047/0.7336, allocations: 372 kB / 0.5434 GB, free: 96.46 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001095/0.7347, allocations: 0.7646 MB / 0.5441 GB, free: 96.46 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001183/0.7359, allocations: 1.258 MB / 0.5454 GB, free: 95.87 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001294/0.7372, allocations: 0.9875 MB / 0.5463 GB, free: 95.85 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.528e-06/0.7372, allocations: 9.125 kB / 0.5463 GB, free: 95.85 MB / 410.7 MB Notification: Performance of matching and sorting (n=217) (initialization): time 0.003514/0.7407, allocations: 2.35 MB / 0.5486 GB, free: 95.66 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.001e-05/0.7408, allocations: 12.22 kB / 0.5486 GB, free: 95.66 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.759e-05/0.7408, allocations: 17.03 kB / 0.5487 GB, free: 95.66 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000603/0.7414, allocations: 241 kB / 0.5489 GB, free: 95.63 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001466/0.7429, allocations: 449.2 kB / 0.5493 GB, free: 95.63 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00174/0.7447, allocations: 2.883 MB / 0.5521 GB, free: 93.24 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001483/0.7462, allocations: 98.47 kB / 0.5522 GB, free: 93.23 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001674/0.7463, allocations: 81.33 kB / 0.5523 GB, free: 93.23 MB / 410.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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (212): * Single equations (assignments): 208 * 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.0002775/0.7466, allocations: 160.5 kB / 0.5524 GB, free: 93.11 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002904/0.7469, allocations: 172.2 kB / 0.5526 GB, free: 93.02 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003097/0.75, allocations: 2.025 MB / 0.5546 GB, free: 92.89 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.034e-05/0.7501, allocations: 11.66 kB / 0.5546 GB, free: 92.89 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.551e-06/0.7501, allocations: 3.844 kB / 0.5546 GB, free: 92.89 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.323e-05/0.7501, allocations: 12.11 kB / 0.5546 GB, free: 92.89 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006789/0.7569, allocations: 4.503 MB / 0.559 GB, free: 92.41 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.302e-06/0.7569, allocations: 0 / 0.559 GB, free: 92.41 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001114/0.758, allocations: 304.5 kB / 0.5593 GB, free: 92.41 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004623/0.7585, allocations: 203.4 kB / 0.5595 GB, free: 92.38 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.854e-05/0.7586, allocations: 3.938 kB / 0.5595 GB, free: 92.38 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001553/0.7602, allocations: 2.862 MB / 0.5623 GB, free: 89.99 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.897e-06/0.7602, allocations: 3.719 kB / 0.5623 GB, free: 89.99 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003462/0.7636, allocations: 3.335 MB / 0.5656 GB, free: 89.19 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007291/0.7644, allocations: 438.9 kB / 0.566 GB, free: 88.91 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002175/0.7646, allocations: 3.5 kB / 0.566 GB, free: 88.91 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000869/0.7655, allocations: 77.75 kB / 0.5661 GB, free: 88.91 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001322/0.7656, allocations: 91.75 kB / 0.5661 GB, free: 88.89 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.745e-05/0.7657, allocations: 40.3 kB / 0.5662 GB, free: 88.89 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001134/0.7669, allocations: 0.9669 MB / 0.5671 GB, free: 88.48 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.7669, allocations: 0 / 0.5671 GB, free: 88.48 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001498/0.7684, allocations: 464.4 kB / 0.5676 GB, free: 88.47 MB / 410.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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (133): * Single equations (assignments): 129 * 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.0004897/0.7689, allocations: 385.2 kB / 0.5679 GB, free: 88.36 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002614/0.7715, allocations: 2.318 MB / 0.5702 GB, free: 87.35 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.7715, allocations: 2.844 kB / 0.5702 GB, free: 87.35 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00134/0.7729, allocations: 1.354 MB / 0.5715 GB, free: 86.63 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001657/0.7745, allocations: 373.6 kB / 0.5719 GB, free: 86.55 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005318/0.7799, allocations: 3.893 MB / 0.5757 GB, free: 85 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001293/0.7812, allocations: 2.068 MB / 0.5777 GB, free: 84.06 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.00139/0.7826, allocations: 0.5237 MB / 0.5782 GB, free: 84.01 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003728/0.7829, allocations: 136 kB / 0.5783 GB, free: 84 MB / 410.7 MB Notification: Performance of SimCode: time 6.91e-07/0.783, allocations: 3.719 kB / 0.5783 GB, free: 84 MB / 410.7 MB Notification: Performance of Templates: time 0.03174/0.8147, allocations: 21.72 MB / 0.5996 GB, free: 79.39 MB / 410.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