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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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) 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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001083/0.001083, allocations: 105 kB / 16.62 MB, free: 6.809 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001231/0.001231, allocations: 193.9 kB / 17.55 MB, free: 5.953 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.307/1.307, allocations: 222.9 MB / 241.2 MB, free: 15.49 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001336/0.001336, allocations: 51.48 kB / 300.2 MB, free: 6.199 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08835/0.08971, allocations: 49.45 MB / 349.6 MB, free: 4.746 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics): time 0.1837/0.2734, allocations: 24.31 MB / 373.9 MB, free: 9.895 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01346/0.2869, allocations: 7.243 MB / 381.2 MB, free: 8.922 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006408/0.2934, allocations: 179.8 kB / 381.3 MB, free: 8.887 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01888/0.3124, allocations: 8.338 MB / 389.7 MB, free: 6.531 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00903/0.3214, allocations: 2.646 MB / 392.3 MB, free: 5.488 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00455/0.326, allocations: 1.586 MB / 393.9 MB, free: 4.57 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.01215/0.3381, allocations: 10.69 MB / 404.6 MB, free: 14.27 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03533/0.3735, allocations: 25.28 MB / 429.9 MB, free: 6.055 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009434/0.383, allocations: 5.747 MB / 435.6 MB, free: 300 kB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009752/0.3928, allocations: 6.327 MB / 441.9 MB, free: 9.945 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004434/0.3972, allocations: 1.668 MB / 443.6 MB, free: 8.277 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006158/0.4034, allocations: 2.043 MB / 445.7 MB, free: 6.234 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003745/0.4072, allocations: 3.168 MB / 448.8 MB, free: 3.059 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.009054/0.4162, allocations: 6.098 MB / 454.9 MB, free: 12.94 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02402/0.4403, allocations: 22.23 MB / 477.2 MB, free: 6.648 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.304e-06/0.4403, allocations: 0 / 477.2 MB, free: 6.648 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.944e-06/0.4403, allocations: 0 / 477.2 MB, free: 6.648 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0006189/0.441, allocations: 0 / 477.2 MB, free: 6.648 MB / 382.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.03797/0.4789, allocations: 12.8 MB / 490 MB, free: 9.754 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.123e-05/0.479, allocations: 8.031 kB / 490 MB, free: 9.746 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03491/0.5139, allocations: 6.15 MB / 496.1 MB, free: 3.578 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01312/0.5271, allocations: 6.726 MB / 0.491 GB, free: 12.79 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006368/0.5277, allocations: 0.7064 MB / 0.4917 GB, free: 12.09 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003287/0.531, allocations: 0.9217 MB / 0.4926 GB, free: 11.16 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03826/0.5693, allocations: 15.76 MB / 0.508 GB, free: 11.34 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003348/0.5697, allocations: 15.89 kB / 0.508 GB, free: 11.32 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00274/0.5724, allocations: 392 kB / 0.5084 GB, free: 10.94 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005776/0.573, allocations: 0.5509 MB / 0.509 GB, free: 10.39 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3586/0.9316, allocations: 14.77 MB / 0.5234 GB, free: 116.1 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07584/1.008, allocations: 51.59 MB / 0.5738 GB, free: 81.49 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01664/1.024, allocations: 26.5 MB / 0.5996 GB, free: 56.24 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004155/1.028, allocations: 3.252 MB / 0.6028 GB, free: 53 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003275/1.029, allocations: 169 kB / 0.603 GB, free: 52.82 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.848e-05/1.029, allocations: 69.7 kB / 0.603 GB, free: 52.75 MB / 430.1 MB Notification: Performance of pre-optimization done (n=404): time 5.66e-06/1.029, allocations: 0 / 0.603 GB, free: 52.75 MB / 430.1 MB Notification: Performance of matching and sorting (n=410): time 0.03151/1.06, allocations: 17.26 MB / 0.6199 GB, free: 35.43 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.247e-05/1.06, allocations: 90.59 kB / 0.62 GB, free: 35.32 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004381/1.065, allocations: 3.684 MB / 0.6236 GB, free: 31.64 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005106/1.065, allocations: 89.7 kB / 0.6237 GB, free: 31.55 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001486/1.067, allocations: 3.973 MB / 0.6275 GB, free: 27.55 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001076/1.068, allocations: 1.397 MB / 0.6289 GB, free: 26.16 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001461/1.069, allocations: 1.144 MB / 0.63 GB, free: 25 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 3.719e-05/1.069, allocations: 301.1 kB / 0.6303 GB, free: 24.71 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003458/1.073, allocations: 2.83 MB / 0.6331 GB, free: 21.87 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004208/1.077, allocations: 4.994 MB / 0.638 GB, free: 15.88 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008043/1.085, allocations: 8.366 MB / 0.6461 GB, free: 6.52 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.666e-05/1.085, allocations: 20 kB / 0.6461 GB, free: 6.5 MB / 430.1 MB Notification: Performance of matching and sorting (n=758) (initialization): time 0.01343/1.099, allocations: 9.147 MB / 0.6551 GB, free: 13.33 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.46e-05/1.099, allocations: 36 kB / 0.6551 GB, free: 13.3 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001035/1.099, allocations: 68 kB / 0.6552 GB, free: 13.23 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003344/1.102, allocations: 1.211 MB / 0.6564 GB, free: 12.02 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004875/1.107, allocations: 1.318 MB / 0.6576 GB, free: 10.7 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01458/1.122, allocations: 9.802 MB / 0.6672 GB, free: 0.7578 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004139/1.126, allocations: 339.4 kB / 0.6675 GB, free: 436 kB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008611/1.127, allocations: 284 kB / 0.6678 GB, free: 152 kB / 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(14,44,41.3%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.005798/1.133, allocations: 3.705 MB / 0.6714 GB, free: 12.43 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009116/1.133, allocations: 403 kB / 0.6718 GB, free: 12.03 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01133/1.145, allocations: 6.752 MB / 0.6784 GB, free: 5.246 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.008862/1.154, allocations: 5.647 MB / 0.6839 GB, free: 15.58 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.739e-05/1.154, allocations: 8 kB / 0.6839 GB, free: 15.57 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.919e-05/1.154, allocations: 23.91 kB / 0.684 GB, free: 15.55 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2012/1.355, allocations: 16.16 MB / 0.6997 GB, free: 150.7 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.609e-05/1.355, allocations: 3.906 kB / 0.6997 GB, free: 150.7 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003378/1.358, allocations: 0.7192 MB / 0.7004 GB, free: 150.7 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00327/1.362, allocations: 1.084 MB / 0.7015 GB, free: 150.7 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006834/1.362, allocations: 91.25 kB / 0.7016 GB, free: 150.7 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01197/1.374, allocations: 8.727 MB / 0.7101 GB, free: 148.2 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.585e-06/1.374, allocations: 8.812 kB / 0.7101 GB, free: 148.2 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01552/1.39, allocations: 9.931 MB / 0.7198 GB, free: 144 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002083/1.392, allocations: 0.9601 MB / 0.7208 GB, free: 143.7 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006479/1.393, allocations: 83.03 kB / 0.7208 GB, free: 143.6 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001977/1.395, allocations: 205.5 kB / 0.721 GB, free: 143.5 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006956/1.395, allocations: 286.3 kB / 0.7213 GB, free: 143.5 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002384/1.396, allocations: 121.1 kB / 0.7214 GB, free: 143.5 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.003251/1.399, allocations: 2.488 MB / 0.7238 GB, free: 142.5 MB / 478.1 MB Notification: Performance of sort global known variables: time 2.3e-07/1.399, allocations: 0 / 0.7238 GB, free: 142.5 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.004983/1.404, allocations: 1.618 MB / 0.7254 GB, free: 142.4 MB / 478.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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(14,44,41.3%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005743/1.404, allocations: 279.8 kB / 0.7257 GB, free: 142.2 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0298/1.434, allocations: 13.92 MB / 0.7393 GB, free: 137.7 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 8.045e-06/1.434, allocations: 3.844 kB / 0.7393 GB, free: 137.7 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005414/1.44, allocations: 3.41 MB / 0.7426 GB, free: 134.8 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005127/1.445, allocations: 0.9733 MB / 0.7436 GB, free: 134 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02792/1.473, allocations: 20.55 MB / 0.7636 GB, free: 115 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007785/1.481, allocations: 6.191 MB / 0.7697 GB, free: 110.1 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.005537/1.486, allocations: 1.913 MB / 0.7716 GB, free: 108.8 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001393/1.488, allocations: 342.9 kB / 0.7719 GB, free: 108.5 MB / 478.1 MB Notification: Performance of SimCode: time 8.51e-07/1.488, allocations: 0 / 0.7719 GB, free: 108.5 MB / 478.1 MB Notification: Performance of Templates: time 0.1006/1.588, allocations: 69.39 MB / 0.8396 GB, free: 40.3 MB / 478.1 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/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