Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/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_trunk_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_trunk_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001/0.001, allocations: 196.2 kB / 17.05 MB, free: 4.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.247/1.247, allocations: 226.6 MB / 244.3 MB, free: 8.277 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000892/0.0008919, allocations: 101.5 kB / 296.4 MB, free: 7.023 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002695/0.0002696, allocations: 4 kB / 356.2 MB, free: 11.21 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2687/0.269, allocations: 51.29 MB / 407.5 MB, free: 27.84 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics): time 0.01569/0.2847, allocations: 21.54 MB / 429.1 MB, free: 6.219 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01114/0.2959, allocations: 6.829 MB / 435.9 MB, free: 15.39 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003832/0.2998, allocations: 167.5 kB / 436.1 MB, free: 15.22 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003981/0.3038, allocations: 1.352 MB / 437.4 MB, free: 13.86 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006674/0.3104, allocations: 2.395 MB / 439.8 MB, free: 11.46 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003169/0.3136, allocations: 1.155 MB / 441 MB, free: 10.32 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.01558/0.3292, allocations: 13.28 MB / 454.2 MB, free: 13 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03379/0.363, allocations: 17.99 MB / 472.2 MB, free: 10.91 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00686/0.3699, allocations: 4.198 MB / 476.4 MB, free: 6.703 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007332/0.3773, allocations: 4.577 MB / 481 MB, free: 2.109 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001862/0.3792, allocations: 0.6406 MB / 481.6 MB, free: 1.469 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004046/0.3833, allocations: 1.003 MB / 482.7 MB, free: 476 kB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002636/0.3859, allocations: 1.904 MB / 484.6 MB, free: 14.55 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003887/0.3898, allocations: 2.048 MB / 486.6 MB, free: 12.49 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01942/0.4093, allocations: 18.99 MB / 0.4937 GB, free: 9.449 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.001e-06/0.4093, allocations: 0 / 0.4937 GB, free: 9.449 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.094e-06/0.4093, allocations: 0 / 0.4937 GB, free: 9.449 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0005597/0.4099, allocations: 0 / 0.4937 GB, free: 9.449 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: 2620 * Number of variables: 2620 Notification: Performance of Generate backend data structure: time 0.3265/0.7363, allocations: 10.8 MB / 0.5043 GB, free: 74.98 MB / 378.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.22e-05/0.7364, allocations: 8.969 kB / 0.5043 GB, free: 74.98 MB / 378.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03124/0.7676, allocations: 6.19 MB / 0.5103 GB, free: 73.91 MB / 378.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01155/0.7792, allocations: 6.672 MB / 0.5169 GB, free: 69.31 MB / 378.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006343/0.7799, allocations: 0.7039 MB / 0.5175 GB, free: 69 MB / 378.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002893/0.7828, allocations: 0.9328 MB / 0.5185 GB, free: 68.68 MB / 378.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03547/0.8183, allocations: 15.69 MB / 0.5338 GB, free: 54.92 MB / 378.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002565/0.8186, allocations: 15.84 kB / 0.5338 GB, free: 54.91 MB / 378.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001614/0.8202, allocations: 391.5 kB / 0.5342 GB, free: 54.54 MB / 378.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004041/0.8206, allocations: 0.5517 MB / 0.5347 GB, free: 53.98 MB / 378.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02771/0.8483, allocations: 14.7 MB / 0.5491 GB, free: 39.25 MB / 378.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07753/0.9259, allocations: 52.75 MB / 0.6006 GB, free: 1.352 MB / 394.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0253/0.9513, allocations: 26.45 MB / 0.6264 GB, free: 3.836 MB / 426.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005734/0.9571, allocations: 3.26 MB / 0.6296 GB, free: 0.5742 MB / 426.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004321/0.9575, allocations: 250.3 kB / 0.6298 GB, free: 312 kB / 426.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.651e-05/0.9576, allocations: 69.7 kB / 0.6299 GB, free: 232 kB / 426.8 MB Notification: Performance of pre-optimization done (n=404): time 5.731e-06/0.9576, allocations: 4 kB / 0.6299 GB, free: 228 kB / 426.8 MB Notification: Performance of matching and sorting (n=410): time 0.04676/1.004, allocations: 19.25 MB / 0.6487 GB, free: 12.91 MB / 458.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.857e-05/1.004, allocations: 94.59 kB / 0.6488 GB, free: 12.8 MB / 458.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005739/1.01, allocations: 3.657 MB / 0.6524 GB, free: 9.145 MB / 458.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0004881/1.011, allocations: 89.7 kB / 0.6524 GB, free: 9.051 MB / 458.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.002765/1.014, allocations: 3.977 MB / 0.6563 GB, free: 5.047 MB / 458.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.001425/1.015, allocations: 1.399 MB / 0.6577 GB, free: 3.66 MB / 458.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002911/1.015, allocations: 116 kB / 0.6578 GB, free: 3.547 MB / 458.8 MB Notification: Performance of setup shared object (initialization): time 0.0003719/1.016, allocations: 0.5421 MB / 0.6583 GB, free: 2.996 MB / 458.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004394/1.02, allocations: 2.811 MB / 0.6611 GB, free: 184 kB / 458.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006154/1.026, allocations: 4.981 MB / 0.6659 GB, free: 10.2 MB / 474.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006764/1.033, allocations: 3.968 MB / 0.6698 GB, free: 6.227 MB / 474.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.441e-05/1.033, allocations: 20 kB / 0.6698 GB, free: 6.207 MB / 474.8 MB Notification: Performance of matching and sorting (n=758) (initialization): time 0.249/1.282, allocations: 9.113 MB / 0.6787 GB, free: 151.8 MB / 474.8 MB Notification: Performance of prepare postOptimizeDAE: time 7.448e-05/1.282, allocations: 37.44 kB / 0.6788 GB, free: 151.8 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001256/1.282, allocations: 69.31 kB / 0.6788 GB, free: 151.8 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003262/1.286, allocations: 1.206 MB / 0.68 GB, free: 151.8 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004653/1.29, allocations: 1.326 MB / 0.6813 GB, free: 151.8 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01222/1.302, allocations: 9.104 MB / 0.6902 GB, free: 147.1 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003827/1.306, allocations: 333.2 kB / 0.6905 GB, free: 147 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005277/1.307, allocations: 286.6 kB / 0.6908 GB, free: 147 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 () * Number of clocked 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.8%) 44} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.004745/1.312, allocations: 3.71 MB / 0.6944 GB, free: 145.2 MB / 474.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007223/1.312, allocations: 402.1 kB / 0.6948 GB, free: 145.2 MB / 474.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01033/1.323, allocations: 6.754 MB / 0.7014 GB, free: 142.6 MB / 474.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.007943/1.331, allocations: 5.634 MB / 0.7069 GB, free: 140.4 MB / 474.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.57e-05/1.331, allocations: 14.06 kB / 0.7069 GB, free: 140.4 MB / 474.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-05/1.331, allocations: 18.94 kB / 0.7069 GB, free: 140.4 MB / 474.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02216/1.353, allocations: 16.16 MB / 0.7227 GB, free: 127.9 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.554e-05/1.353, allocations: 8 kB / 0.7227 GB, free: 127.9 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002636/1.356, allocations: 0.7339 MB / 0.7234 GB, free: 127.2 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002682/1.358, allocations: 1.07 MB / 0.7245 GB, free: 126.1 MB / 474.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003652/1.359, allocations: 95.97 kB / 0.7246 GB, free: 126 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009552/1.368, allocations: 8.049 MB / 0.7324 GB, free: 118 MB / 474.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.401e-06/1.368, allocations: 9.688 kB / 0.7324 GB, free: 117.9 MB / 474.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01246/1.381, allocations: 9.924 MB / 0.7421 GB, free: 108 MB / 474.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001953/1.383, allocations: 0.9683 MB / 0.7431 GB, free: 107 MB / 474.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004923/1.383, allocations: 76 kB / 0.7431 GB, free: 107 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001808/1.385, allocations: 211.9 kB / 0.7434 GB, free: 106.8 MB / 474.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004801/1.386, allocations: 287.3 kB / 0.7436 GB, free: 106.5 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002123/1.386, allocations: 132 kB / 0.7438 GB, free: 106.4 MB / 474.8 MB Notification: Performance of sorting global known variables: time 0.003253/1.389, allocations: 2.46 MB / 0.7462 GB, free: 103.9 MB / 474.8 MB Notification: Performance of sort global known variables: time 1.81e-07/1.389, allocations: 0 / 0.7462 GB, free: 103.9 MB / 474.8 MB Notification: Performance of remove unused functions: time 0.004804/1.394, allocations: 1.613 MB / 0.7477 GB, free: 102.3 MB / 474.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 () * Number of clocked 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,41.3%) 44} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005951/1.394, allocations: 289.6 kB / 0.748 GB, free: 102 MB / 474.8 MB Notification: Performance of simCode: created initialization part: time 0.009895/1.404, allocations: 7.165 MB / 0.755 GB, free: 94.84 MB / 474.8 MB Notification: Performance of simCode: created event and clocks part: time 6.573e-06/1.404, allocations: 0 / 0.755 GB, free: 94.84 MB / 474.8 MB Notification: Performance of simCode: created simulation system equations: time 0.004815/1.409, allocations: 3.413 MB / 0.7583 GB, free: 91.42 MB / 474.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004226/1.413, allocations: 0.944 MB / 0.7593 GB, free: 90.5 MB / 474.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02407/1.438, allocations: 19.48 MB / 0.7783 GB, free: 70.92 MB / 474.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004783/1.442, allocations: 6.003 MB / 0.7841 GB, free: 64.88 MB / 474.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001678/1.444, allocations: 379.4 kB / 0.7845 GB, free: 64.5 MB / 474.8 MB Notification: Performance of SimCode: time 1.413e-06/1.444, allocations: 0 / 0.7845 GB, free: 64.5 MB / 474.8 MB Notification: Performance of Templates: time 0.361/1.805, allocations: 157.1 MB / 0.9379 GB, free: 94.24 MB / 490.8 MB make -j1 -f Modelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.makefile (rm -f Modelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe ; mkfifo Modelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe ; head -c 1048576 < Modelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe >> ../files/Modelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.sim & ./Modelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics --alarm=480 -emit_protected > Modelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe 2>&1) diffSimulationResults("Modelica_trunk_cpp_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_trunk_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches