Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.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.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_CurrentSource,tolerance=1e-06,outputFormat="mat",numberOfIntervals=40000,variableFilter="time|inertiaLoad.w|speedSensor.flange.phi|smpm.is.1.|smpm.is.2.",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_CurrentSource") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_CurrentSource,tolerance=1e-06,outputFormat="mat",numberOfIntervals=40000,variableFilter="time|inertiaLoad.w|speedSensor.flange.phi|smpm.is.1.|smpm.is.2.",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_CurrentSource") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001332/0.001332, allocations: 183.7 kB / 18.04 MB, free: 3.754 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.338/1.338, allocations: 205.4 MB / 224.2 MB, free: 9.023 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.0007624/0.0007624, allocations: 89.55 kB / 272.5 MB, free: 8.25 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003445/0.0003446, allocations: 8 kB / 329.5 MB, free: 15.25 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2225/0.2229, allocations: 47.56 MB / 377 MB, free: 45.64 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1296/0.3525, allocations: 116.1 MB / 493.1 MB, free: 12.37 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002889/0.3528, allocations: 91.95 kB / 493.2 MB, free: 12.28 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3335/0.6863, allocations: 74.87 MB / 0.5548 GB, free: 63.78 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.442e-06/0.6864, allocations: 0 / 0.5548 GB, free: 63.78 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0002414/0.6866, allocations: 91.86 kB / 0.5549 GB, free: 63.69 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: 826 * Number of variables: 826 Notification: Performance of Generate backend data structure: time 0.008313/0.6949, allocations: 3.442 MB / 0.5582 GB, free: 60.17 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.572e-05/0.695, allocations: 11.98 kB / 0.5582 GB, free: 60.16 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00269/0.6977, allocations: 0.5939 MB / 0.5588 GB, free: 59.56 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005277/0.703, allocations: 2.526 MB / 0.5613 GB, free: 56.98 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001705/0.7032, allocations: 246.6 kB / 0.5615 GB, free: 56.73 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007478/0.7039, allocations: 312.3 kB / 0.5618 GB, free: 56.43 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007001/0.7109, allocations: 4.007 MB / 0.5657 GB, free: 52.28 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.614e-05/0.711, allocations: 11.84 kB / 0.5657 GB, free: 52.27 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004421/0.7115, allocations: 140 kB / 0.5659 GB, free: 52.13 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000106/0.7116, allocations: 146.2 kB / 0.566 GB, free: 51.99 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005203/0.7168, allocations: 3.171 MB / 0.5691 GB, free: 48.81 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01882/0.7357, allocations: 13.44 MB / 0.5822 GB, free: 34.91 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003448/0.7392, allocations: 3.992 MB / 0.5861 GB, free: 30.41 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001429/0.7406, allocations: 1.005 MB / 0.5871 GB, free: 29.4 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004214/0.7449, allocations: 2.677 MB / 0.5897 GB, free: 26.64 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.898e-05/0.7449, allocations: 47.55 kB / 0.5898 GB, free: 26.58 MB / 378.7 MB Notification: Performance of pre-optimization done (n=108): time 3.417e-06/0.7449, allocations: 0 / 0.5898 GB, free: 26.58 MB / 378.7 MB Notification: Performance of matching and sorting (n=142): time 0.01234/0.7573, allocations: 6.393 MB / 0.596 GB, free: 20.09 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.939e-05/0.7574, allocations: 64.72 kB / 0.5961 GB, free: 20.02 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002862/0.7602, allocations: 1.87 MB / 0.5979 GB, free: 18.11 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001098/0.7603, allocations: 53.7 kB / 0.598 GB, free: 18.05 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006701/0.761, allocations: 1.505 MB / 0.5994 GB, free: 16.52 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002889/0.7613, allocations: 496.9 kB / 0.5999 GB, free: 16.03 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.098e-05/0.7614, allocations: 40 kB / 0.5999 GB, free: 15.99 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 8.76e-05/0.7615, allocations: 373.9 kB / 0.6003 GB, free: 15.62 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001068/0.7626, allocations: 0.7613 MB / 0.601 GB, free: 14.86 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001212/0.7638, allocations: 1.362 MB / 0.6024 GB, free: 13.23 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002419/0.7663, allocations: 2.291 MB / 0.6046 GB, free: 10.68 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.488e-06/0.7663, allocations: 4 kB / 0.6046 GB, free: 10.68 MB / 378.7 MB Notification: Performance of matching and sorting (n=233) (initialization): time 0.003298/0.7696, allocations: 2.454 MB / 0.607 GB, free: 8.203 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.301e-05/0.7696, allocations: 12 kB / 0.607 GB, free: 8.191 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.238e-05/0.7696, allocations: 20 kB / 0.607 GB, free: 8.172 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003281/0.77, allocations: 122.9 kB / 0.6072 GB, free: 8.043 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001628/0.7716, allocations: 491.2 kB / 0.6076 GB, free: 7.562 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006818/0.7723, allocations: 1.323 MB / 0.6089 GB, free: 6.102 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001449/0.7738, allocations: 115.8 kB / 0.609 GB, free: 5.988 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001259/0.7739, allocations: 80 kB / 0.6091 GB, free: 5.91 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 85 * 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 (230): * Single equations (assignments): 227 * 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 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001522/0.7754, allocations: 0.9859 MB / 0.6101 GB, free: 4.914 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003595/0.7758, allocations: 205.4 kB / 0.6103 GB, free: 4.711 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002828/0.7786, allocations: 1.95 MB / 0.6122 GB, free: 2.742 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.257e-06/0.7787, allocations: 16 kB / 0.6122 GB, free: 2.727 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/0.7787, allocations: 0 / 0.6122 GB, free: 2.727 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.124e-05/0.7787, allocations: 11.97 kB / 0.6122 GB, free: 2.715 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007379/0.7861, allocations: 5 MB / 0.6171 GB, free: 13.6 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.851e-06/0.7861, allocations: 256 / 0.6171 GB, free: 13.6 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001369/0.7875, allocations: 323.6 kB / 0.6174 GB, free: 13.29 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002786/0.7878, allocations: 94.45 kB / 0.6175 GB, free: 13.18 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.487e-05/0.7879, allocations: 35.94 kB / 0.6175 GB, free: 13.15 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008682/0.7888, allocations: 1.276 MB / 0.6188 GB, free: 11.74 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.537e-06/0.7888, allocations: 4 kB / 0.6188 GB, free: 11.74 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004403/0.7932, allocations: 3.081 MB / 0.6218 GB, free: 8.602 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009059/0.7941, allocations: 470.3 kB / 0.6222 GB, free: 8.121 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003205/0.7944, allocations: 24 kB / 0.6222 GB, free: 8.098 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001024/0.7955, allocations: 91.95 kB / 0.6223 GB, free: 8.008 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001712/0.7957, allocations: 89.08 kB / 0.6224 GB, free: 7.918 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.193e-05/0.7957, allocations: 39.98 kB / 0.6224 GB, free: 7.879 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.001937/0.7977, allocations: 1.266 MB / 0.6237 GB, free: 6.59 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.7977, allocations: 0 / 0.6237 GB, free: 6.59 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001841/0.7995, allocations: 0.578 MB / 0.6242 GB, free: 6.012 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * 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 (141): * Single equations (assignments): 138 * 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 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006455/0.8002, allocations: 470.6 kB / 0.6247 GB, free: 5.551 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.003257/0.8035, allocations: 2.197 MB / 0.6268 GB, free: 3.301 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.436e-06/0.8035, allocations: 384 / 0.6268 GB, free: 3.301 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001522/0.805, allocations: 1.177 MB / 0.628 GB, free: 2.07 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002788/0.8078, allocations: 495.1 kB / 0.6285 GB, free: 1.586 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009988/0.8178, allocations: 6.727 MB / 0.635 GB, free: 10.8 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002258/0.8201, allocations: 2.267 MB / 0.6372 GB, free: 8.5 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001963/0.8221, allocations: 0.5132 MB / 0.6377 GB, free: 7.984 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004906/0.8226, allocations: 151.4 kB / 0.6379 GB, free: 7.836 MB / 410.7 MB Notification: Performance of SimCode: time 6.71e-07/0.8226, allocations: 0 / 0.6379 GB, free: 7.836 MB / 410.7 MB Notification: Performance of Templates: time 0.1927/1.015, allocations: 28.21 MB / 0.6654 GB, free: 88.3 MB / 410.7 MB make -j1 -f Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_CurrentSource.makefile (rm -f Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_CurrentSource.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_CurrentSource.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_CurrentSource.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_CurrentSource.sim & ./Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_CurrentSource -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_CurrentSource.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_CurrentSource_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/FundamentalWave/Examples/BasicMachines/SMPM_CurrentSource/SMPM_CurrentSource.csv","../files/Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_CurrentSource.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches