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.001471/0.001471, allocations: 111.6 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.001804/0.001804, allocations: 212.9 kB / 19.4 MB, free: 3.699 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.314/1.314, allocations: 227.4 MB / 247.6 MB, free: 10.45 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001245/0.001245, allocations: 59.91 kB / 359.4 MB, free: 12.89 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.267/0.2683, allocations: 50.54 MB / 409.9 MB, free: 1.562 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL): time 0.01165/0.28, allocations: 9.419 MB / 419.4 MB, free: 8.102 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.006354/0.2864, allocations: 3.05 MB / 422.4 MB, free: 5.043 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001593/0.288, allocations: 47.81 kB / 422.5 MB, free: 4.996 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00207/0.2901, allocations: 0.6327 MB / 423.1 MB, free: 4.359 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003067/0.2932, allocations: 0.7727 MB / 423.9 MB, free: 3.582 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001068/0.2943, allocations: 367.5 kB / 424.2 MB, free: 3.223 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.003508/0.2978, allocations: 2.661 MB / 426.9 MB, free: 0.5508 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003115/0.301, allocations: 2.159 MB / 429 MB, free: 14.32 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00194/0.3029, allocations: 1.207 MB / 430.2 MB, free: 13.11 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002548/0.3055, allocations: 1.491 MB / 431.7 MB, free: 11.62 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007832/0.3063, allocations: 308 kB / 432 MB, free: 11.32 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001318/0.3076, allocations: 403.8 kB / 432.4 MB, free: 10.92 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001297/0.3089, allocations: 0.896 MB / 433.3 MB, free: 10.02 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002442/0.3114, allocations: 1.408 MB / 434.7 MB, free: 8.609 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005191/0.3166, allocations: 4.102 MB / 438.8 MB, free: 4.496 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.895e-06/0.3166, allocations: 3.984 kB / 438.8 MB, free: 4.492 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.885e-06/0.3166, allocations: 0 / 438.8 MB, free: 4.492 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.000153/0.3168, allocations: 8 kB / 438.9 MB, free: 4.484 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.007875/0.3247, allocations: 2.857 MB / 441.7 MB, free: 1.562 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.739e-05/0.3247, allocations: 11.97 kB / 441.7 MB, free: 1.551 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001297/0.326, allocations: 321.7 kB / 442 MB, free: 1.234 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003398/0.3295, allocations: 1.551 MB / 443.6 MB, free: 15.62 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001451/0.3296, allocations: 152.4 kB / 443.7 MB, free: 15.47 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004812/0.3301, allocations: 199.9 kB / 443.9 MB, free: 15.28 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005086/0.3352, allocations: 2.74 MB / 446.7 MB, free: 12.45 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.082e-05/0.3353, allocations: 15.83 kB / 446.7 MB, free: 12.43 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002336/0.3355, allocations: 87.98 kB / 446.8 MB, free: 12.35 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001132/0.3357, allocations: 91.94 kB / 446.9 MB, free: 12.26 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004361/0.34, allocations: 2.326 MB / 449.2 MB, free: 9.93 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01398/0.354, allocations: 8.317 MB / 457.5 MB, free: 1.367 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002172/0.3562, allocations: 1.772 MB / 459.3 MB, free: 15.48 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001931/0.3582, allocations: 1.077 MB / 460.4 MB, free: 14.4 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002492/0.3585, allocations: 118.1 kB / 460.5 MB, free: 14.27 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.1e-05/0.3585, allocations: 47.56 kB / 460.5 MB, free: 14.21 MB / 382.1 MB Notification: Performance of pre-optimization done (n=104): time 4.338e-06/0.3585, allocations: 0 / 460.5 MB, free: 14.21 MB / 382.1 MB Notification: Performance of matching and sorting (n=120): time 0.01321/0.3718, allocations: 6.224 MB / 466.7 MB, free: 7.875 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.247e-05/0.3718, allocations: 64.41 kB / 466.8 MB, free: 7.797 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002247/0.3741, allocations: 1.529 MB / 468.3 MB, free: 6.258 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.851e-05/0.3742, allocations: 49.7 kB / 468.4 MB, free: 6.203 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000692/0.3749, allocations: 0.9835 MB / 469.4 MB, free: 5.207 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003214/0.3752, allocations: 418 kB / 469.8 MB, free: 4.793 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003953/0.3756, allocations: 251.4 kB / 470 MB, free: 4.543 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001328/0.3758, allocations: 361.9 kB / 470.4 MB, free: 4.184 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00111/0.3769, allocations: 0.7339 MB / 471.1 MB, free: 3.449 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001293/0.3782, allocations: 1.059 MB / 472.2 MB, free: 2.262 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002492/0.3807, allocations: 1.879 MB / 474 MB, free: 256 kB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.526e-06/0.3807, allocations: 0 / 474 MB, free: 256 kB / 382.1 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.00391/0.3846, allocations: 2.357 MB / 476.4 MB, free: 13.87 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.304e-05/0.3847, allocations: 8 kB / 476.4 MB, free: 13.86 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.942e-05/0.3847, allocations: 8 kB / 476.4 MB, free: 13.86 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009716/0.3857, allocations: 411.5 kB / 476.8 MB, free: 13.44 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001206/0.3869, allocations: 327.5 kB / 477.1 MB, free: 13.12 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005035/0.3919, allocations: 5.067 MB / 482.2 MB, free: 7.777 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001223/0.3932, allocations: 91.75 kB / 482.3 MB, free: 7.688 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001653/0.3933, allocations: 59.94 kB / 482.3 MB, free: 7.629 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.001296/0.3947, allocations: 0.7121 MB / 483.1 MB, free: 6.906 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000426/0.3951, allocations: 162 kB / 483.2 MB, free: 6.746 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003636/0.3987, allocations: 2.141 MB / 485.4 MB, free: 4.574 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.244e-05/0.3988, allocations: 12 kB / 485.4 MB, free: 4.562 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.543e-05/0.3988, allocations: 7.984 kB / 485.4 MB, free: 4.555 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.377e-05/0.3988, allocations: 3.984 kB / 485.4 MB, free: 4.551 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008229/0.407, allocations: 4.558 MB / 489.9 MB, free: 15.9 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.824e-06/0.4071, allocations: 4 kB / 489.9 MB, free: 15.89 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009032/0.408, allocations: 227.6 kB / 490.2 MB, free: 15.67 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001145/0.4091, allocations: 471 kB / 490.6 MB, free: 15.2 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.583e-05/0.4092, allocations: 31.98 kB / 490.7 MB, free: 15.17 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006023/0.4153, allocations: 6.688 MB / 497.3 MB, free: 8.062 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.4153, allocations: 4.062 kB / 497.4 MB, free: 8.059 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004924/0.4202, allocations: 3.18 MB / 0.4888 GB, free: 4.816 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001044/0.4213, allocations: 395 kB / 0.4892 GB, free: 4.41 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003892/0.4217, allocations: 27.98 kB / 0.4892 GB, free: 4.383 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009872/0.4227, allocations: 79.86 kB / 0.4893 GB, free: 4.305 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002577/0.423, allocations: 112.7 kB / 0.4894 GB, free: 4.195 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.65e-05/0.4231, allocations: 35.98 kB / 0.4894 GB, free: 4.16 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001866/0.4249, allocations: 1.052 MB / 0.4904 GB, free: 3.109 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4249, allocations: 0 / 0.4904 GB, free: 3.109 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001648/0.4266, allocations: 464 kB / 0.4909 GB, free: 2.656 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.0003849/0.427, allocations: 194.9 kB / 0.4911 GB, free: 2.457 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.003555/0.4305, allocations: 2.269 MB / 0.4933 GB, free: 124 kB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.588e-06/0.4306, allocations: 5.875 kB / 0.4933 GB, free: 120 kB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002236/0.4328, allocations: 1.492 MB / 0.4948 GB, free: 14.56 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002053/0.4349, allocations: 440.1 kB / 0.4952 GB, free: 14.13 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007265/0.4422, allocations: 4.518 MB / 0.4996 GB, free: 9.559 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001627/0.4438, allocations: 1.799 MB / 0.5013 GB, free: 7.727 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004691/0.4443, allocations: 115.4 kB / 0.5015 GB, free: 7.613 MB / 430.1 MB Notification: Performance of SimCode: time 3.01e-07/0.4443, allocations: 0 / 0.5015 GB, free: 7.613 MB / 430.1 MB Notification: Performance of Templates: time 0.2809/0.7252, allocations: 70.77 MB / 0.5706 GB, free: 105.3 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/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