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.001427/0.001427, allocations: 113.4 kB / 17.99 MB, free: 5.395 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001494/0.001495, allocations: 205.8 kB / 18.92 MB, free: 4.465 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.344/1.344, allocations: 227.4 MB / 247.1 MB, free: 10.7 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001264/0.001264, allocations: 59.03 kB / 307.1 MB, free: 0.9414 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1027/0.104, allocations: 50.54 MB / 357.7 MB, free: 14.41 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics): time 0.1996/0.3036, allocations: 24.36 MB / 382 MB, free: 8.453 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01401/0.3177, allocations: 7.353 MB / 389.4 MB, free: 4.09 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005922/0.3236, allocations: 179.9 kB / 389.6 MB, free: 4.055 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02024/0.3439, allocations: 8.328 MB / 397.9 MB, free: 15.18 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01146/0.3554, allocations: 2.651 MB / 400.5 MB, free: 13.32 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005378/0.3608, allocations: 1.6 MB / 402.1 MB, free: 12.07 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.01697/0.3778, allocations: 10.82 MB / 413 MB, free: 5.426 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.04169/0.4195, allocations: 25.28 MB / 438.2 MB, free: 12.01 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01138/0.431, allocations: 5.755 MB / 444 MB, free: 6.238 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009937/0.4409, allocations: 6.323 MB / 450.3 MB, free: 15.89 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004153/0.4451, allocations: 1.668 MB / 452 MB, free: 14.23 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006737/0.4519, allocations: 2.082 MB / 454.1 MB, free: 12.14 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005295/0.4572, allocations: 3.161 MB / 457.2 MB, free: 8.977 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01486/0.4721, allocations: 6.102 MB / 463.3 MB, free: 2.852 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02122/0.4934, allocations: 19.67 MB / 483 MB, free: 15.14 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.126e-06/0.4934, allocations: 0 / 483 MB, free: 15.14 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.295e-06/0.4935, allocations: 0 / 483 MB, free: 15.14 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.00054/0.494, allocations: 0 / 483 MB, free: 15.14 MB / 398.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.04126/0.5353, allocations: 12.82 MB / 495.8 MB, free: 2.219 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.147e-05/0.5353, allocations: 12.03 kB / 495.8 MB, free: 2.207 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03633/0.5717, allocations: 6.166 MB / 0.4902 GB, free: 12.02 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01526/0.587, allocations: 6.718 MB / 0.4968 GB, free: 5.246 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008813/0.5879, allocations: 0.7025 MB / 0.4975 GB, free: 4.543 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004115/0.592, allocations: 0.9256 MB / 0.4984 GB, free: 3.617 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03841/0.6305, allocations: 15.76 MB / 0.5138 GB, free: 3.789 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000397/0.6309, allocations: 11.91 kB / 0.5138 GB, free: 3.777 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003624/0.6346, allocations: 396 kB / 0.5142 GB, free: 3.391 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005597/0.6351, allocations: 0.5509 MB / 0.5147 GB, free: 2.836 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03039/0.6655, allocations: 14.77 MB / 0.5291 GB, free: 4.043 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4582/1.124, allocations: 52.66 MB / 0.5806 GB, free: 95.85 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0223/1.146, allocations: 26.46 MB / 0.6064 GB, free: 70.62 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005143/1.151, allocations: 3.257 MB / 0.6096 GB, free: 68.93 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005487/1.152, allocations: 244.1 kB / 0.6098 GB, free: 68.72 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.558e-05/1.152, allocations: 80.83 kB / 0.6099 GB, free: 68.64 MB / 446.1 MB Notification: Performance of pre-optimization done (n=404): time 7.985e-06/1.152, allocations: 0 / 0.6099 GB, free: 68.64 MB / 446.1 MB Notification: Performance of matching and sorting (n=410): time 0.03776/1.19, allocations: 17.25 MB / 0.6267 GB, free: 52.91 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.719e-05/1.19, allocations: 94.53 kB / 0.6268 GB, free: 52.8 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006448/1.196, allocations: 3.696 MB / 0.6304 GB, free: 49.11 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0007418/1.197, allocations: 89.69 kB / 0.6305 GB, free: 49.01 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002093/1.199, allocations: 3.977 MB / 0.6344 GB, free: 45.01 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001539/1.201, allocations: 1.4 MB / 0.6358 GB, free: 43.62 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003182/1.204, allocations: 1.136 MB / 0.6369 GB, free: 42.47 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.299e-05/1.204, allocations: 313 kB / 0.6372 GB, free: 42.16 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004424/1.208, allocations: 2.822 MB / 0.6399 GB, free: 39.34 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005366/1.214, allocations: 4.991 MB / 0.6448 GB, free: 33.35 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009808/1.224, allocations: 8.381 MB / 0.653 GB, free: 23.97 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.011e-05/1.224, allocations: 20 kB / 0.653 GB, free: 23.95 MB / 446.1 MB Notification: Performance of matching and sorting (n=758) (initialization): time 0.01627/1.24, allocations: 9.139 MB / 0.6619 GB, free: 14.79 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.894e-05/1.24, allocations: 35.98 kB / 0.662 GB, free: 14.76 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00011/1.24, allocations: 72.53 kB / 0.662 GB, free: 14.69 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003174/1.243, allocations: 1.207 MB / 0.6632 GB, free: 13.48 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004841/1.248, allocations: 1.318 MB / 0.6645 GB, free: 12.16 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01357/1.262, allocations: 9.787 MB / 0.6741 GB, free: 2.227 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005084/1.267, allocations: 335.4 kB / 0.6744 GB, free: 1.898 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00127/1.268, allocations: 284 kB / 0.6747 GB, free: 1.621 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 (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.008075/1.276, allocations: 3.717 MB / 0.6783 GB, free: 13.89 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001496/1.278, allocations: 403 kB / 0.6787 GB, free: 13.49 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01542/1.293, allocations: 6.756 MB / 0.6853 GB, free: 6.699 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01098/1.304, allocations: 5.643 MB / 0.6908 GB, free: 1.031 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.375e-05/1.305, allocations: 8 kB / 0.6908 GB, free: 1.023 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.201e-05/1.305, allocations: 23.86 kB / 0.6908 GB, free: 1 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03698/1.342, allocations: 16.17 MB / 0.7066 GB, free: 0.6562 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.837e-05/1.342, allocations: 8 kB / 0.7066 GB, free: 0.6484 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.2502/1.592, allocations: 0.7138 MB / 0.7073 GB, free: 149.5 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003507/1.595, allocations: 1.087 MB / 0.7084 GB, free: 149.5 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007722/1.596, allocations: 91.84 kB / 0.7085 GB, free: 149.5 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01316/1.609, allocations: 8.729 MB / 0.717 GB, free: 146.6 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.926e-06/1.609, allocations: 9.266 kB / 0.717 GB, free: 146.6 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01766/1.627, allocations: 9.935 MB / 0.7267 GB, free: 142.5 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00255/1.63, allocations: 0.9642 MB / 0.7276 GB, free: 142.1 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007407/1.63, allocations: 75.25 kB / 0.7277 GB, free: 142.1 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002131/1.633, allocations: 205.3 kB / 0.7279 GB, free: 142 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000731/1.633, allocations: 291.4 kB / 0.7282 GB, free: 142 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002703/1.634, allocations: 119.6 kB / 0.7283 GB, free: 141.9 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.003546/1.637, allocations: 2.492 MB / 0.7307 GB, free: 141 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.71e-07/1.637, allocations: 0 / 0.7307 GB, free: 141 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.006168/1.643, allocations: 1.622 MB / 0.7323 GB, free: 140.8 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.0008954/1.644, allocations: 280.1 kB / 0.7326 GB, free: 140.6 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.03108/1.675, allocations: 13.92 MB / 0.7462 GB, free: 135 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 1.094e-05/1.675, allocations: 0 / 0.7462 GB, free: 135 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006505/1.682, allocations: 3.409 MB / 0.7495 GB, free: 132 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00699/1.689, allocations: 0.986 MB / 0.7505 GB, free: 131.3 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0397/1.729, allocations: 20.29 MB / 0.7703 GB, free: 112.4 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009188/1.738, allocations: 6.004 MB / 0.7761 GB, free: 107.7 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001995/1.74, allocations: 383.1 kB / 0.7765 GB, free: 107.3 MB / 478.1 MB Notification: Performance of SimCode: time 1.052e-06/1.74, allocations: 0 / 0.7765 GB, free: 107.3 MB / 478.1 MB Notification: Performance of Templates: time 0.3953/2.135, allocations: 158 MB / 0.9308 GB, free: 120.2 MB / 478.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/jenkins1/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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/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