Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.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.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|resistor.plug_p.reference.gamma|speed.phi",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics") translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|resistor.plug_p.reference.gamma|speed.phi",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00161/0.00161, allocations: 182.3 kB / 18.04 MB, free: 3.781 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.372/1.372, allocations: 205.4 MB / 224.2 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.0007854/0.0007854, allocations: 80.69 kB / 272.5 MB, free: 8.266 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003035/0.0003036, allocations: 8 kB / 329.5 MB, free: 15.24 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2306/0.2309, allocations: 47.57 MB / 377.1 MB, free: 45.64 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3038/0.5348, allocations: 131.3 MB / 0.4964 GB, free: 110.1 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002908/0.5351, allocations: 108.9 kB / 0.4965 GB, free: 110.1 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.114/1.649, allocations: 376.5 MB / 0.8642 GB, free: 46.34 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.945e-06/1.649, allocations: 4 kB / 0.8642 GB, free: 46.34 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0008446/1.65, allocations: 241.5 kB / 0.8644 GB, free: 46.32 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3092 * Number of variables: 3092 Notification: Performance of Generate backend data structure: time 0.03704/1.687, allocations: 10.67 MB / 0.8748 GB, free: 42.97 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.089e-05/1.687, allocations: 7.094 kB / 0.8748 GB, free: 42.97 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03481/1.722, allocations: 6.319 MB / 0.881 GB, free: 42.36 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01965/1.742, allocations: 8.19 MB / 0.889 GB, free: 41.22 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001051/1.743, allocations: 0.7986 MB / 0.8898 GB, free: 41.19 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005252/1.748, allocations: 1.035 MB / 0.8908 GB, free: 41.18 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05254/1.801, allocations: 19.32 MB / 0.9097 GB, free: 39.2 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000594/1.802, allocations: 10.69 kB / 0.9097 GB, free: 39.2 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004662/1.806, allocations: 458.6 kB / 0.9101 GB, free: 38.87 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001003/1.807, allocations: 0.8214 MB / 0.9109 GB, free: 38.68 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03771/1.845, allocations: 18.11 MB / 0.9286 GB, free: 28.55 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3758/2.221, allocations: 61.39 MB / 0.9885 GB, free: 48.15 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02348/2.244, allocations: 25.09 MB / 1.013 GB, free: 35.54 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01512/2.26, allocations: 8.415 MB / 1.021 GB, free: 35.43 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0551/2.315, allocations: 26.51 MB / 1.047 GB, free: 34.68 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001056/2.315, allocations: 105.5 kB / 1.047 GB, free: 34.63 MB / 458.7 MB Notification: Performance of pre-optimization done (n=832): time 1.699e-05/2.315, allocations: 2.406 kB / 1.047 GB, free: 34.63 MB / 458.7 MB Notification: Performance of matching and sorting (n=838): time 0.1093/2.424, allocations: 44.31 MB / 1.091 GB, free: 26.04 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.213e-05/2.424, allocations: 123 kB / 1.091 GB, free: 25.97 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005811/2.43, allocations: 3.052 MB / 1.094 GB, free: 24.86 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001657/2.432, allocations: 137 kB / 1.094 GB, free: 24.74 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0023/2.434, allocations: 3.854 MB / 1.098 GB, free: 21.88 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.004276/2.438, allocations: 2.756 MB / 1.1 GB, free: 19.73 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001684/2.44, allocations: 139.8 kB / 1.1 GB, free: 19.62 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.001091/2.441, allocations: 0.6432 MB / 1.101 GB, free: 19.17 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009699/2.451, allocations: 5.583 MB / 1.106 GB, free: 16.87 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01084/2.462, allocations: 7.074 MB / 1.113 GB, free: 12.23 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02154/2.483, allocations: 13.43 MB / 1.126 GB, free: 15.86 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.347e-05/2.483, allocations: 8 kB / 1.126 GB, free: 15.86 MB / 474.7 MB Notification: Performance of matching and sorting (n=1044) (initialization): time 0.03745/2.521, allocations: 16.3 MB / 1.142 GB, free: 1.754 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.172e-05/2.521, allocations: 20 kB / 1.142 GB, free: 1.734 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001411/2.521, allocations: 40 kB / 1.142 GB, free: 1.695 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01247/2.534, allocations: 5.102 MB / 1.147 GB, free: 13.76 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006605/2.54, allocations: 1.337 MB / 1.149 GB, free: 12.73 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01733/2.558, allocations: 12.38 MB / 1.161 GB, free: 1.48 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006079/2.564, allocations: 425.6 kB / 1.161 GB, free: 1.172 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002134/2.566, allocations: 319.2 kB / 1.162 GB, free: 0.8828 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 172 * 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 (704): * Single equations (assignments): 638 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 60 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 6 {6 9,6 9,6 9,6 9,6 9,18 115} Notification: Performance of prepare postOptimizeDAE: time 0.2916/2.858, allocations: 4.944 MB / 1.166 GB, free: 88.22 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00164/2.859, allocations: 0.4897 MB / 1.167 GB, free: 88.22 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02744/2.887, allocations: 16.08 MB / 1.183 GB, free: 87.88 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.02773/2.915, allocations: 14.3 MB / 1.196 GB, free: 87.59 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.802e-05/2.915, allocations: 7.719 kB / 1.197 GB, free: 87.59 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001542/2.915, allocations: 34.22 kB / 1.197 GB, free: 87.59 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07186/2.987, allocations: 30.83 MB / 1.227 GB, free: 83.08 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.000143/2.987, allocations: 0 / 1.227 GB, free: 83.08 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.009482/2.996, allocations: 1.014 MB / 1.228 GB, free: 83.05 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01368/3.01, allocations: 4.834 MB / 1.232 GB, free: 81.68 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001709/3.012, allocations: 179.8 kB / 1.233 GB, free: 81.57 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01272/3.025, allocations: 12.19 MB / 1.244 GB, free: 74.55 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.039e-06/3.025, allocations: 2.109 kB / 1.244 GB, free: 74.55 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03795/3.063, allocations: 23.79 MB / 1.268 GB, free: 64.2 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004471/3.067, allocations: 1.811 MB / 1.269 GB, free: 63.34 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001994/3.069, allocations: 122.2 kB / 1.27 GB, free: 63.24 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004622/3.074, allocations: 366 kB / 1.27 GB, free: 63.15 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002468/3.076, allocations: 0.5915 MB / 1.27 GB, free: 63.03 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001068/3.077, allocations: 229.9 kB / 1.271 GB, free: 62.98 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.00406/3.081, allocations: 2.041 MB / 1.273 GB, free: 62.21 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.61e-07/3.081, allocations: 3.844 kB / 1.273 GB, free: 62.21 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.009024/3.09, allocations: 1.992 MB / 1.275 GB, free: 61.99 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (speed.phi,resistor.resistor[1].pin_p.reference.gamma) * 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 (538): * Single equations (assignments): 472 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 60 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 6 {6 9,6 9,6 9,6 9,6 9,17 116} Notification: Performance of Backend phase and start with SimCode phase: time 0.002165/3.093, allocations: 0.5685 MB / 1.275 GB, free: 61.8 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.02396/3.117, allocations: 13.6 MB / 1.288 GB, free: 50.84 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 6.973e-06/3.117, allocations: 0 / 1.288 GB, free: 50.84 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01319/3.13, allocations: 7.078 MB / 1.295 GB, free: 44.77 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008459/3.138, allocations: 1.079 MB / 1.296 GB, free: 43.93 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04951/3.188, allocations: 27.41 MB / 1.323 GB, free: 19.17 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0136/3.202, allocations: 7.211 MB / 1.33 GB, free: 13.53 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.007718/3.209, allocations: 1.844 MB / 1.332 GB, free: 12.26 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002132/3.212, allocations: 373.7 kB / 1.332 GB, free: 11.91 MB / 490.7 MB Notification: Performance of SimCode: time 3.717e-06/3.212, allocations: 0 / 1.332 GB, free: 11.91 MB / 490.7 MB Notification: Performance of Templates: time 0.4344/3.646, allocations: 131.3 MB / 1.461 GB, free: 40.83 MB / 490.7 MB make -j1 -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.makefile (rm -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.sim & ./Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMS_Characteristics/IMS_Characteristics.csv","../files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches