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.001162/0.001161, allocations: 172.9 kB / 14.1 MB, free: 1.223 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.607/1.607, allocations: 205.2 MB / 219.8 MB, free: 14.21 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.0008608/0.0008608, allocations: 74.72 kB / 268 MB, free: 14.04 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.968e-05/2.971e-05, allocations: 0 / 322.5 MB, free: 17.33 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1012/0.1013, allocations: 47.59 MB / 370.1 MB, free: 1.684 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3996/0.5009, allocations: 130.7 MB / 0.489 GB, free: 11.38 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002855/0.5013, allocations: 95.31 kB / 0.4891 GB, free: 11.33 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.717/2.218, allocations: 379.4 MB / 0.8597 GB, free: 33.04 MB / 442.8 MB Notification: Performance of FrontEnd: time 2.064e-06/2.218, allocations: 1.344 kB / 0.8597 GB, free: 33.04 MB / 442.8 MB Notification: Performance of Transformations before backend: time 0.0008397/2.219, allocations: 241 kB / 0.8599 GB, free: 33.04 MB / 442.8 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.04259/2.262, allocations: 10.27 MB / 0.8699 GB, free: 30.8 MB / 442.8 MB Notification: Performance of prepare preOptimizeDAE: time 5.991e-05/2.262, allocations: 9.406 kB / 0.87 GB, free: 30.8 MB / 442.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03786/2.3, allocations: 6.287 MB / 0.8761 GB, free: 30.19 MB / 442.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02412/2.324, allocations: 8.746 MB / 0.8846 GB, free: 29.15 MB / 442.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00121/2.325, allocations: 0.7985 MB / 0.8854 GB, free: 29.12 MB / 442.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005336/2.33, allocations: 1.038 MB / 0.8864 GB, free: 29.12 MB / 442.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04851/2.379, allocations: 19.03 MB / 0.905 GB, free: 27.85 MB / 442.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005114/2.38, allocations: 17.92 kB / 0.905 GB, free: 27.85 MB / 442.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004385/2.384, allocations: 455.6 kB / 0.9055 GB, free: 27.85 MB / 442.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009853/2.385, allocations: 0.8135 MB / 0.9063 GB, free: 27.82 MB / 442.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04287/2.428, allocations: 17.83 MB / 0.9237 GB, free: 27.73 MB / 442.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1837/2.612, allocations: 61.28 MB / 0.9835 GB, free: 1.75 MB / 442.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03988/2.652, allocations: 25.7 MB / 1.009 GB, free: 13.09 MB / 474.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01578/2.667, allocations: 8.32 MB / 1.017 GB, free: 5.477 MB / 474.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.3692/3.037, allocations: 26.59 MB / 1.043 GB, free: 62.4 MB / 474.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001146/3.037, allocations: 105.6 kB / 1.043 GB, free: 62.36 MB / 474.8 MB Notification: Performance of pre-optimization done (n=832): time 1.274e-05/3.037, allocations: 0 / 1.043 GB, free: 62.36 MB / 474.8 MB Notification: Performance of matching and sorting (n=838): time 0.04887/3.086, allocations: 27.88 MB / 1.07 GB, free: 60.61 MB / 474.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.652e-05/3.086, allocations: 123.1 kB / 1.07 GB, free: 60.54 MB / 474.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004332/3.09, allocations: 2.672 MB / 1.073 GB, free: 60.29 MB / 474.8 MB Notification: Performance of collectPreVariables (initialization): time 0.001956/3.092, allocations: 137.2 kB / 1.073 GB, free: 60.26 MB / 474.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.002355/3.094, allocations: 3.867 MB / 1.077 GB, free: 58.46 MB / 474.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.003903/3.098, allocations: 2.751 MB / 1.079 GB, free: 56.66 MB / 474.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009388/3.099, allocations: 138.4 kB / 1.079 GB, free: 56.66 MB / 474.8 MB Notification: Performance of setup shared object (initialization): time 0.0006704/3.1, allocations: 0.6391 MB / 1.08 GB, free: 56.34 MB / 474.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00814/3.108, allocations: 5.49 MB / 1.085 GB, free: 56.32 MB / 474.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01063/3.119, allocations: 6.955 MB / 1.092 GB, free: 54.86 MB / 474.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01212/3.131, allocations: 6.644 MB / 1.099 GB, free: 53.59 MB / 474.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001527/3.131, allocations: 14.48 kB / 1.099 GB, free: 53.59 MB / 474.8 MB Notification: Performance of matching and sorting (n=1044) (initialization): time 0.03126/3.162, allocations: 16.09 MB / 1.114 GB, free: 47.18 MB / 474.8 MB Notification: Performance of prepare postOptimizeDAE: time 5.277e-05/3.163, allocations: 22.69 kB / 1.114 GB, free: 47.18 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.714e-05/3.163, allocations: 38.19 kB / 1.115 GB, free: 47.18 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008267/3.171, allocations: 4.985 MB / 1.119 GB, free: 45.77 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005933/3.177, allocations: 1.341 MB / 1.121 GB, free: 45.73 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01192/3.189, allocations: 12.33 MB / 1.133 GB, free: 38.65 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005811/3.195, allocations: 430 kB / 1.133 GB, free: 38.53 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001701/3.196, allocations: 319.8 kB / 1.133 GB, free: 38.46 MB / 474.8 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 () * 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.001536/3.198, allocations: 492.5 kB / 1.134 GB, free: 38.12 MB / 474.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001167/3.199, allocations: 0.4934 MB / 1.134 GB, free: 37.86 MB / 474.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02382/3.223, allocations: 15.92 MB / 1.15 GB, free: 27.99 MB / 474.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.02595/3.249, allocations: 14.11 MB / 1.164 GB, free: 15.55 MB / 474.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.702e-05/3.249, allocations: 3.953 kB / 1.164 GB, free: 15.54 MB / 474.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001616/3.249, allocations: 34.45 kB / 1.164 GB, free: 15.54 MB / 474.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3315/3.581, allocations: 31.46 MB / 1.194 GB, free: 72.45 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.949e-05/3.581, allocations: 3.281 kB / 1.194 GB, free: 72.45 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005861/3.587, allocations: 1.014 MB / 1.195 GB, free: 72.45 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01169/3.598, allocations: 4.809 MB / 1.2 GB, free: 72.36 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001833/3.6, allocations: 179.6 kB / 1.2 GB, free: 72.36 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01316/3.613, allocations: 12.14 MB / 1.212 GB, free: 69.21 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.809e-06/3.613, allocations: 1.219 kB / 1.212 GB, free: 69.21 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04128/3.655, allocations: 23.54 MB / 1.235 GB, free: 68.7 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.006329/3.661, allocations: 1.804 MB / 1.237 GB, free: 68.6 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002919/3.664, allocations: 124.5 kB / 1.237 GB, free: 68.6 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005764/3.67, allocations: 374.5 kB / 1.237 GB, free: 68.6 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002817/3.673, allocations: 0.597 MB / 1.238 GB, free: 68.59 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002029/3.675, allocations: 224.2 kB / 1.238 GB, free: 68.59 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.004353/3.679, allocations: 2.012 MB / 1.24 GB, free: 68.43 MB / 490.8 MB Notification: Performance of sort global known variables: time 4.41e-07/3.679, allocations: 0 / 1.24 GB, free: 68.43 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.01103/3.69, allocations: 1.989 MB / 1.242 GB, free: 68.43 MB / 490.8 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 () * 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.003083/3.693, allocations: 0.6628 MB / 1.243 GB, free: 68.32 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.02457/3.718, allocations: 13.41 MB / 1.256 GB, free: 68 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 5.891e-06/3.718, allocations: 2.031 kB / 1.256 GB, free: 68 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.01359/3.732, allocations: 6.981 MB / 1.263 GB, free: 67.83 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007204/3.739, allocations: 0.9736 MB / 1.264 GB, free: 67.8 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04618/3.785, allocations: 20.93 MB / 1.284 GB, free: 62.3 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01344/3.799, allocations: 7.374 MB / 1.291 GB, free: 59.77 MB / 490.8 MB Notification: Performance of simCode: alias equations: time 0.008162/3.807, allocations: 1.846 MB / 1.293 GB, free: 59.61 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002378/3.809, allocations: 374.7 kB / 1.293 GB, free: 59.58 MB / 490.8 MB Notification: Performance of SimCode: time 1.262e-06/3.809, allocations: 0 / 1.293 GB, free: 59.58 MB / 490.8 MB Notification: Performance of Templates: time 0.461/4.27, allocations: 122.8 MB / 1.413 GB, free: 69.28 MB / 490.8 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/jenkins/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