Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) 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) 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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_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_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009547/0.0009547, allocations: 98.17 kB / 16.99 MB, free: 5.941 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009828/0.0009826, allocations: 204.2 kB / 17.9 MB, free: 5.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.288/1.288, allocations: 227.2 MB / 245.9 MB, free: 10.34 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002109/0.0002109, allocations: 8 kB / 306.6 MB, free: 1.359 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09509/0.09532, allocations: 51.49 MB / 358.1 MB, free: 13.87 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics): time 0.1914/0.2867, allocations: 19.86 MB / 378 MB, free: 9.336 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01339/0.3002, allocations: 7.027 MB / 385 MB, free: 7.5 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004135/0.3044, allocations: 160 kB / 385.1 MB, free: 7.469 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004915/0.3093, allocations: 1.498 MB / 386.6 MB, free: 6.773 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008329/0.3176, allocations: 2.477 MB / 389.1 MB, free: 5.172 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004058/0.3217, allocations: 1.212 MB / 390.3 MB, free: 4.445 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.01561/0.3373, allocations: 9.958 MB / 400.3 MB, free: 15.59 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03854/0.3759, allocations: 17.78 MB / 418.1 MB, free: 0.5703 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00745/0.3834, allocations: 3.855 MB / 421.9 MB, free: 12.7 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006885/0.3903, allocations: 4.164 MB / 426.1 MB, free: 8.516 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002206/0.3926, allocations: 0.6406 MB / 426.7 MB, free: 7.875 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004274/0.3968, allocations: 0.9564 MB / 427.7 MB, free: 6.922 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003183/0.4, allocations: 1.849 MB / 429.5 MB, free: 5.066 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00375/0.4038, allocations: 2.044 MB / 431.6 MB, free: 3.012 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01907/0.4229, allocations: 18.96 MB / 450.5 MB, free: 8 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.4229, allocations: 4 kB / 450.5 MB, free: 4 kB / 350.1 MB Notification: Performance of FrontEnd: time 2.244e-06/0.423, allocations: 0 / 450.5 MB, free: 4 kB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0005607/0.4235, allocations: 0 / 450.5 MB, free: 4 kB / 350.1 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.03004/0.4536, allocations: 10.74 MB / 461.3 MB, free: 5.164 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.969e-05/0.4536, allocations: 12.03 kB / 461.3 MB, free: 5.152 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03474/0.4884, allocations: 6.11 MB / 467.4 MB, free: 15.02 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01645/0.5049, allocations: 6.676 MB / 474.1 MB, free: 8.289 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007259/0.5056, allocations: 0.6985 MB / 474.8 MB, free: 7.59 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003188/0.5088, allocations: 0.9178 MB / 475.7 MB, free: 6.672 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03612/0.545, allocations: 15.61 MB / 491.3 MB, free: 6.992 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003689/0.5454, allocations: 15.81 kB / 491.3 MB, free: 6.977 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002496/0.5479, allocations: 388 kB / 491.7 MB, free: 6.598 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000596/0.5485, allocations: 0.5625 MB / 492.3 MB, free: 6.031 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02996/0.5785, allocations: 14.71 MB / 0.4951 GB, free: 7.293 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4232/1.002, allocations: 52.72 MB / 0.5466 GB, free: 102.2 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02145/1.023, allocations: 26.44 MB / 0.5724 GB, free: 81.02 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007664/1.024, allocations: 257.9 kB / 0.5726 GB, free: 80.82 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.108e-05/1.024, allocations: 78.83 kB / 0.5727 GB, free: 80.78 MB / 446.1 MB Notification: Performance of pre-optimization done (n=404): time 6.301e-06/1.024, allocations: 0 / 0.5727 GB, free: 80.78 MB / 446.1 MB Notification: Performance of matching and sorting (n=410): time 0.0357/1.06, allocations: 17.63 MB / 0.5899 GB, free: 76.18 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.764e-05/1.06, allocations: 92.59 kB / 0.59 GB, free: 76.12 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005047/1.065, allocations: 3.653 MB / 0.5936 GB, free: 74.73 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0007168/1.066, allocations: 88.77 kB / 0.5937 GB, free: 74.65 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001749/1.067, allocations: 3.97 MB / 0.5975 GB, free: 71.67 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001357/1.069, allocations: 1.405 MB / 0.5989 GB, free: 70.54 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002898/1.069, allocations: 114.2 kB / 0.599 GB, free: 70.45 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0002679/1.069, allocations: 0.5406 MB / 0.5996 GB, free: 69.97 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003787/1.073, allocations: 2.827 MB / 0.6023 GB, free: 68.43 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004823/1.078, allocations: 4.981 MB / 0.6072 GB, free: 63.99 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004984/1.083, allocations: 3.979 MB / 0.6111 GB, free: 61.75 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.095e-05/1.083, allocations: 23.66 kB / 0.6111 GB, free: 61.75 MB / 446.1 MB Notification: Performance of matching and sorting (n=758) (initialization): time 0.01358/1.097, allocations: 9.14 MB / 0.62 GB, free: 56.56 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.361e-05/1.097, allocations: 32 kB / 0.62 GB, free: 56.53 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.192e-05/1.097, allocations: 76.53 kB / 0.6201 GB, free: 56.46 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002854/1.1, allocations: 1.206 MB / 0.6213 GB, free: 55.25 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004606/1.104, allocations: 1.322 MB / 0.6226 GB, free: 53.92 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01195/1.116, allocations: 9.378 MB / 0.6317 GB, free: 44.41 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004423/1.121, allocations: 331.4 kB / 0.6321 GB, free: 44.09 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009065/1.122, allocations: 288 kB / 0.6323 GB, free: 43.8 MB / 446.1 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.00613/1.128, allocations: 3.712 MB / 0.636 GB, free: 40.08 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000936/1.129, allocations: 403 kB / 0.6363 GB, free: 39.68 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009998/1.139, allocations: 6.772 MB / 0.643 GB, free: 32.88 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.007678/1.147, allocations: 5.67 MB / 0.6485 GB, free: 27.18 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.67e-05/1.147, allocations: 8 kB / 0.6485 GB, free: 27.17 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.772e-05/1.147, allocations: 27.86 kB / 0.6485 GB, free: 27.14 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02481/1.171, allocations: 16.19 MB / 0.6643 GB, free: 10.8 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.519e-05/1.171, allocations: 12.12 kB / 0.6644 GB, free: 10.79 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002718/1.174, allocations: 0.7255 MB / 0.6651 GB, free: 10.06 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002708/1.177, allocations: 1.074 MB / 0.6661 GB, free: 8.977 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003253/1.177, allocations: 87.98 kB / 0.6662 GB, free: 8.891 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01079/1.188, allocations: 8.326 MB / 0.6743 GB, free: 452 kB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.589e-06/1.188, allocations: 4 kB / 0.6743 GB, free: 448 kB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01639/1.205, allocations: 10.43 MB / 0.6845 GB, free: 5.781 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002863/1.207, allocations: 0.9683 MB / 0.6855 GB, free: 4.789 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008531/1.208, allocations: 80 kB / 0.6855 GB, free: 4.711 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002155/1.21, allocations: 215.8 kB / 0.6857 GB, free: 4.5 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006642/1.211, allocations: 283.3 kB / 0.686 GB, free: 4.223 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002614/1.211, allocations: 124 kB / 0.6861 GB, free: 4.102 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.004644/1.216, allocations: 2.452 MB / 0.6885 GB, free: 1.66 MB / 462.1 MB Notification: Performance of sort global known variables: time 6.41e-07/1.216, allocations: 0 / 0.6885 GB, free: 1.66 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.007601/1.224, allocations: 1.612 MB / 0.6901 GB, free: 52 kB / 462.1 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.0009513/1.225, allocations: 283.1 kB / 0.6904 GB, free: 15.78 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.01226/1.237, allocations: 7.199 MB / 0.6974 GB, free: 8.566 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 8.526e-06/1.237, allocations: 4 kB / 0.6974 GB, free: 8.562 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006512/1.244, allocations: 3.431 MB / 0.7008 GB, free: 5.121 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004764/1.248, allocations: 0.8626 MB / 0.7016 GB, free: 4.277 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03771/1.286, allocations: 19.7 MB / 0.7208 GB, free: 484 kB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2135/1.5, allocations: 6.337 MB / 0.727 GB, free: 158.7 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.006839/1.506, allocations: 1.913 MB / 0.7289 GB, free: 158.6 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001439/1.508, allocations: 342.2 kB / 0.7292 GB, free: 158.6 MB / 494.1 MB Notification: Performance of SimCode: time 9.12e-07/1.508, allocations: 0 / 0.7292 GB, free: 158.6 MB / 494.1 MB Notification: Performance of Templates: time 0.09854/1.607, allocations: 64.33 MB / 0.792 GB, free: 118.2 MB / 494.1 MB make -j1 -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.makefile (rm -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.sim & ./Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches