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.00107/0.00107, allocations: 111.7 kB / 17.06 MB, free: 6 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.0009902/0.0009903, allocations: 194.9 kB / 18 MB, free: 5.078 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.365/1.365, allocations: 222.9 MB / 241.7 MB, free: 15.14 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009848/0.0009848, allocations: 39.94 kB / 351.3 MB, free: 3.238 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3029/0.3039, allocations: 49.45 MB / 400.7 MB, free: 8.738 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL): time 0.01032/0.3142, allocations: 9.387 MB / 410.1 MB, free: 15.45 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.005484/0.3197, allocations: 2.971 MB / 413.1 MB, free: 12.46 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009842/0.3207, allocations: 51.75 kB / 413.1 MB, free: 12.41 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001547/0.3223, allocations: 0.6562 MB / 413.8 MB, free: 11.75 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002189/0.3245, allocations: 0.8078 MB / 414.6 MB, free: 10.94 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007519/0.3253, allocations: 355.5 kB / 415 MB, free: 10.59 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.002541/0.3279, allocations: 2.646 MB / 417.6 MB, free: 7.938 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002274/0.3301, allocations: 2.151 MB / 419.8 MB, free: 5.719 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001457/0.3316, allocations: 1.195 MB / 421 MB, free: 4.52 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001738/0.3334, allocations: 1.491 MB / 422.4 MB, free: 3.023 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003788/0.3338, allocations: 308 kB / 422.7 MB, free: 2.723 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006849/0.3344, allocations: 399.8 kB / 423.1 MB, free: 2.332 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008615/0.3353, allocations: 0.8921 MB / 424 MB, free: 1.438 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002096/0.3374, allocations: 1.404 MB / 425.4 MB, free: 28 kB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004222/0.3417, allocations: 4.078 MB / 429.5 MB, free: 11.94 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.757e-06/0.3417, allocations: 3.984 kB / 429.5 MB, free: 11.93 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.063e-06/0.3417, allocations: 0 / 429.5 MB, free: 11.93 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.041e-05/0.3418, allocations: 4 kB / 429.5 MB, free: 11.93 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.005172/0.347, allocations: 2.853 MB / 432.4 MB, free: 9.012 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.646e-05/0.347, allocations: 8.031 kB / 432.4 MB, free: 9.004 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000683/0.3477, allocations: 289.7 kB / 432.7 MB, free: 8.719 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002388/0.3501, allocations: 1.523 MB / 434.2 MB, free: 7.137 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001172/0.3503, allocations: 152.4 kB / 434.3 MB, free: 6.984 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003074/0.3506, allocations: 212 kB / 434.5 MB, free: 6.777 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004237/0.3548, allocations: 2.736 MB / 437.3 MB, free: 3.953 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.561e-05/0.3549, allocations: 3.938 kB / 437.3 MB, free: 3.949 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000192/0.3551, allocations: 84 kB / 437.4 MB, free: 3.867 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.612e-05/0.3552, allocations: 95.92 kB / 437.5 MB, free: 3.773 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003753/0.3589, allocations: 2.326 MB / 439.8 MB, free: 1.445 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01201/0.371, allocations: 8.321 MB / 448.1 MB, free: 8.879 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002039/0.373, allocations: 1.777 MB / 449.9 MB, free: 6.984 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001936/0.375, allocations: 1.077 MB / 451 MB, free: 5.91 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002488/0.3753, allocations: 122.1 kB / 451.1 MB, free: 5.77 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.62e-05/0.3753, allocations: 43.56 kB / 451.1 MB, free: 5.719 MB / 366.1 MB Notification: Performance of pre-optimization done (n=104): time 3.597e-06/0.3753, allocations: 0 / 451.1 MB, free: 5.719 MB / 366.1 MB Notification: Performance of matching and sorting (n=120): time 0.01262/0.3879, allocations: 6.208 MB / 457.3 MB, free: 15.39 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.705e-05/0.388, allocations: 64.41 kB / 457.4 MB, free: 15.32 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002392/0.3904, allocations: 1.512 MB / 458.9 MB, free: 13.79 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.716e-05/0.3906, allocations: 49.64 kB / 458.9 MB, free: 13.74 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007508/0.3913, allocations: 0.9834 MB / 459.9 MB, free: 12.75 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003645/0.3917, allocations: 417.9 kB / 460.3 MB, free: 12.33 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004329/0.3921, allocations: 259.4 kB / 460.6 MB, free: 12.07 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001695/0.3923, allocations: 357.9 kB / 460.9 MB, free: 11.72 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001131/0.3934, allocations: 0.73 MB / 461.7 MB, free: 10.99 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001319/0.3948, allocations: 1.055 MB / 462.7 MB, free: 9.805 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002546/0.3973, allocations: 1.875 MB / 464.6 MB, free: 7.801 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.224e-06/0.3973, allocations: 4 kB / 464.6 MB, free: 7.797 MB / 382.1 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.003989/0.4013, allocations: 2.349 MB / 467 MB, free: 5.426 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.108e-05/0.4014, allocations: 16.06 kB / 467 MB, free: 5.41 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.809e-05/0.4014, allocations: 11.94 kB / 467 MB, free: 5.398 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009832/0.4024, allocations: 409.8 kB / 467.4 MB, free: 4.988 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001194/0.4036, allocations: 331.5 kB / 467.7 MB, free: 4.664 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005149/0.4088, allocations: 5.061 MB / 472.8 MB, free: 15.32 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001523/0.4103, allocations: 91.84 kB / 472.9 MB, free: 15.23 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001241/0.4105, allocations: 48 kB / 472.9 MB, free: 15.19 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.001447/0.4119, allocations: 0.7121 MB / 473.6 MB, free: 14.46 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000365/0.4123, allocations: 158 kB / 473.8 MB, free: 14.31 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003596/0.4159, allocations: 2.141 MB / 475.9 MB, free: 12.14 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.345e-05/0.4159, allocations: 12 kB / 475.9 MB, free: 12.12 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.624e-06/0.4159, allocations: 4 kB / 475.9 MB, free: 12.12 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.389e-05/0.4159, allocations: 7.969 kB / 475.9 MB, free: 12.11 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007591/0.4235, allocations: 4.569 MB / 480.5 MB, free: 7.449 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.276e-06/0.4236, allocations: 4 kB / 480.5 MB, free: 7.445 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009686/0.4246, allocations: 223.9 kB / 480.7 MB, free: 7.227 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001174/0.4257, allocations: 470.8 kB / 481.2 MB, free: 6.754 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.433e-05/0.4258, allocations: 27.98 kB / 481.2 MB, free: 6.727 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00668/0.4325, allocations: 6.678 MB / 487.9 MB, free: 15.63 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.099e-06/0.4326, allocations: 7.938 kB / 487.9 MB, free: 15.62 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005091/0.4377, allocations: 3.176 MB / 491.1 MB, free: 12.38 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001059/0.4387, allocations: 399 kB / 491.5 MB, free: 11.97 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001774/0.4389, allocations: 27.98 kB / 491.5 MB, free: 11.95 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007604/0.4397, allocations: 71.92 kB / 491.6 MB, free: 11.88 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002663/0.44, allocations: 116.7 kB / 491.7 MB, free: 11.76 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.634e-05/0.4401, allocations: 35.98 kB / 491.7 MB, free: 11.73 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001444/0.4415, allocations: 1.04 MB / 492.8 MB, free: 10.69 MB / 414.1 MB Notification: Performance of sort global known variables: time 2.5e-07/0.4415, allocations: 0 / 492.8 MB, free: 10.69 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001549/0.4431, allocations: 475.9 kB / 493.2 MB, free: 10.22 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.0003982/0.4435, allocations: 190.7 kB / 493.4 MB, free: 10.03 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.003729/0.4472, allocations: 2.277 MB / 495.7 MB, free: 7.688 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.44e-06/0.4472, allocations: 0 / 495.7 MB, free: 7.688 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002349/0.4496, allocations: 1.484 MB / 497.2 MB, free: 6.141 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002162/0.4518, allocations: 440.6 kB / 497.6 MB, free: 5.711 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007563/0.4594, allocations: 4.476 MB / 0.4903 GB, free: 1.176 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001736/0.4611, allocations: 1.819 MB / 0.4921 GB, free: 15.32 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.001286/0.4624, allocations: 393.5 kB / 0.4925 GB, free: 14.93 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003602/0.4628, allocations: 115.4 kB / 0.4926 GB, free: 14.82 MB / 430.1 MB Notification: Performance of SimCode: time 1.393e-06/0.4628, allocations: 0 / 0.4926 GB, free: 14.82 MB / 430.1 MB Notification: Performance of Templates: time 0.04662/0.5094, allocations: 25.95 MB / 0.5179 GB, free: 5.121 MB / 446.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