Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.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.Electrical.Machines.Examples.InductionMachines.IMC_Initialize,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|aimc.is.1.|aimc.is.2.|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize") translateModel(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|aimc.is.1.|aimc.is.2.|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001168/0.001168, allocations: 112.4 kB / 18.45 MB, free: 4.645 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001366/0.001366, allocations: 213.9 kB / 19.4 MB, free: 3.695 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.718/1.718, allocations: 227.4 MB / 247.6 MB, free: 10.53 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002068/0.002068, allocations: 63.89 kB / 359.4 MB, free: 12.93 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3991/0.4011, allocations: 50.54 MB / 409.9 MB, free: 1.605 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize): time 0.01737/0.4186, allocations: 8.937 MB / 418.9 MB, free: 8.625 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.008475/0.4271, allocations: 2.948 MB / 421.8 MB, free: 5.672 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001635/0.4288, allocations: 43.81 kB / 421.9 MB, free: 5.629 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002891/0.4318, allocations: 0.6094 MB / 422.5 MB, free: 5.016 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003947/0.4357, allocations: 0.7339 MB / 423.2 MB, free: 4.277 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001452/0.4372, allocations: 327.5 kB / 423.5 MB, free: 3.957 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.004448/0.4417, allocations: 2.373 MB / 425.9 MB, free: 1.574 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003629/0.4453, allocations: 1.766 MB / 427.7 MB, free: 15.76 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002232/0.4476, allocations: 1.086 MB / 428.8 MB, free: 14.67 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003133/0.4508, allocations: 1.335 MB / 430.1 MB, free: 13.33 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008834/0.4517, allocations: 280 kB / 430.4 MB, free: 13.05 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001621/0.4533, allocations: 383.8 kB / 430.7 MB, free: 12.68 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00146/0.4548, allocations: 0.8064 MB / 431.5 MB, free: 11.87 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002541/0.4574, allocations: 1.264 MB / 432.8 MB, free: 10.6 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005942/0.4633, allocations: 3.701 MB / 436.5 MB, free: 6.891 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.314e-06/0.4634, allocations: 0 / 436.5 MB, free: 6.891 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.315e-06/0.4634, allocations: 0 / 436.5 MB, free: 6.891 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.591e-05/0.4635, allocations: 4 kB / 436.5 MB, free: 6.887 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 466 * Number of variables: 466 Notification: Performance of Generate backend data structure: time 0.009261/0.4728, allocations: 2.59 MB / 439.1 MB, free: 4.238 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.219e-05/0.4729, allocations: 8.031 kB / 439.1 MB, free: 4.23 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001796/0.4747, allocations: 298 kB / 439.4 MB, free: 3.938 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004421/0.4791, allocations: 1.408 MB / 440.8 MB, free: 2.473 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001733/0.4793, allocations: 139.9 kB / 441 MB, free: 2.336 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006005/0.4799, allocations: 183.8 kB / 441.1 MB, free: 2.156 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007138/0.4871, allocations: 2.41 MB / 443.5 MB, free: 15.71 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.49e-05/0.4872, allocations: 7.906 kB / 443.5 MB, free: 15.7 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003394/0.4876, allocations: 72 kB / 443.6 MB, free: 15.63 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001596/0.4878, allocations: 83.5 kB / 443.7 MB, free: 15.55 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006095/0.4939, allocations: 2.024 MB / 445.7 MB, free: 13.52 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02042/0.5143, allocations: 7.366 MB / 453.1 MB, free: 5.941 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003154/0.5175, allocations: 1.261 MB / 454.4 MB, free: 4.617 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00281/0.5204, allocations: 0.9081 MB / 455.3 MB, free: 3.711 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003629/0.5208, allocations: 134 kB / 455.4 MB, free: 3.559 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.061e-05/0.5208, allocations: 39.56 kB / 455.4 MB, free: 3.512 MB / 366.1 MB Notification: Performance of pre-optimization done (n=84): time 5.31e-06/0.5209, allocations: 0 / 455.4 MB, free: 3.512 MB / 366.1 MB Notification: Performance of matching and sorting (n=100): time 0.01558/0.5365, allocations: 4.899 MB / 460.3 MB, free: 14.52 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.343e-05/0.5366, allocations: 68.41 kB / 460.4 MB, free: 14.44 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003337/0.5399, allocations: 1.389 MB / 461.8 MB, free: 13.03 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001647/0.5401, allocations: 41.7 kB / 461.8 MB, free: 12.98 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009458/0.5411, allocations: 0.9009 MB / 462.7 MB, free: 12.07 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005002/0.5416, allocations: 350.9 kB / 463.1 MB, free: 11.72 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006049/0.5422, allocations: 222.7 kB / 463.3 MB, free: 11.5 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001824/0.5424, allocations: 353.9 kB / 463.6 MB, free: 11.15 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001634/0.5441, allocations: 0.6311 MB / 464.3 MB, free: 10.52 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001778/0.5459, allocations: 0.9336 MB / 465.2 MB, free: 9.461 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003937/0.5498, allocations: 1.641 MB / 466.8 MB, free: 7.699 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.23e-05/0.5499, allocations: 4 kB / 466.8 MB, free: 7.695 MB / 382.1 MB Notification: Performance of matching and sorting (n=149) (initialization): time 0.007316/0.5572, allocations: 2.39 MB / 469.2 MB, free: 5.289 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.577e-05/0.5573, allocations: 10.66 kB / 469.2 MB, free: 5.281 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.448e-05/0.5573, allocations: 11.94 kB / 469.3 MB, free: 5.27 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003166/0.5605, allocations: 0.712 MB / 470 MB, free: 4.551 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001493/0.562, allocations: 239.6 kB / 470.2 MB, free: 4.316 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01672/0.5788, allocations: 8.73 MB / 478.9 MB, free: 11.3 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001855/0.5807, allocations: 83.81 kB / 479 MB, free: 11.22 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000231/0.5809, allocations: 48 kB / 479.1 MB, free: 11.18 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 39 * 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 (114): * Single equations (assignments): 112 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (6,29,77.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001617/0.5826, allocations: 0.6302 MB / 479.7 MB, free: 10.54 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000538/0.5831, allocations: 146.2 kB / 479.8 MB, free: 10.39 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005807/0.5889, allocations: 1.894 MB / 481.7 MB, free: 8.48 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.527e-05/0.589, allocations: 11.94 kB / 481.7 MB, free: 8.469 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.582e-05/0.589, allocations: 7.984 kB / 481.7 MB, free: 8.461 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.652e-05/0.589, allocations: 7.922 kB / 481.8 MB, free: 8.453 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01184/0.6009, allocations: 4.001 MB / 485.8 MB, free: 4.352 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.718e-06/0.6009, allocations: 0 / 485.8 MB, free: 4.352 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001483/0.6024, allocations: 184 kB / 485.9 MB, free: 4.172 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002222/0.6047, allocations: 466.8 kB / 486.4 MB, free: 3.703 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001446/0.6048, allocations: 27.97 kB / 486.4 MB, free: 3.676 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01034/0.6152, allocations: 6.688 MB / 493.1 MB, free: 12.56 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.218e-06/0.6153, allocations: 3.938 kB / 493.1 MB, free: 12.56 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007532/0.6228, allocations: 2.775 MB / 495.9 MB, free: 9.73 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001328/0.6242, allocations: 351.3 kB / 496.2 MB, free: 9.367 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000482/0.6247, allocations: 27.98 kB / 496.3 MB, free: 9.34 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001583/0.6263, allocations: 71.92 kB / 496.3 MB, free: 9.27 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00034/0.6266, allocations: 84.81 kB / 496.4 MB, free: 9.188 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001321/0.6268, allocations: 28 kB / 496.4 MB, free: 9.16 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.00243/0.6292, allocations: 0.9663 MB / 497.4 MB, free: 8.191 MB / 414.1 MB Notification: Performance of sort global known variables: time 4.01e-07/0.6293, allocations: 0 / 497.4 MB, free: 8.191 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.002395/0.6317, allocations: 428 kB / 497.8 MB, free: 7.773 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 7 (aimc.inertiaRotor.w,aimc.i_0_s,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],loadInertia.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 (84): * Single equations (assignments): 80 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(2,12,100.0%), (1,1,100.0%), (2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005146/0.6322, allocations: 194.5 kB / 498 MB, free: 7.578 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.00539/0.6376, allocations: 2.004 MB / 0.4883 GB, free: 5.551 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.025e-05/0.6377, allocations: 7.938 kB / 0.4883 GB, free: 5.543 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003434/0.6411, allocations: 1.337 MB / 0.4896 GB, free: 4.148 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003299/0.6444, allocations: 394.9 kB / 0.49 GB, free: 3.77 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01064/0.6551, allocations: 4.055 MB / 0.4939 GB, free: 15.65 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00223/0.6574, allocations: 1.677 MB / 0.4956 GB, free: 13.94 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007486/0.6582, allocations: 99.42 kB / 0.4957 GB, free: 13.84 MB / 430.1 MB Notification: Performance of SimCode: time 1.082e-06/0.6582, allocations: 0 / 0.4957 GB, free: 13.84 MB / 430.1 MB Notification: Performance of Templates: time 1.275/1.933, allocations: 53.36 MB / 0.5478 GB, free: 127.5 MB / 462.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.makefile (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.sim & ./Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/InductionMachines/IMC_Initialize/IMC_Initialize.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches