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.001544/0.001544, allocations: 109.7 kB / 17.16 MB, free: 6.328 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.001813/0.001813, allocations: 198.9 kB / 18.08 MB, free: 5.422 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.333/1.333, allocations: 222.9 MB / 241.8 MB, free: 13.77 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001145/0.001145, allocations: 44.14 kB / 300.6 MB, free: 6.074 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.101/0.1022, allocations: 49.45 MB / 350.1 MB, free: 4.621 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics): time 0.2061/0.3083, allocations: 24.31 MB / 374.4 MB, free: 10.4 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01674/0.3251, allocations: 7.287 MB / 381.7 MB, free: 9.039 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006046/0.3312, allocations: 180.9 kB / 381.9 MB, free: 9.004 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01835/0.3496, allocations: 8.322 MB / 390.2 MB, free: 6.602 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01151/0.3611, allocations: 2.671 MB / 392.9 MB, free: 5.543 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00521/0.3663, allocations: 1.598 MB / 394.5 MB, free: 4.488 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.01306/0.3794, allocations: 10.62 MB / 405.1 MB, free: 14.46 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02549/0.4049, allocations: 18.13 MB / 423.2 MB, free: 13.36 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007339/0.4123, allocations: 4.911 MB / 428.1 MB, free: 8.434 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00852/0.4208, allocations: 5.941 MB / 434.1 MB, free: 2.473 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003069/0.4239, allocations: 1.086 MB / 435.1 MB, free: 1.387 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005197/0.4291, allocations: 1.449 MB / 436.6 MB, free: 15.94 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003765/0.4329, allocations: 2.551 MB / 439.1 MB, free: 13.38 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01156/0.4445, allocations: 5.473 MB / 444.6 MB, free: 7.883 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02371/0.4682, allocations: 19.56 MB / 464.2 MB, free: 4.281 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.582e-06/0.4683, allocations: 4 kB / 464.2 MB, free: 4.277 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.4683, allocations: 0 / 464.2 MB, free: 4.277 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0005548/0.4689, allocations: 0 / 464.2 MB, free: 4.277 MB / 366.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.03944/0.5083, allocations: 12.8 MB / 477 MB, free: 7.383 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.148e-05/0.5084, allocations: 12.03 kB / 477 MB, free: 7.371 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03557/0.544, allocations: 6.146 MB / 483.1 MB, free: 1.207 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01485/0.5589, allocations: 6.726 MB / 489.9 MB, free: 10.42 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008553/0.5597, allocations: 0.7064 MB / 490.6 MB, free: 9.715 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004452/0.5642, allocations: 0.9218 MB / 491.5 MB, free: 8.793 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04194/0.6062, allocations: 15.75 MB / 0.4954 GB, free: 8.973 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003868/0.6066, allocations: 23.8 kB / 0.4954 GB, free: 8.949 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00379/0.6104, allocations: 388 kB / 0.4957 GB, free: 8.57 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006339/0.6111, allocations: 0.5548 MB / 0.4963 GB, free: 8.012 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03382/0.6449, allocations: 14.77 MB / 0.5107 GB, free: 9.215 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5256/1.171, allocations: 51.59 MB / 0.5611 GB, free: 90.46 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01801/1.189, allocations: 26.49 MB / 0.587 GB, free: 65.22 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004903/1.194, allocations: 3.252 MB / 0.5901 GB, free: 63.53 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000364/1.194, allocations: 164.5 kB / 0.5903 GB, free: 63.42 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.843e-05/1.194, allocations: 77.02 kB / 0.5904 GB, free: 63.34 MB / 430.1 MB Notification: Performance of pre-optimization done (n=404): time 8.256e-06/1.194, allocations: 0 / 0.5904 GB, free: 63.34 MB / 430.1 MB Notification: Performance of matching and sorting (n=410): time 0.03454/1.229, allocations: 17.25 MB / 0.6072 GB, free: 48.94 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.214e-05/1.229, allocations: 98.53 kB / 0.6073 GB, free: 48.83 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005109/1.234, allocations: 3.68 MB / 0.6109 GB, free: 45.15 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003319/1.234, allocations: 93.7 kB / 0.611 GB, free: 45.05 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001535/1.236, allocations: 3.973 MB / 0.6149 GB, free: 41.05 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008485/1.236, allocations: 1.405 MB / 0.6162 GB, free: 39.66 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001495/1.238, allocations: 1.148 MB / 0.6174 GB, free: 38.5 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 4.141e-05/1.238, allocations: 301.1 kB / 0.6176 GB, free: 38.21 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003389/1.241, allocations: 2.826 MB / 0.6204 GB, free: 35.38 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005855/1.247, allocations: 4.987 MB / 0.6253 GB, free: 29.39 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01502/1.262, allocations: 8.385 MB / 0.6335 GB, free: 20.01 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.306e-05/1.262, allocations: 20 kB / 0.6335 GB, free: 19.99 MB / 430.1 MB Notification: Performance of matching and sorting (n=758) (initialization): time 0.02497/1.287, allocations: 9.136 MB / 0.6424 GB, free: 10.83 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001343/1.288, allocations: 36 kB / 0.6424 GB, free: 10.8 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001782/1.288, allocations: 71.94 kB / 0.6425 GB, free: 10.73 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005048/1.293, allocations: 1.203 MB / 0.6437 GB, free: 9.523 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007615/1.301, allocations: 1.314 MB / 0.645 GB, free: 8.207 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01489/1.315, allocations: 9.122 MB / 0.6539 GB, free: 14.95 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005122/1.321, allocations: 335.4 kB / 0.6542 GB, free: 14.62 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001498/1.322, allocations: 284 kB / 0.6545 GB, free: 14.35 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.008269/1.33, allocations: 3.707 MB / 0.6581 GB, free: 10.63 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001476/1.332, allocations: 403.1 kB / 0.6585 GB, free: 10.23 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01408/1.346, allocations: 6.745 MB / 0.6651 GB, free: 3.453 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.009885/1.356, allocations: 5.647 MB / 0.6706 GB, free: 13.78 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.237e-05/1.356, allocations: 8 kB / 0.6706 GB, free: 13.77 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.52e-05/1.356, allocations: 23.92 kB / 0.6706 GB, free: 13.75 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02984/1.386, allocations: 16.16 MB / 0.6864 GB, free: 13.41 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.089e-05/1.386, allocations: 4 kB / 0.6864 GB, free: 13.41 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002951/1.389, allocations: 0.7254 MB / 0.6871 GB, free: 12.68 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003178/1.392, allocations: 1.079 MB / 0.6882 GB, free: 11.6 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003704/1.393, allocations: 95.91 kB / 0.6882 GB, free: 11.5 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01285/1.405, allocations: 8.062 MB / 0.6961 GB, free: 3.316 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.13e-06/1.405, allocations: 8 kB / 0.6961 GB, free: 3.309 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2562/1.662, allocations: 9.923 MB / 0.7058 GB, free: 153.8 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002853/1.664, allocations: 0.9611 MB / 0.7068 GB, free: 153.5 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008767/1.665, allocations: 77.89 kB / 0.7068 GB, free: 153.4 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002162/1.668, allocations: 203 kB / 0.707 GB, free: 153.4 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007574/1.668, allocations: 288.9 kB / 0.7073 GB, free: 153.3 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000268/1.669, allocations: 119.8 kB / 0.7074 GB, free: 153.3 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.004832/1.673, allocations: 2.488 MB / 0.7098 GB, free: 152.4 MB / 478.1 MB Notification: Performance of sort global known variables: time 2.9e-07/1.673, allocations: 0 / 0.7098 GB, free: 152.4 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.007758/1.681, allocations: 1.617 MB / 0.7114 GB, free: 152.2 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.001093/1.682, allocations: 284.8 kB / 0.7117 GB, free: 152 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.01291/1.695, allocations: 7.186 MB / 0.7187 GB, free: 149.3 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 1.224e-05/1.695, allocations: 0 / 0.7187 GB, free: 149.3 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.009277/1.705, allocations: 3.413 MB / 0.722 GB, free: 147.9 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008864/1.714, allocations: 0.9113 MB / 0.7229 GB, free: 147.6 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04823/1.762, allocations: 20.26 MB / 0.7427 GB, free: 136.4 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009955/1.772, allocations: 6.009 MB / 0.7486 GB, free: 131.9 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002485/1.774, allocations: 378.8 kB / 0.749 GB, free: 131.6 MB / 478.1 MB Notification: Performance of SimCode: time 1.242e-06/1.774, allocations: 0 / 0.749 GB, free: 131.6 MB / 478.1 MB Notification: Performance of Templates: time 0.4323/2.207, allocations: 157.9 MB / 0.9032 GB, free: 140.5 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/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_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