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.00159/0.00159, allocations: 114.2 kB / 17.06 MB, free: 6.016 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.002133/0.002133, allocations: 191 kB / 18 MB, free: 5.098 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.393/1.393, allocations: 222.9 MB / 241.7 MB, free: 15.2 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001377/0.001377, allocations: 47.92 kB / 351.3 MB, free: 3.273 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3224/0.3238, allocations: 49.43 MB / 400.7 MB, free: 8.766 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL): time 0.01258/0.3364, allocations: 9.392 MB / 410.1 MB, free: 15.48 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.006205/0.3426, allocations: 2.96 MB / 413.1 MB, free: 12.51 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001681/0.3443, allocations: 51.75 kB / 413.1 MB, free: 12.46 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002022/0.3464, allocations: 0.6325 MB / 413.8 MB, free: 11.82 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002926/0.3494, allocations: 0.7688 MB / 414.5 MB, free: 11.05 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001052/0.3504, allocations: 355.4 kB / 414.9 MB, free: 10.7 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.003664/0.3541, allocations: 2.657 MB / 417.5 MB, free: 8.035 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003085/0.3572, allocations: 2.151 MB / 419.7 MB, free: 5.816 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00192/0.3591, allocations: 1.187 MB / 420.9 MB, free: 4.625 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002629/0.3618, allocations: 1.487 MB / 422.4 MB, free: 3.133 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005889/0.3624, allocations: 316 kB / 422.7 MB, free: 2.824 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009593/0.3634, allocations: 395.8 kB / 423.1 MB, free: 2.438 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008411/0.3642, allocations: 0.8843 MB / 423.9 MB, free: 1.551 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001757/0.366, allocations: 1.404 MB / 425.3 MB, free: 144 kB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00465/0.3706, allocations: 4.095 MB / 429.4 MB, free: 12.03 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.154e-06/0.3707, allocations: 4 kB / 429.4 MB, free: 12.02 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.793e-06/0.3707, allocations: 3.938 kB / 429.5 MB, free: 12.02 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.387e-05/0.3708, allocations: 0 / 429.5 MB, free: 12.02 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.006335/0.3771, allocations: 2.913 MB / 432.4 MB, free: 9.039 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.907e-05/0.3772, allocations: 8.031 kB / 432.4 MB, free: 9.031 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007622/0.3779, allocations: 303.2 kB / 432.7 MB, free: 8.734 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002556/0.3805, allocations: 1.536 MB / 434.2 MB, free: 7.141 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001266/0.3807, allocations: 152.4 kB / 434.4 MB, free: 6.988 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002943/0.381, allocations: 212 kB / 434.6 MB, free: 6.781 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004757/0.3857, allocations: 2.732 MB / 437.3 MB, free: 3.961 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.487e-05/0.3858, allocations: 7.953 kB / 437.3 MB, free: 3.953 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001971/0.386, allocations: 87.98 kB / 437.4 MB, free: 3.867 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001068/0.3862, allocations: 99.92 kB / 437.5 MB, free: 3.77 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003899/0.3901, allocations: 2.322 MB / 439.8 MB, free: 1.445 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01407/0.4041, allocations: 8.335 MB / 448.1 MB, free: 8.867 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00222/0.4064, allocations: 1.788 MB / 449.9 MB, free: 6.965 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001878/0.4083, allocations: 1.078 MB / 451 MB, free: 5.891 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002667/0.4086, allocations: 126.1 kB / 451.1 MB, free: 5.746 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.484e-05/0.4086, allocations: 47.56 kB / 451.2 MB, free: 5.691 MB / 366.1 MB Notification: Performance of pre-optimization done (n=104): time 2.394e-06/0.4086, allocations: 0 / 451.2 MB, free: 5.691 MB / 366.1 MB Notification: Performance of matching and sorting (n=120): time 0.01345/0.4221, allocations: 6.223 MB / 457.4 MB, free: 15.36 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.734e-05/0.4222, allocations: 64.41 kB / 457.5 MB, free: 15.28 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002943/0.4251, allocations: 1.516 MB / 459 MB, free: 13.75 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000129/0.4253, allocations: 49.7 kB / 459 MB, free: 13.7 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008188/0.4261, allocations: 1.013 MB / 460 MB, free: 12.68 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004183/0.4265, allocations: 436.3 kB / 460.5 MB, free: 12.25 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004591/0.427, allocations: 255.5 kB / 460.7 MB, free: 11.99 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001503/0.4271, allocations: 357.9 kB / 461.1 MB, free: 11.64 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001199/0.4283, allocations: 0.7416 MB / 461.8 MB, free: 10.89 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001416/0.4298, allocations: 1.052 MB / 462.9 MB, free: 9.715 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002681/0.4325, allocations: 1.883 MB / 464.7 MB, free: 7.703 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.636e-06/0.4325, allocations: 4 kB / 464.7 MB, free: 7.699 MB / 382.1 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.00413/0.4366, allocations: 2.354 MB / 467.1 MB, free: 5.324 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.428e-05/0.4367, allocations: 8 kB / 467.1 MB, free: 5.316 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.098e-05/0.4367, allocations: 12 kB / 467.1 MB, free: 5.305 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001013/0.4377, allocations: 415.4 kB / 467.5 MB, free: 4.887 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001227/0.4389, allocations: 323.5 kB / 467.8 MB, free: 4.57 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005146/0.4441, allocations: 5.073 MB / 472.9 MB, free: 15.22 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0013/0.4454, allocations: 91.84 kB / 473 MB, free: 15.13 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001574/0.4456, allocations: 48 kB / 473 MB, free: 15.09 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.001362/0.447, allocations: 0.712 MB / 473.8 MB, free: 14.36 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005436/0.4475, allocations: 170.9 kB / 473.9 MB, free: 14.2 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004142/0.4517, allocations: 2.133 MB / 476.1 MB, free: 12.03 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.162e-05/0.4517, allocations: 12 kB / 476.1 MB, free: 12.02 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.559e-05/0.4517, allocations: 11.98 kB / 476.1 MB, free: 12.01 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.239e-05/0.4517, allocations: 3.984 kB / 476.1 MB, free: 12 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008458/0.4602, allocations: 4.569 MB / 480.7 MB, free: 7.34 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.333e-06/0.4602, allocations: 0 / 480.7 MB, free: 7.34 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009885/0.4612, allocations: 227.6 kB / 480.9 MB, free: 7.117 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001268/0.4625, allocations: 471 kB / 481.3 MB, free: 6.645 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001156/0.4626, allocations: 31.98 kB / 481.4 MB, free: 6.613 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006905/0.4696, allocations: 6.671 MB / 488 MB, free: 15.52 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.769e-06/0.4696, allocations: 4.031 kB / 488 MB, free: 15.52 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005291/0.4749, allocations: 3.193 MB / 491.2 MB, free: 12.26 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001138/0.476, allocations: 403.9 kB / 491.6 MB, free: 11.85 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005447/0.4766, allocations: 31.98 kB / 491.7 MB, free: 11.82 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001233/0.4778, allocations: 71.92 kB / 491.7 MB, free: 11.75 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003115/0.4782, allocations: 116.7 kB / 491.8 MB, free: 11.63 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.093e-05/0.4783, allocations: 35.98 kB / 491.9 MB, free: 11.6 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.002317/0.4806, allocations: 1.04 MB / 492.9 MB, free: 10.56 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4806, allocations: 0 / 492.9 MB, free: 10.56 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.00216/0.4828, allocations: 467.9 kB / 493.4 MB, free: 10.1 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.0004193/0.4832, allocations: 190.3 kB / 493.6 MB, free: 9.91 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.00403/0.4872, allocations: 2.28 MB / 495.8 MB, free: 7.562 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 6.392e-06/0.4873, allocations: 0 / 495.8 MB, free: 7.562 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002531/0.4898, allocations: 1.485 MB / 497.3 MB, free: 6.016 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002535/0.4923, allocations: 439.1 kB / 497.8 MB, free: 5.59 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009341/0.5017, allocations: 4.534 MB / 0.4905 GB, free: 0.9922 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002343/0.5041, allocations: 1.826 MB / 0.4923 GB, free: 15.13 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.001685/0.5058, allocations: 393.5 kB / 0.4927 GB, free: 14.74 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005344/0.5063, allocations: 111.4 kB / 0.4928 GB, free: 14.63 MB / 430.1 MB Notification: Performance of SimCode: time 1.202e-06/0.5064, allocations: 0 / 0.4928 GB, free: 14.63 MB / 430.1 MB Notification: Performance of Templates: time 0.04884/0.5552, allocations: 25.96 MB / 0.5181 GB, free: 4.914 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