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.001435/0.001435, allocations: 115.9 kB / 18.41 MB, free: 4.559 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001655/0.001655, allocations: 203.5 kB / 19.36 MB, free: 3.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.365/1.365, allocations: 227.4 MB / 247.5 MB, free: 10.36 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001123/0.001123, allocations: 59.66 kB / 308.4 MB, free: 15.89 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1058/0.107, allocations: 50.54 MB / 358.9 MB, free: 13.32 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL): time 0.01018/0.1172, allocations: 9.417 MB / 368.3 MB, free: 3.863 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0058/0.123, allocations: 3.054 MB / 371.4 MB, free: 0.7969 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001465/0.1245, allocations: 47.81 kB / 371.4 MB, free: 0.75 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001637/0.1262, allocations: 0.6249 MB / 372.1 MB, free: 124 kB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.1861/0.3123, allocations: 0.7728 MB / 372.8 MB, free: 10.94 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008141/0.3132, allocations: 356.8 kB / 373.2 MB, free: 10.94 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.003017/0.3162, allocations: 2.676 MB / 375.9 MB, free: 10.93 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002381/0.3186, allocations: 2.154 MB / 378 MB, free: 10.5 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001825/0.3204, allocations: 1.2 MB / 379.2 MB, free: 10.31 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001804/0.3222, allocations: 1.497 MB / 380.7 MB, free: 9.801 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000395/0.3226, allocations: 306.6 kB / 381 MB, free: 9.801 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008077/0.3235, allocations: 407.2 kB / 381.4 MB, free: 9.781 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008159/0.3243, allocations: 0.8911 MB / 382.3 MB, free: 9.312 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001448/0.3257, allocations: 1.41 MB / 383.7 MB, free: 8.406 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00412/0.3299, allocations: 4.111 MB / 387.8 MB, free: 7.027 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.983e-06/0.3299, allocations: 0 / 387.8 MB, free: 7.027 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.486e-06/0.3299, allocations: 0 / 387.8 MB, free: 7.027 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.82e-05/0.33, allocations: 1.062 kB / 387.8 MB, free: 7.027 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.005597/0.3356, allocations: 2.862 MB / 390.7 MB, free: 5.141 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.01e-05/0.3357, allocations: 9.312 kB / 390.7 MB, free: 5.141 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009756/0.3366, allocations: 320.6 kB / 391 MB, free: 4.988 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002493/0.3391, allocations: 1.559 MB / 392.6 MB, free: 3.891 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001011/0.3392, allocations: 151.3 kB / 392.7 MB, free: 3.82 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002936/0.3396, allocations: 200.4 kB / 392.9 MB, free: 3.754 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003988/0.3435, allocations: 2.736 MB / 395.6 MB, free: 2.105 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.174e-05/0.3436, allocations: 7.406 kB / 395.6 MB, free: 2.102 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001805/0.3438, allocations: 80.91 kB / 395.7 MB, free: 2.039 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.839e-05/0.3439, allocations: 98.39 kB / 395.8 MB, free: 2.023 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00343/0.3473, allocations: 2.33 MB / 398.2 MB, free: 0.832 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01357/0.3609, allocations: 8.301 MB / 406.5 MB, free: 9.129 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00209/0.3631, allocations: 1.784 MB / 408.2 MB, free: 7.227 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00176/0.3648, allocations: 1.064 MB / 409.3 MB, free: 6.168 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002406/0.3651, allocations: 118.1 kB / 409.4 MB, free: 6.035 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.513e-05/0.3651, allocations: 51.55 kB / 409.5 MB, free: 5.973 MB / 318.1 MB Notification: Performance of pre-optimization done (n=104): time 2.806e-06/0.3651, allocations: 0 / 409.5 MB, free: 5.973 MB / 318.1 MB Notification: Performance of matching and sorting (n=120): time 0.01282/0.378, allocations: 6.207 MB / 415.7 MB, free: 15.66 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.6e-05/0.378, allocations: 64.41 kB / 415.7 MB, free: 15.59 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002236/0.3803, allocations: 1.529 MB / 417.3 MB, free: 14.05 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001084/0.3804, allocations: 49.64 kB / 417.3 MB, free: 13.99 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006514/0.3811, allocations: 0.993 MB / 418.3 MB, free: 12.99 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003264/0.3814, allocations: 422.1 kB / 418.7 MB, free: 12.58 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003988/0.3818, allocations: 247.5 kB / 419 MB, free: 12.33 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001328/0.382, allocations: 353.9 kB / 419.3 MB, free: 11.98 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001103/0.3831, allocations: 0.7378 MB / 420 MB, free: 11.24 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001306/0.3844, allocations: 1.063 MB / 421.1 MB, free: 10.05 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002513/0.3869, allocations: 1.875 MB / 423 MB, free: 8.047 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.542e-06/0.3869, allocations: 4 kB / 423 MB, free: 8.043 MB / 334.1 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.003918/0.3909, allocations: 2.349 MB / 425.3 MB, free: 5.672 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.137e-05/0.3909, allocations: 8 kB / 425.3 MB, free: 5.664 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.78e-05/0.3909, allocations: 12 kB / 425.4 MB, free: 5.652 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009896/0.3919, allocations: 410.8 kB / 425.8 MB, free: 5.242 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001252/0.3932, allocations: 327.5 kB / 426.1 MB, free: 4.922 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005156/0.3984, allocations: 5.071 MB / 431.1 MB, free: 15.58 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00189/0.4003, allocations: 87.81 kB / 431.2 MB, free: 15.49 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001479/0.4004, allocations: 55.94 kB / 431.3 MB, free: 15.44 MB / 350.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.001704/0.4021, allocations: 0.7159 MB / 432 MB, free: 14.71 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004233/0.4026, allocations: 162 kB / 432.2 MB, free: 14.55 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00368/0.4063, allocations: 2.141 MB / 434.3 MB, free: 12.38 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.702e-05/0.4063, allocations: 12 kB / 434.3 MB, free: 12.37 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.602e-06/0.4063, allocations: 4 kB / 434.3 MB, free: 12.36 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.069e-05/0.4063, allocations: 7.984 kB / 434.3 MB, free: 12.36 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008215/0.4146, allocations: 4.565 MB / 438.9 MB, free: 7.719 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.334e-06/0.4146, allocations: 0 / 438.9 MB, free: 7.719 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001013/0.4156, allocations: 223.7 kB / 439.1 MB, free: 7.5 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001271/0.4169, allocations: 474.3 kB / 439.6 MB, free: 7.027 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.838e-05/0.417, allocations: 35.92 kB / 439.6 MB, free: 6.992 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006823/0.4238, allocations: 6.679 MB / 446.3 MB, free: 15.9 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.334e-06/0.4239, allocations: 4.031 kB / 446.3 MB, free: 15.9 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005102/0.429, allocations: 3.189 MB / 449.5 MB, free: 12.65 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001131/0.4301, allocations: 395 kB / 449.9 MB, free: 12.24 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002253/0.4304, allocations: 31.98 kB / 449.9 MB, free: 12.21 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008308/0.4312, allocations: 71.92 kB / 450 MB, free: 12.14 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002936/0.4315, allocations: 112.7 kB / 450.1 MB, free: 12.03 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.267e-05/0.4316, allocations: 35.98 kB / 450.1 MB, free: 12 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.001545/0.4332, allocations: 1.052 MB / 451.2 MB, free: 10.95 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.5e-07/0.4332, allocations: 0 / 451.2 MB, free: 10.95 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001529/0.4347, allocations: 464 kB / 451.6 MB, free: 10.49 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.0003784/0.4351, allocations: 191.8 kB / 451.8 MB, free: 10.29 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.003378/0.4385, allocations: 2.267 MB / 454.1 MB, free: 7.961 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.34e-06/0.4385, allocations: 0 / 454.1 MB, free: 7.961 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002115/0.4406, allocations: 1.499 MB / 455.6 MB, free: 6.398 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001958/0.4426, allocations: 449 kB / 456 MB, free: 5.977 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007858/0.4505, allocations: 4.478 MB / 460.5 MB, free: 1.453 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001697/0.4522, allocations: 1.823 MB / 462.3 MB, free: 15.6 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.001372/0.4536, allocations: 397.6 kB / 462.7 MB, free: 15.2 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003651/0.454, allocations: 115.4 kB / 462.8 MB, free: 15.09 MB / 382.1 MB Notification: Performance of SimCode: time 1.553e-06/0.454, allocations: 4 kB / 462.8 MB, free: 15.09 MB / 382.1 MB Notification: Performance of Templates: time 0.0436/0.4976, allocations: 25.64 MB / 488.5 MB, free: 5.719 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 -s cvode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/InductionMachines/IMC_DOL/IMC_DOL.csv","/var/lib/jenkins1/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