Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_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.IMC_Characteristics,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|imcQS.rotorCage.port_p.reference.gamma|speed.phi",fileNamePrefix="Modelica_3.2.3_cpp_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_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001855/0.001855, allocations: 179.5 kB / 16.41 MB, free: 5.73 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.559/1.559, allocations: 205.4 MB / 222.5 MB, free: 9.109 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.0008298/0.0008299, allocations: 92.92 kB / 270.9 MB, free: 8.352 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000275/0.0002751, allocations: 12 kB / 327 MB, free: 156 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1961/0.1964, allocations: 47.56 MB / 374.6 MB, free: 45.45 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics): time 0.01588/0.2123, allocations: 21.65 MB / 396.2 MB, free: 27.14 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01151/0.2238, allocations: 6.738 MB / 403 MB, free: 20.39 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00359/0.2275, allocations: 147.5 kB / 403.1 MB, free: 20.24 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003572/0.2311, allocations: 1.352 MB / 404.5 MB, free: 18.88 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006613/0.2377, allocations: 2.455 MB / 406.9 MB, free: 16.42 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002991/0.2407, allocations: 1.168 MB / 408.1 MB, free: 15.26 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.01158/0.2523, allocations: 13.36 MB / 421.4 MB, free: 1.863 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03194/0.2842, allocations: 18.02 MB / 439.5 MB, free: 15.75 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006388/0.2907, allocations: 4.26 MB / 443.7 MB, free: 11.47 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006826/0.2975, allocations: 4.67 MB / 448.4 MB, free: 6.781 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002342/0.2999, allocations: 0.6445 MB / 449 MB, free: 6.137 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004105/0.304, allocations: 0.9917 MB / 450 MB, free: 5.145 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002889/0.3069, allocations: 1.947 MB / 452 MB, free: 3.191 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003359/0.3103, allocations: 2.071 MB / 454 MB, free: 1.109 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01764/0.328, allocations: 18.99 MB / 473 MB, free: 14.07 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.328, allocations: 4 kB / 473 MB, free: 14.06 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.904e-06/0.328, allocations: 0 / 473 MB, free: 14.06 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0005713/0.3286, allocations: 0 / 473 MB, free: 14.06 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2677 * Number of variables: 2677 Notification: Performance of Generate backend data structure: time 0.02792/0.3565, allocations: 10.91 MB / 484 MB, free: 3.055 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.7e-05/0.3566, allocations: 8.031 kB / 484 MB, free: 3.047 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03647/0.3931, allocations: 7.167 MB / 491.1 MB, free: 11.86 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01382/0.4069, allocations: 6.096 MB / 497.2 MB, free: 5.707 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008538/0.4078, allocations: 0.7145 MB / 497.9 MB, free: 4.992 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004088/0.4119, allocations: 0.9412 MB / 498.9 MB, free: 4.051 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3784/0.7904, allocations: 16.15 MB / 0.503 GB, free: 85.01 MB / 378.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002972/0.7907, allocations: 11.69 kB / 0.503 GB, free: 85.01 MB / 378.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002164/0.7929, allocations: 395.7 kB / 0.5033 GB, free: 84.71 MB / 378.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006379/0.7935, allocations: 0.5838 MB / 0.5039 GB, free: 84.64 MB / 378.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02822/0.8218, allocations: 15.39 MB / 0.5189 GB, free: 76.24 MB / 378.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06619/0.888, allocations: 52.96 MB / 0.5707 GB, free: 22.52 MB / 378.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.024/0.912, allocations: 35.48 MB / 0.6053 GB, free: 14.77 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005693/0.9178, allocations: 3.422 MB / 0.6087 GB, free: 11.33 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0181/0.9359, allocations: 10.15 MB / 0.6186 GB, free: 1.195 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.86e-05/0.936, allocations: 64.92 kB / 0.6186 GB, free: 1.121 MB / 410.8 MB Notification: Performance of pre-optimization done (n=303): time 4.688e-06/0.936, allocations: 4 kB / 0.6186 GB, free: 1.117 MB / 410.8 MB Notification: Performance of matching and sorting (n=309): time 0.04227/0.9783, allocations: 17.18 MB / 0.6354 GB, free: 15.8 MB / 442.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.577e-05/0.9784, allocations: 85.77 kB / 0.6355 GB, free: 15.7 MB / 442.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006518/0.9849, allocations: 3.832 MB / 0.6392 GB, free: 11.88 MB / 442.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0005671/0.9855, allocations: 73.7 kB / 0.6393 GB, free: 11.8 MB / 442.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.002796/0.9883, allocations: 4.25 MB / 0.6435 GB, free: 7.52 MB / 442.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.001263/0.9896, allocations: 1.07 MB / 0.6445 GB, free: 6.457 MB / 442.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005433/0.9901, allocations: 108 kB / 0.6446 GB, free: 6.352 MB / 442.8 MB Notification: Performance of setup shared object (initialization): time 0.000404/0.9906, allocations: 0.5254 MB / 0.6451 GB, free: 5.82 MB / 442.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004384/0.995, allocations: 2.576 MB / 0.6476 GB, free: 3.238 MB / 442.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005865/1.001, allocations: 4.937 MB / 0.6525 GB, free: 13.18 MB / 458.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005683/1.007, allocations: 3.698 MB / 0.6561 GB, free: 9.461 MB / 458.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.515e-05/1.007, allocations: 24 kB / 0.6561 GB, free: 9.438 MB / 458.8 MB Notification: Performance of matching and sorting (n=702) (initialization): time 0.0158/1.022, allocations: 8.67 MB / 0.6646 GB, free: 0.7266 MB / 458.8 MB Notification: Performance of prepare postOptimizeDAE: time 8.021e-05/1.023, allocations: 36 kB / 0.6646 GB, free: 0.6914 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000141/1.023, allocations: 80 kB / 0.6647 GB, free: 0.6133 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.1707/1.193, allocations: 1.221 MB / 0.6659 GB, free: 153.3 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004095/1.197, allocations: 1.232 MB / 0.6671 GB, free: 153.3 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01091/1.208, allocations: 9.123 MB / 0.676 GB, free: 149.4 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003574/1.212, allocations: 338.3 kB / 0.6763 GB, free: 149.3 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004106/1.212, allocations: 283.7 kB / 0.6766 GB, free: 149.3 MB / 458.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 361 * 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 (641): * Single equations (assignments): 636 * 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.8%) 44} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.005453/1.218, allocations: 3.733 MB / 0.6802 GB, free: 147.4 MB / 458.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006956/1.219, allocations: 380.8 kB / 0.6806 GB, free: 147.4 MB / 458.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009185/1.228, allocations: 5.866 MB / 0.6863 GB, free: 145.1 MB / 458.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.006652/1.234, allocations: 4.821 MB / 0.691 GB, free: 143.2 MB / 458.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.521e-05/1.234, allocations: 11.84 kB / 0.691 GB, free: 143.2 MB / 458.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.521e-05/1.235, allocations: 15.31 kB / 0.691 GB, free: 143.2 MB / 458.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01802/1.253, allocations: 13.79 MB / 0.7045 GB, free: 137.5 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.139e-05/1.253, allocations: 4 kB / 0.7045 GB, free: 137.5 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00208/1.255, allocations: 0.5618 MB / 0.7051 GB, free: 137.1 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002393/1.257, allocations: 1.081 MB / 0.7061 GB, free: 136.3 MB / 458.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001689/1.257, allocations: 75.73 kB / 0.7062 GB, free: 136.2 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009636/1.267, allocations: 8.048 MB / 0.714 GB, free: 128.5 MB / 458.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.527e-06/1.267, allocations: 4 kB / 0.714 GB, free: 128.5 MB / 458.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0105/1.277, allocations: 8.592 MB / 0.7224 GB, free: 120 MB / 458.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001521/1.279, allocations: 0.8892 MB / 0.7233 GB, free: 119.1 MB / 458.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004043/1.279, allocations: 63.94 kB / 0.7234 GB, free: 119 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001652/1.281, allocations: 187.9 kB / 0.7235 GB, free: 118.8 MB / 458.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003962/1.281, allocations: 222.7 kB / 0.7238 GB, free: 118.6 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001901/1.282, allocations: 108 kB / 0.7239 GB, free: 118.5 MB / 458.8 MB Notification: Performance of sorting global known variables: time 0.002921/1.285, allocations: 2.553 MB / 0.7264 GB, free: 116 MB / 458.8 MB Notification: Performance of sort global known variables: time 1.4e-07/1.285, allocations: 0 / 0.7264 GB, free: 116 MB / 458.8 MB Notification: Performance of remove unused functions: time 0.004406/1.289, allocations: 1.552 MB / 0.7279 GB, free: 114.4 MB / 458.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 2 (imcQS.rotorCage.port_p.reference.gamma,speed.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 (285): * Single equations (assignments): 280 * 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 Backend phase and start with SimCode phase: time 0.0004853/1.29, allocations: 249 kB / 0.7281 GB, free: 114.2 MB / 458.8 MB Notification: Performance of simCode: created initialization part: time 0.008662/1.298, allocations: 6.562 MB / 0.7345 GB, free: 107.6 MB / 458.8 MB Notification: Performance of simCode: created event and clocks part: time 5.681e-06/1.298, allocations: 0.9375 kB / 0.7345 GB, free: 107.6 MB / 458.8 MB Notification: Performance of simCode: created simulation system equations: time 0.004036/1.302, allocations: 2.991 MB / 0.7374 GB, free: 104.6 MB / 458.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003768/1.306, allocations: 0.9038 MB / 0.7383 GB, free: 103.7 MB / 458.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02191/1.328, allocations: 19.2 MB / 0.7571 GB, free: 84.45 MB / 458.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004373/1.332, allocations: 6.039 MB / 0.763 GB, free: 78.37 MB / 458.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001331/1.334, allocations: 355.4 kB / 0.7633 GB, free: 78.02 MB / 458.8 MB Notification: Performance of SimCode: time 1.112e-06/1.334, allocations: 0 / 0.7633 GB, free: 78.02 MB / 458.8 MB Notification: Performance of Templates: time 0.3097/1.643, allocations: 156 MB / 0.9157 GB, free: 83.07 MB / 458.8 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.sim & ./Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_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/IMC_Characteristics/IMC_Characteristics.csv","../files/Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches