Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.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_DOL,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_DOL") translateModel(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL,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_DOL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001084/0.001084, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001232/0.001232, allocations: 206.4 kB / 18.58 MB, free: 4.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.391/1.391, allocations: 227.4 MB / 246.8 MB, free: 10.62 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001279/0.001279, allocations: 58.34 kB / 306.9 MB, free: 0.668 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1122/0.1135, allocations: 50.54 MB / 357.5 MB, free: 14.12 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL): time 0.01235/0.1259, allocations: 9.417 MB / 366.9 MB, free: 4.66 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.006775/0.1327, allocations: 3.053 MB / 369.9 MB, free: 1.594 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001705/0.1345, allocations: 47.81 kB / 370 MB, free: 1.547 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002303/0.1368, allocations: 0.6365 MB / 370.6 MB, free: 0.9062 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003171/0.14, allocations: 0.7649 MB / 371.4 MB, free: 140 kB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.2263/0.3664, allocations: 367.1 kB / 371.8 MB, free: 10.59 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.004222/0.3706, allocations: 2.652 MB / 374.4 MB, free: 10.58 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002624/0.3732, allocations: 2.162 MB / 376.6 MB, free: 10.13 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002065/0.3753, allocations: 1.191 MB / 377.8 MB, free: 9.969 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002117/0.3774, allocations: 1.496 MB / 379.3 MB, free: 9.727 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000494/0.3779, allocations: 307.7 kB / 379.6 MB, free: 9.727 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001045/0.379, allocations: 414.9 kB / 380 MB, free: 9.723 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001018/0.38, allocations: 0.8775 MB / 380.8 MB, free: 9.332 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001815/0.3819, allocations: 1.413 MB / 382.3 MB, free: 8.438 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005173/0.387, allocations: 4.06 MB / 386.3 MB, free: 7.094 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.932e-06/0.3871, allocations: 0 / 386.3 MB, free: 7.094 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.294e-06/0.3871, allocations: 5.219 kB / 386.3 MB, free: 7.09 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0001027/0.3872, allocations: 0 / 386.3 MB, free: 7.09 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 524 * Number of variables: 524 Notification: Performance of Generate backend data structure: time 0.006713/0.3939, allocations: 2.872 MB / 389.2 MB, free: 5.445 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.589e-05/0.394, allocations: 9.656 kB / 389.2 MB, free: 5.445 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001234/0.3952, allocations: 317.6 kB / 389.5 MB, free: 5.312 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002491/0.3977, allocations: 1.503 MB / 391 MB, free: 4.348 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001121/0.3978, allocations: 159 kB / 391.2 MB, free: 4.273 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003111/0.3982, allocations: 197.1 kB / 391.4 MB, free: 4.211 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004312/0.4025, allocations: 2.738 MB / 394.1 MB, free: 2.562 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.708e-05/0.4026, allocations: 11.27 kB / 394.1 MB, free: 2.555 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001848/0.4027, allocations: 83.52 kB / 394.2 MB, free: 2.492 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001153/0.4029, allocations: 93.16 kB / 394.3 MB, free: 2.48 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003467/0.4063, allocations: 2.326 MB / 396.6 MB, free: 1.301 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01315/0.4195, allocations: 8.406 MB / 405 MB, free: 9.766 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002251/0.4218, allocations: 1.784 MB / 406.8 MB, free: 7.867 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001871/0.4237, allocations: 1.069 MB / 407.9 MB, free: 6.805 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002376/0.4239, allocations: 122.1 kB / 408 MB, free: 6.668 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.706e-05/0.424, allocations: 43.56 kB / 408 MB, free: 6.613 MB / 318.1 MB Notification: Performance of pre-optimization done (n=104): time 3.396e-06/0.424, allocations: 0 / 408 MB, free: 6.613 MB / 318.1 MB Notification: Performance of matching and sorting (n=120): time 0.01423/0.4382, allocations: 6.206 MB / 414.2 MB, free: 308 kB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.315e-05/0.4383, allocations: 64.41 kB / 414.3 MB, free: 232 kB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003446/0.4418, allocations: 1.526 MB / 415.8 MB, free: 14.69 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001275/0.4419, allocations: 49.64 kB / 415.9 MB, free: 14.64 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008841/0.4428, allocations: 0.998 MB / 416.9 MB, free: 13.63 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004827/0.4433, allocations: 414.2 kB / 417.3 MB, free: 13.23 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005066/0.4438, allocations: 255.4 kB / 417.5 MB, free: 12.97 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001587/0.444, allocations: 357.9 kB / 417.9 MB, free: 12.61 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001257/0.4453, allocations: 0.7339 MB / 418.6 MB, free: 11.88 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001486/0.4468, allocations: 1.057 MB / 419.7 MB, free: 10.7 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002889/0.4497, allocations: 1.878 MB / 421.5 MB, free: 8.691 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.312e-05/0.4497, allocations: 4 kB / 421.5 MB, free: 8.688 MB / 334.1 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.004489/0.4542, allocations: 2.353 MB / 423.9 MB, free: 6.312 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.083e-05/0.4542, allocations: 8 kB / 423.9 MB, free: 6.305 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.668e-05/0.4543, allocations: 12 kB / 423.9 MB, free: 6.293 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0011/0.4554, allocations: 415.1 kB / 424.3 MB, free: 5.875 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001281/0.4567, allocations: 327.5 kB / 424.6 MB, free: 5.555 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005771/0.4625, allocations: 5.066 MB / 429.7 MB, free: 224 kB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001624/0.4641, allocations: 91.81 kB / 429.8 MB, free: 132 kB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001612/0.4643, allocations: 55.92 kB / 429.9 MB, free: 76 kB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * Number of states: 0 () * Number of discrete variables: 3 (idealCloser.control[3],idealCloser.control[2],idealCloser.control[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (156): * Single equations (assignments): 152 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (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): 2 systems {(2,12,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001674/0.466, allocations: 0.7159 MB / 430.6 MB, free: 15.35 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005311/0.4665, allocations: 162 kB / 430.7 MB, free: 15.19 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004268/0.4708, allocations: 2.141 MB / 432.9 MB, free: 13.02 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.777e-05/0.4708, allocations: 12 kB / 432.9 MB, free: 13 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.727e-05/0.4708, allocations: 0 / 432.9 MB, free: 13 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.813e-05/0.4709, allocations: 7.969 kB / 432.9 MB, free: 13 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0097/0.4806, allocations: 4.585 MB / 437.5 MB, free: 8.34 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.55e-05/0.4806, allocations: 4 kB / 437.5 MB, free: 8.336 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001111/0.4817, allocations: 223.9 kB / 437.7 MB, free: 8.117 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001612/0.4834, allocations: 466.9 kB / 438.2 MB, free: 7.648 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001576/0.4835, allocations: 43.92 kB / 438.2 MB, free: 7.605 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008734/0.4923, allocations: 6.673 MB / 444.9 MB, free: 0.5195 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-05/0.4924, allocations: 7.938 kB / 444.9 MB, free: 0.5117 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006093/0.4985, allocations: 3.192 MB / 448.1 MB, free: 13.26 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00139/0.4999, allocations: 395 kB / 448.5 MB, free: 12.86 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006494/0.5005, allocations: 35.94 kB / 448.5 MB, free: 12.82 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001269/0.5018, allocations: 71.91 kB / 448.6 MB, free: 12.75 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003337/0.5022, allocations: 116.7 kB / 448.7 MB, free: 12.64 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001067/0.5023, allocations: 32 kB / 448.7 MB, free: 12.61 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.002563/0.5049, allocations: 1.052 MB / 449.8 MB, free: 11.55 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.5049, allocations: 4 kB / 449.8 MB, free: 11.55 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.002502/0.5074, allocations: 464 kB / 450.2 MB, free: 11.1 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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],quadraticLoadTorque.phi) * Number of discrete variables: 3 (idealCloser.control[1],idealCloser.control[2],idealCloser.control[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (104): * Single equations (assignments): 100 * 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.000493/0.5079, allocations: 193.2 kB / 450.4 MB, free: 10.9 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.005539/0.5134, allocations: 2.82 MB / 453.2 MB, free: 8.012 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 6.101e-06/0.5134, allocations: 0 / 453.2 MB, free: 8.012 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002388/0.5158, allocations: 1.489 MB / 454.7 MB, free: 6.461 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002833/0.5187, allocations: 444.8 kB / 455.1 MB, free: 6.039 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009343/0.528, allocations: 4.527 MB / 459.7 MB, free: 1.469 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002298/0.5304, allocations: 1.83 MB / 461.5 MB, free: 15.61 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.00159/0.532, allocations: 397.6 kB / 461.9 MB, free: 15.21 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000501/0.5325, allocations: 111.4 kB / 462 MB, free: 15.11 MB / 382.1 MB Notification: Performance of SimCode: time 1.032e-06/0.5325, allocations: 0 / 462 MB, free: 15.11 MB / 382.1 MB Notification: Performance of Templates: time 0.05395/0.5865, allocations: 25.63 MB / 487.6 MB, free: 5.746 MB / 398.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.makefile (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.sim & ./Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/InductionMachines/IMC_DOL/IMC_DOL.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches