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.00152/0.00152, allocations: 118.2 kB / 17.79 MB, free: 5.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002262/0.002262, allocations: 197.2 kB / 18.73 MB, free: 4.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.431/1.431, allocations: 227.4 MB / 246.9 MB, free: 10.5 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001281/0.001281, allocations: 59.89 kB / 358.7 MB, free: 12.91 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3597/0.361, allocations: 50.55 MB / 409.3 MB, free: 1.602 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL): time 0.01189/0.3729, allocations: 9.431 MB / 418.7 MB, free: 8.129 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.006192/0.3791, allocations: 3.034 MB / 421.7 MB, free: 5.086 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001419/0.3806, allocations: 51.75 kB / 421.8 MB, free: 5.035 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001887/0.3826, allocations: 0.6678 MB / 422.4 MB, free: 4.363 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002544/0.3851, allocations: 0.8001 MB / 423.2 MB, free: 3.559 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001004/0.3861, allocations: 375.4 kB / 423.6 MB, free: 3.191 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.003248/0.3894, allocations: 2.665 MB / 426.3 MB, free: 0.5156 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002365/0.3918, allocations: 2.151 MB / 428.4 MB, free: 14.3 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001709/0.3935, allocations: 1.207 MB / 429.6 MB, free: 13.09 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001832/0.3953, allocations: 1.495 MB / 431.1 MB, free: 11.59 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003986/0.3958, allocations: 308 kB / 431.4 MB, free: 11.29 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006965/0.3965, allocations: 407.8 kB / 431.8 MB, free: 10.89 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008015/0.3973, allocations: 0.8921 MB / 432.7 MB, free: 9.992 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001406/0.3987, allocations: 1.415 MB / 434.1 MB, free: 8.57 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003763/0.4025, allocations: 4.098 MB / 438.2 MB, free: 4.461 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.033e-05/0.4025, allocations: 0 / 438.2 MB, free: 4.461 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.074e-06/0.4025, allocations: 0 / 438.2 MB, free: 4.461 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.804e-05/0.4026, allocations: 0 / 438.2 MB, free: 4.461 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: 524 * Number of variables: 524 Notification: Performance of Generate backend data structure: time 0.006055/0.4087, allocations: 2.869 MB / 441.1 MB, free: 1.527 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.899e-05/0.4087, allocations: 8.031 kB / 441.1 MB, free: 1.52 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000967/0.4097, allocations: 325.7 kB / 441.4 MB, free: 1.199 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002454/0.4122, allocations: 1.559 MB / 443 MB, free: 15.58 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001191/0.4123, allocations: 152.4 kB / 443.1 MB, free: 15.43 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002964/0.4126, allocations: 203.9 kB / 443.3 MB, free: 15.23 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004178/0.4168, allocations: 2.736 MB / 446.1 MB, free: 12.41 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.434e-05/0.4169, allocations: 7.906 kB / 446.1 MB, free: 12.4 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002023/0.4171, allocations: 87.94 kB / 446.2 MB, free: 12.31 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.299e-05/0.4172, allocations: 95.92 kB / 446.3 MB, free: 12.22 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003613/0.4208, allocations: 2.322 MB / 448.6 MB, free: 9.895 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01165/0.4325, allocations: 8.309 MB / 456.9 MB, free: 1.34 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002123/0.4346, allocations: 1.776 MB / 458.7 MB, free: 15.45 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00184/0.4365, allocations: 1.084 MB / 459.7 MB, free: 14.36 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002604/0.4367, allocations: 114.1 kB / 459.9 MB, free: 14.23 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.665e-05/0.4368, allocations: 47.56 kB / 459.9 MB, free: 14.18 MB / 382.1 MB Notification: Performance of pre-optimization done (n=104): time 3.677e-06/0.4368, allocations: 0 / 459.9 MB, free: 14.18 MB / 382.1 MB Notification: Performance of matching and sorting (n=120): time 0.01221/0.449, allocations: 6.224 MB / 466.1 MB, free: 7.84 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.268e-05/0.4491, allocations: 64.41 kB / 466.2 MB, free: 7.762 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002101/0.4512, allocations: 1.525 MB / 467.7 MB, free: 6.227 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.804e-05/0.4513, allocations: 49.69 kB / 467.8 MB, free: 6.172 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006919/0.452, allocations: 0.9913 MB / 468.8 MB, free: 5.168 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003251/0.4523, allocations: 414 kB / 469.2 MB, free: 4.758 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003968/0.4527, allocations: 251.4 kB / 469.4 MB, free: 4.508 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001381/0.4529, allocations: 361.9 kB / 469.8 MB, free: 4.148 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00106/0.454, allocations: 0.73 MB / 470.5 MB, free: 3.418 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001267/0.4552, allocations: 1.059 MB / 471.5 MB, free: 2.23 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002435/0.4577, allocations: 1.875 MB / 473.4 MB, free: 228 kB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.212e-06/0.4577, allocations: 4 kB / 473.4 MB, free: 224 kB / 382.1 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.003683/0.4614, allocations: 2.349 MB / 475.8 MB, free: 13.85 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.412e-05/0.4614, allocations: 8.344 kB / 475.8 MB, free: 13.84 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.734e-05/0.4614, allocations: 16 kB / 475.8 MB, free: 13.82 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009377/0.4624, allocations: 411.1 kB / 476.2 MB, free: 13.41 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001144/0.4635, allocations: 335.5 kB / 476.5 MB, free: 13.08 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004686/0.4682, allocations: 5.059 MB / 481.6 MB, free: 7.746 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001137/0.4694, allocations: 95.69 kB / 481.7 MB, free: 7.652 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.547e-05/0.4695, allocations: 55.98 kB / 481.7 MB, free: 7.598 MB / 398.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.001174/0.4707, allocations: 0.7081 MB / 482.4 MB, free: 6.879 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002728/0.471, allocations: 166.1 kB / 482.6 MB, free: 6.715 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003388/0.4744, allocations: 2.141 MB / 484.7 MB, free: 4.543 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.598e-06/0.4744, allocations: 15.94 kB / 484.8 MB, free: 4.527 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.4744, allocations: 0 / 484.8 MB, free: 4.527 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.223e-05/0.4744, allocations: 11.97 kB / 484.8 MB, free: 4.516 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006873/0.4813, allocations: 4.554 MB / 489.3 MB, free: 15.87 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.611e-06/0.4813, allocations: 0 / 489.3 MB, free: 15.87 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009255/0.4822, allocations: 231.9 kB / 489.6 MB, free: 15.64 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001173/0.4834, allocations: 478.8 kB / 490 MB, free: 15.16 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.699e-05/0.4835, allocations: 27.98 kB / 490 MB, free: 15.13 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006017/0.4895, allocations: 6.68 MB / 496.7 MB, free: 8.035 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.522e-06/0.4896, allocations: 7.969 kB / 496.7 MB, free: 8.027 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004663/0.4942, allocations: 3.18 MB / 499.9 MB, free: 4.785 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007308/0.495, allocations: 399 kB / 0.4886 GB, free: 4.375 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001889/0.4952, allocations: 31.94 kB / 0.4886 GB, free: 4.344 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007684/0.496, allocations: 75.91 kB / 0.4887 GB, free: 4.27 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002508/0.4962, allocations: 112.7 kB / 0.4888 GB, free: 4.16 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.553e-05/0.4963, allocations: 36 kB / 0.4888 GB, free: 4.125 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001481/0.4978, allocations: 1.056 MB / 0.4899 GB, free: 3.07 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.4978, allocations: 0 / 0.4899 GB, free: 3.07 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001419/0.4992, allocations: 464 kB / 0.4903 GB, free: 2.617 MB / 414.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.0003594/0.4996, allocations: 187.1 kB / 0.4905 GB, free: 2.426 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.003324/0.5029, allocations: 2.274 MB / 0.4927 GB, free: 88 kB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.516e-06/0.503, allocations: 0 / 0.4927 GB, free: 88 kB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002127/0.5051, allocations: 1.492 MB / 0.4942 GB, free: 14.53 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00178/0.5069, allocations: 447.9 kB / 0.4946 GB, free: 14.09 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007911/0.5148, allocations: 4.464 MB / 0.4989 GB, free: 9.574 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002003/0.5168, allocations: 1.826 MB / 0.5007 GB, free: 7.715 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.001241/0.5181, allocations: 401.6 kB / 0.5011 GB, free: 7.316 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003976/0.5185, allocations: 111.4 kB / 0.5012 GB, free: 7.207 MB / 430.1 MB Notification: Performance of SimCode: time 5.11e-07/0.5185, allocations: 0 / 0.5012 GB, free: 7.207 MB / 430.1 MB Notification: Performance of Templates: time 0.04699/0.5655, allocations: 26.05 MB / 0.5267 GB, free: 13.39 MB / 462.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