Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|imcQS.rotorCage.port_p.reference.gamma|speed.phi",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics") translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|imcQS.rotorCage.port_p.reference.gamma|speed.phi",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001239/0.001239, allocations: 176.2 kB / 8.348 MB, free: 0.7266 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.375/1.375, allocations: 221.5 MB / 230.3 MB, free: 7.578 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009538/0.0009538, allocations: 87.59 kB / 281.2 MB, free: 5.336 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.47e-05/1.464e-05, allocations: 4 kB / 337.1 MB, free: 10.02 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1041/0.1041, allocations: 50.41 MB / 387.5 MB, free: 7.57 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3787/0.4829, allocations: 126.4 MB / 0.5018 GB, free: 396 kB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002652/0.4832, allocations: 103.9 kB / 0.5019 GB, free: 292 kB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.079/1.563, allocations: 333.8 MB / 0.8279 GB, free: 27.8 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.663e-06/1.563, allocations: 0 / 0.8279 GB, free: 27.8 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0005225/1.563, allocations: 199.8 kB / 0.828 GB, free: 27.61 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2620 * Number of variables: 2620 Notification: Performance of Generate backend data structure: time 0.03294/1.596, allocations: 8.945 MB / 0.8368 GB, free: 18.59 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.784e-05/1.596, allocations: 11.98 kB / 0.8368 GB, free: 18.58 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02288/1.619, allocations: 4.211 MB / 0.8409 GB, free: 14.36 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01911/1.638, allocations: 8.043 MB / 0.8488 GB, free: 6.344 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006696/1.639, allocations: 296 kB / 0.849 GB, free: 6.055 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004246/1.643, allocations: 0.5232 MB / 0.8496 GB, free: 5.535 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02499/1.668, allocations: 12.24 MB / 0.8615 GB, free: 9.293 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.5703/2.239, allocations: 13.96 MB / 0.8751 GB, free: 36.79 MB / 442.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003423/2.239, allocations: 16.33 kB / 0.8751 GB, free: 36.79 MB / 442.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002295/2.241, allocations: 6.188 kB / 0.8752 GB, free: 36.79 MB / 442.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008879/2.242, allocations: 0.7239 MB / 0.8759 GB, free: 36.77 MB / 442.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08544/2.328, allocations: 50.49 MB / 0.9252 GB, free: 28.2 MB / 442.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02484/2.353, allocations: 27.28 MB / 0.9518 GB, free: 22.93 MB / 458.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005159/2.358, allocations: 3.352 MB / 0.9551 GB, free: 22.85 MB / 458.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004535/2.358, allocations: 163 kB / 0.9552 GB, free: 22.75 MB / 458.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.438e-05/2.358, allocations: 76.33 kB / 0.9553 GB, free: 22.68 MB / 458.8 MB Notification: Performance of pre-optimization done (n=404): time 6.903e-06/2.358, allocations: 0 / 0.9553 GB, free: 22.68 MB / 458.8 MB Notification: Performance of matching and sorting (n=410): time 0.02645/2.385, allocations: 14.56 MB / 0.9695 GB, free: 16.85 MB / 458.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.933e-05/2.385, allocations: 99.45 kB / 0.9696 GB, free: 16.78 MB / 458.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004016/2.389, allocations: 2.881 MB / 0.9724 GB, free: 15.61 MB / 458.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0005381/2.389, allocations: 25.7 kB / 0.9725 GB, free: 15.58 MB / 458.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.001684/2.391, allocations: 3.989 MB / 0.9763 GB, free: 12.57 MB / 458.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.001267/2.392, allocations: 1.339 MB / 0.9777 GB, free: 11.52 MB / 458.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002958/2.393, allocations: 0 / 0.9777 GB, free: 11.52 MB / 458.8 MB Notification: Performance of setup shared object (initialization): time 0.0003511/2.393, allocations: 0.5395 MB / 0.9782 GB, free: 11.11 MB / 458.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003326/2.396, allocations: 2.768 MB / 0.9809 GB, free: 9.961 MB / 458.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004386/2.401, allocations: 4.876 MB / 0.9856 GB, free: 6.078 MB / 458.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007886/2.409, allocations: 4.769 MB / 0.9903 GB, free: 4.328 MB / 458.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.847e-05/2.409, allocations: 22.41 kB / 0.9903 GB, free: 4.328 MB / 458.8 MB Notification: Performance of matching and sorting (n=758) (initialization): time 0.01961/2.429, allocations: 9.417 MB / 0.9995 GB, free: 1.281 MB / 458.8 MB Notification: Performance of prepare postOptimizeDAE: time 7.657e-05/2.429, allocations: 38.09 kB / 0.9996 GB, free: 1.277 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001863/2.429, allocations: 72.62 kB / 0.9996 GB, free: 1.277 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003113/2.432, allocations: 1.19 MB / 1.001 GB, free: 1.051 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005261/2.437, allocations: 1.355 MB / 1.002 GB, free: 1.008 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01376/2.451, allocations: 8.856 MB / 1.011 GB, free: 12.67 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004711/2.456, allocations: 267.3 kB / 1.011 GB, free: 12.65 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009811/2.457, allocations: 277 kB / 1.011 GB, free: 12.61 MB / 474.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 319 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (697): * Single equations (assignments): 692 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(14,41.3%) 44} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0009562/2.458, allocations: 296 kB / 1.012 GB, free: 12.44 MB / 474.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008433/2.459, allocations: 383.1 kB / 1.012 GB, free: 12.24 MB / 474.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01288/2.471, allocations: 7.282 MB / 1.019 GB, free: 9.59 MB / 474.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01168/2.483, allocations: 6.251 MB / 1.025 GB, free: 6.629 MB / 474.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.028e-05/2.483, allocations: 8 kB / 1.025 GB, free: 6.621 MB / 474.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.39e-05/2.483, allocations: 19.59 kB / 1.025 GB, free: 6.621 MB / 474.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03179/2.515, allocations: 15.83 MB / 1.041 GB, free: 9.586 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-05/2.515, allocations: 8.344 kB / 1.041 GB, free: 9.582 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003291/2.518, allocations: 0.7617 MB / 1.041 GB, free: 8.953 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00298/2.521, allocations: 1.061 MB / 1.042 GB, free: 8.152 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005858/2.522, allocations: 30.38 kB / 1.042 GB, free: 8.129 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01186/2.534, allocations: 7.796 MB / 1.05 GB, free: 1.27 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.055e-05/2.534, allocations: 7.938 kB / 1.05 GB, free: 1.262 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3103/2.844, allocations: 11.89 MB / 1.062 GB, free: 84.62 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002968/2.847, allocations: 0.9855 MB / 1.063 GB, free: 84.53 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009011/2.848, allocations: 10.2 kB / 1.063 GB, free: 84.53 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002368/2.851, allocations: 177.5 kB / 1.063 GB, free: 84.53 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000542/2.851, allocations: 289.5 kB / 1.063 GB, free: 84.52 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002817/2.852, allocations: 121.1 kB / 1.063 GB, free: 84.52 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.004194/2.856, allocations: 2.102 MB / 1.065 GB, free: 84.38 MB / 490.8 MB Notification: Performance of sort global known variables: time 1.8e-07/2.856, allocations: 2.531 kB / 1.065 GB, free: 84.38 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.007341/2.863, allocations: 1.46 MB / 1.067 GB, free: 84.38 MB / 490.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * Number of states: 2 (imcQS.rotorCage.port_p.reference.gamma,speed.phi) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (392): * Single equations (assignments): 387 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(14,39.8%) 44} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001102/2.864, allocations: 421.2 kB / 1.067 GB, free: 84.29 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.01201/2.876, allocations: 6.952 MB / 1.074 GB, free: 84.03 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 1.359e-05/2.876, allocations: 2.406 kB / 1.074 GB, free: 84.03 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.006722/2.883, allocations: 3.373 MB / 1.077 GB, free: 83.86 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00521/2.888, allocations: 0.6931 MB / 1.078 GB, free: 83.84 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02869/2.917, allocations: 14.22 MB / 1.092 GB, free: 81.29 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006746/2.924, allocations: 6.343 MB / 1.098 GB, free: 80.39 MB / 490.8 MB Notification: Performance of simCode: alias equations: time 0.006133/2.93, allocations: 1.901 MB / 1.1 GB, free: 80.32 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001134/2.931, allocations: 337.3 kB / 1.1 GB, free: 80.32 MB / 490.8 MB Notification: Performance of SimCode: time 8.72e-07/2.931, allocations: 0 / 1.1 GB, free: 80.32 MB / 490.8 MB Notification: Performance of Templates: time 0.09703/3.028, allocations: 60.45 MB / 1.159 GB, free: 68.12 MB / 490.8 MB make -j1 -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.makefile (rm -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.sim & ./Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMC_Characteristics/IMC_Characteristics.csv","../files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches