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.0009401/0.0009397, allocations: 97.22 kB / 18.01 MB, free: 5.602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001113/0.001113, allocations: 201.5 kB / 18.93 MB, free: 4.719 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.349/1.349, allocations: 227.7 MB / 247.5 MB, free: 9.496 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002324/0.0002322, allocations: 11.98 kB / 308.4 MB, free: 0.5938 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09015/0.09041, allocations: 51.52 MB / 359.9 MB, free: 13.07 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL): time 0.00982/0.1003, allocations: 8.861 MB / 368.8 MB, free: 4.168 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.006712/0.107, allocations: 2.992 MB / 371.8 MB, free: 1.164 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001968/0.109, allocations: 47.81 kB / 371.8 MB, free: 1.117 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001985/0.1111, allocations: 0.5516 MB / 372.4 MB, free: 0.5625 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.1907/0.3018, allocations: 0.6975 MB / 373.1 MB, free: 10.75 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001427/0.3033, allocations: 317.6 kB / 373.4 MB, free: 10.75 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.00502/0.3083, allocations: 3.082 MB / 376.5 MB, free: 10.7 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003185/0.3115, allocations: 1.805 MB / 378.3 MB, free: 10.25 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002218/0.3137, allocations: 0.9204 MB / 379.2 MB, free: 10.04 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002803/0.3166, allocations: 1.285 MB / 380.5 MB, free: 9.773 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007031/0.3173, allocations: 136.9 kB / 380.6 MB, free: 9.77 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001489/0.3188, allocations: 242.5 kB / 380.8 MB, free: 9.766 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001272/0.3201, allocations: 0.6884 MB / 381.5 MB, free: 9.66 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003047/0.3231, allocations: 1.205 MB / 382.7 MB, free: 9.117 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004736/0.3279, allocations: 3.289 MB / 386 MB, free: 8.395 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.851e-06/0.3279, allocations: 8 kB / 386 MB, free: 8.387 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.354e-06/0.3279, allocations: 0 / 386 MB, free: 8.387 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0001681/0.3281, allocations: 1.094 kB / 386 MB, free: 8.387 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.007052/0.3352, allocations: 2.442 MB / 388.5 MB, free: 6.715 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.663e-05/0.3352, allocations: 9.312 kB / 388.5 MB, free: 6.715 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001844/0.3371, allocations: 323.2 kB / 388.8 MB, free: 6.566 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004005/0.3411, allocations: 1.511 MB / 390.3 MB, free: 5.5 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002348/0.3414, allocations: 151.5 kB / 390.5 MB, free: 5.43 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008218/0.3422, allocations: 205.3 kB / 390.7 MB, free: 5.359 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007209/0.3494, allocations: 2.746 MB / 393.4 MB, free: 3.707 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001009/0.3495, allocations: 6.656 kB / 393.4 MB, free: 3.703 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003816/0.3499, allocations: 83.36 kB / 393.5 MB, free: 3.641 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001344/0.3501, allocations: 91.69 kB / 393.6 MB, free: 3.629 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004985/0.3551, allocations: 2.352 MB / 395.9 MB, free: 2.434 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01562/0.3707, allocations: 8.459 MB / 404.4 MB, free: 11.48 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002451/0.3732, allocations: 1.796 MB / 406.2 MB, free: 9.562 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00209/0.3753, allocations: 1.071 MB / 407.3 MB, free: 8.496 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002835/0.3756, allocations: 119.5 kB / 407.4 MB, free: 8.363 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.905e-05/0.3757, allocations: 43.56 kB / 407.4 MB, free: 8.309 MB / 318.1 MB Notification: Performance of pre-optimization done (n=104): time 3.035e-06/0.3757, allocations: 0 / 407.4 MB, free: 8.309 MB / 318.1 MB Notification: Performance of matching and sorting (n=120): time 0.01497/0.3907, allocations: 6.305 MB / 413.7 MB, free: 1.895 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.976e-05/0.3908, allocations: 64.41 kB / 413.8 MB, free: 1.82 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003184/0.394, allocations: 1.521 MB / 415.3 MB, free: 296 kB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002841/0.3943, allocations: 45.7 kB / 415.3 MB, free: 244 kB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009059/0.3952, allocations: 0.9943 MB / 416.3 MB, free: 15.25 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005899/0.3958, allocations: 419.4 kB / 416.7 MB, free: 14.84 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000285/0.3961, allocations: 127.1 kB / 416.9 MB, free: 14.71 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001749/0.3963, allocations: 361.9 kB / 417.2 MB, free: 14.35 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001388/0.3977, allocations: 0.7339 MB / 418 MB, free: 13.61 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001631/0.3994, allocations: 1.075 MB / 419 MB, free: 12.41 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00301/0.4024, allocations: 1.893 MB / 420.9 MB, free: 10.39 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.002e-05/0.4024, allocations: 4 kB / 420.9 MB, free: 10.38 MB / 334.1 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.004539/0.407, allocations: 2.366 MB / 423.3 MB, free: 7.996 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.007e-05/0.407, allocations: 12 kB / 423.3 MB, free: 7.984 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.047e-05/0.407, allocations: 11.98 kB / 423.3 MB, free: 7.973 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001012/0.408, allocations: 411.4 kB / 423.7 MB, free: 7.559 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001304/0.4094, allocations: 331.5 kB / 424 MB, free: 7.234 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00524/0.4146, allocations: 4.647 MB / 428.7 MB, free: 2.328 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001611/0.4163, allocations: 95.97 kB / 428.8 MB, free: 2.234 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002357/0.4165, allocations: 52 kB / 428.8 MB, free: 2.184 MB / 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.001647/0.4182, allocations: 0.7158 MB / 429.6 MB, free: 1.457 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005076/0.4187, allocations: 169.9 kB / 429.7 MB, free: 1.289 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004263/0.423, allocations: 2.157 MB / 431.9 MB, free: 15.1 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.579e-05/0.423, allocations: 12 kB / 431.9 MB, free: 15.09 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.464e-05/0.423, allocations: 4 kB / 431.9 MB, free: 15.09 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.563e-05/0.4231, allocations: 7.922 kB / 431.9 MB, free: 15.08 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009432/0.4325, allocations: 4.605 MB / 436.5 MB, free: 10.4 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-05/0.4325, allocations: 4.062 kB / 436.5 MB, free: 10.4 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001043/0.4336, allocations: 231.6 kB / 436.7 MB, free: 10.17 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001373/0.435, allocations: 458.9 kB / 437.2 MB, free: 9.711 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001502/0.4352, allocations: 31.98 kB / 437.2 MB, free: 9.68 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006385/0.4415, allocations: 6.149 MB / 443.4 MB, free: 3.133 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.891e-06/0.4416, allocations: 4.031 kB / 443.4 MB, free: 3.129 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005542/0.4471, allocations: 3.219 MB / 446.6 MB, free: 15.85 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001146/0.4483, allocations: 402.9 kB / 447 MB, free: 15.44 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005169/0.4488, allocations: 31.98 kB / 447 MB, free: 15.41 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00117/0.45, allocations: 81.44 kB / 447.1 MB, free: 15.33 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002821/0.4503, allocations: 100.8 kB / 447.2 MB, free: 15.23 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.357e-05/0.4504, allocations: 35.98 kB / 447.2 MB, free: 15.2 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.001964/0.4524, allocations: 1.064 MB / 448.3 MB, free: 14.13 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.4524, allocations: 0 / 448.3 MB, free: 14.13 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.002015/0.4544, allocations: 460 kB / 448.7 MB, free: 13.68 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.000505/0.4549, allocations: 187.7 kB / 448.9 MB, free: 13.49 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.004022/0.459, allocations: 2.277 MB / 451.2 MB, free: 11.14 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 8.365e-06/0.459, allocations: 9.875 kB / 451.2 MB, free: 11.13 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00249/0.4615, allocations: 1.499 MB / 452.7 MB, free: 9.574 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003558/0.4651, allocations: 428.7 kB / 453.1 MB, free: 9.168 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009729/0.4748, allocations: 5.592 MB / 458.7 MB, free: 3.512 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00191/0.4768, allocations: 1.807 MB / 460.5 MB, free: 1.672 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006509/0.4775, allocations: 115.4 kB / 460.6 MB, free: 1.559 MB / 366.1 MB Notification: Performance of SimCode: time 9.21e-07/0.4775, allocations: 0 / 460.6 MB, free: 1.559 MB / 366.1 MB Notification: Performance of Templates: time 0.07845/0.5559, allocations: 69.94 MB / 0.5181 GB, free: 11.65 MB / 446.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/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