Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_4.0.0_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_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001115/0.001115, allocations: 108.6 kB / 16.92 MB, free: 5.781 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001007/0.001007, allocations: 191.3 kB / 17.85 MB, free: 5.164 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.437/1.437, allocations: 222.9 MB / 241.5 MB, free: 15.22 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009988/0.0009988, allocations: 51.36 kB / 300.6 MB, free: 5.867 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1104/0.1115, allocations: 49.44 MB / 350.1 MB, free: 4.422 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL): time 0.01116/0.1227, allocations: 9.388 MB / 359.4 MB, free: 10.98 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.006136/0.1288, allocations: 2.972 MB / 362.4 MB, free: 8 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001424/0.1303, allocations: 51.75 kB / 362.5 MB, free: 7.949 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001683/0.132, allocations: 0.6288 MB / 363.1 MB, free: 7.316 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002046/0.1341, allocations: 0.7688 MB / 363.9 MB, free: 6.543 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007416/0.1348, allocations: 347.5 kB / 364.2 MB, free: 6.203 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.002725/0.1376, allocations: 2.639 MB / 366.8 MB, free: 3.551 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002332/0.1399, allocations: 2.155 MB / 369 MB, free: 1.332 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00175/0.1417, allocations: 1.195 MB / 370.2 MB, free: 136 kB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.2184/0.3601, allocations: 1.482 MB / 371.7 MB, free: 13 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009719/0.3611, allocations: 309 kB / 372 MB, free: 13 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001549/0.3627, allocations: 396.5 kB / 372.4 MB, free: 13 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00129/0.364, allocations: 0.8905 MB / 373.3 MB, free: 12.93 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002535/0.3665, allocations: 1.405 MB / 374.7 MB, free: 12.57 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006387/0.3729, allocations: 4.034 MB / 378.7 MB, free: 12.11 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.601e-06/0.3729, allocations: 0.6875 kB / 378.7 MB, free: 12.11 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.106e-06/0.373, allocations: 1.469 kB / 378.7 MB, free: 12.11 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0001942/0.3732, allocations: 0.7812 kB / 378.7 MB, free: 12.11 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.009833/0.383, allocations: 2.853 MB / 381.5 MB, free: 10.66 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.161e-05/0.3831, allocations: 13.75 kB / 381.6 MB, free: 10.66 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001153/0.3842, allocations: 285.8 kB / 381.8 MB, free: 10.53 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003009/0.3872, allocations: 1.49 MB / 383.3 MB, free: 9.723 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001388/0.3874, allocations: 154.3 kB / 383.5 MB, free: 9.652 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003586/0.3878, allocations: 200.5 kB / 383.7 MB, free: 9.586 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004994/0.3928, allocations: 2.737 MB / 386.4 MB, free: 8.453 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.767e-05/0.3929, allocations: 7.438 kB / 386.4 MB, free: 8.453 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001995/0.3931, allocations: 85.12 kB / 386.5 MB, free: 8.391 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001286/0.3932, allocations: 98.38 kB / 386.6 MB, free: 8.379 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004035/0.3972, allocations: 2.322 MB / 388.9 MB, free: 7.223 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01355/0.4108, allocations: 8.407 MB / 397.3 MB, free: 1.309 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001866/0.4127, allocations: 1.783 MB / 399.1 MB, free: 32 kB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002463/0.4152, allocations: 1.058 MB / 400.2 MB, free: 15.55 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003439/0.4156, allocations: 133.6 kB / 400.3 MB, free: 15.44 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.354e-05/0.4157, allocations: 45.94 kB / 400.3 MB, free: 15.39 MB / 318.1 MB Notification: Performance of pre-optimization done (n=104): time 4.939e-06/0.4157, allocations: 0 / 400.3 MB, free: 15.39 MB / 318.1 MB Notification: Performance of matching and sorting (n=120): time 0.0206/0.4363, allocations: 6.199 MB / 406.5 MB, free: 10.01 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.22e-05/0.4364, allocations: 68.41 kB / 406.6 MB, free: 9.93 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003847/0.4403, allocations: 1.516 MB / 408.1 MB, free: 8.402 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002744/0.4406, allocations: 45.7 kB / 408.2 MB, free: 8.352 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001176/0.4418, allocations: 0.9787 MB / 409.2 MB, free: 7.363 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000716/0.4425, allocations: 416.1 kB / 409.6 MB, free: 6.961 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000741/0.4433, allocations: 255.4 kB / 409.8 MB, free: 6.707 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0002931/0.4436, allocations: 357.9 kB / 410.2 MB, free: 6.352 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002282/0.4459, allocations: 0.7339 MB / 410.9 MB, free: 5.617 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002525/0.4484, allocations: 1.058 MB / 412 MB, free: 4.434 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00506/0.4535, allocations: 1.87 MB / 413.8 MB, free: 2.469 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.061e-05/0.4536, allocations: 4 kB / 413.8 MB, free: 2.465 MB / 318.1 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.007665/0.4612, allocations: 2.359 MB / 416.2 MB, free: 152 kB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.705e-05/0.4613, allocations: 8 kB / 416.2 MB, free: 144 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.933e-05/0.4614, allocations: 14.53 kB / 416.2 MB, free: 132 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001856/0.4633, allocations: 415.1 kB / 416.6 MB, free: 15.71 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002535/0.4658, allocations: 324.8 kB / 416.9 MB, free: 15.41 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009078/0.4749, allocations: 5.066 MB / 422 MB, free: 10.1 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002712/0.4777, allocations: 87.97 kB / 422.1 MB, free: 10.01 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003923/0.4781, allocations: 55.98 kB / 422.1 MB, free: 9.957 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.002476/0.4806, allocations: 0.7086 MB / 422.8 MB, free: 9.254 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009522/0.4816, allocations: 162 kB / 423 MB, free: 9.094 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007753/0.4894, allocations: 2.145 MB / 425.1 MB, free: 6.926 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.449e-05/0.4894, allocations: 12.75 kB / 425.2 MB, free: 6.914 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.098e-05/0.4895, allocations: 5.625 kB / 425.2 MB, free: 6.91 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.889e-05/0.4895, allocations: 7.969 kB / 425.2 MB, free: 6.902 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01629/0.5058, allocations: 4.579 MB / 429.8 MB, free: 2.285 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.038e-05/0.5059, allocations: 2.906 kB / 429.8 MB, free: 2.285 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001051/0.5069, allocations: 220.2 kB / 430 MB, free: 2.078 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001339/0.5083, allocations: 474.1 kB / 430.4 MB, free: 1.605 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001333/0.5084, allocations: 35.92 kB / 430.5 MB, free: 1.57 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006797/0.5153, allocations: 6.675 MB / 437.1 MB, free: 10.5 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.726e-06/0.5153, allocations: 10.88 kB / 437.2 MB, free: 10.5 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005824/0.5211, allocations: 3.179 MB / 440.3 MB, free: 7.273 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001372/0.5225, allocations: 395 kB / 440.7 MB, free: 6.867 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006787/0.5232, allocations: 36 kB / 440.8 MB, free: 6.832 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001288/0.5245, allocations: 71.91 kB / 440.8 MB, free: 6.762 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003099/0.5248, allocations: 119.7 kB / 440.9 MB, free: 6.648 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.712e-05/0.525, allocations: 32 kB / 441 MB, free: 6.617 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.002398/0.5274, allocations: 1.048 MB / 442 MB, free: 5.57 MB / 350.1 MB Notification: Performance of sort global known variables: time 3.81e-07/0.5274, allocations: 0 / 442 MB, free: 5.57 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.00243/0.5298, allocations: 460 kB / 442.5 MB, free: 5.121 MB / 350.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.0004523/0.5303, allocations: 192.6 kB / 442.7 MB, free: 4.934 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.005292/0.5356, allocations: 2.825 MB / 445.5 MB, free: 2.09 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 8.276e-06/0.5356, allocations: 4.188 kB / 445.5 MB, free: 2.086 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002394/0.538, allocations: 1.486 MB / 447 MB, free: 0.5625 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003055/0.5411, allocations: 444.9 kB / 447.4 MB, free: 144 kB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009645/0.5507, allocations: 4.519 MB / 451.9 MB, free: 11.59 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00226/0.553, allocations: 1.822 MB / 453.7 MB, free: 9.73 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.00172/0.5548, allocations: 393.5 kB / 454.1 MB, free: 9.34 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005415/0.5553, allocations: 111.4 kB / 454.2 MB, free: 9.23 MB / 366.1 MB Notification: Performance of SimCode: time 1.323e-06/0.5554, allocations: 6.812 kB / 454.2 MB, free: 9.227 MB / 366.1 MB Notification: Performance of Templates: time 0.0477/0.6031, allocations: 25.53 MB / 479.8 MB, free: 24 kB / 382.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.sim & ./Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches