Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00202/0.00202, allocations: 118.9 kB / 17.79 MB, free: 5.285 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002564/0.002564, allocations: 199.3 kB / 20.74 MB, free: 2.344 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.564/1.564, allocations: 230.6 MB / 254.1 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=15000,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.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL") translateModel(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=15000,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.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001762/0.001762, allocations: 51.88 kB / 373.5 MB, free: 9.793 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1237/0.1255, allocations: 53.32 MB / 426.8 MB, free: 4.375 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL): time 0.2636/0.389, allocations: 9.476 MB / 436.3 MB, free: 6.469 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006529/0.3956, allocations: 3.05 MB / 439.3 MB, free: 5.012 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001821/0.3974, allocations: 59.47 kB / 439.4 MB, free: 4.988 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001811/0.3992, allocations: 0.6807 MB / 440.1 MB, free: 4.629 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002691/0.4019, allocations: 0.8034 MB / 440.9 MB, free: 4.125 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009356/0.4028, allocations: 369.9 kB / 441.2 MB, free: 3.895 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003472/0.4063, allocations: 2.67 MB / 443.9 MB, free: 2.566 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002182/0.4085, allocations: 1.537 MB / 445.4 MB, free: 1.859 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00253/0.411, allocations: 1.236 MB / 446.7 MB, free: 1.277 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003889/0.4149, allocations: 1.531 MB / 448.2 MB, free: 0.582 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001124/0.416, allocations: 307.2 kB / 448.5 MB, free: 0.582 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002259/0.4183, allocations: 413.3 kB / 448.9 MB, free: 0.5508 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001368/0.4197, allocations: 0.8958 MB / 449.8 MB, free: 68 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003432/0.4231, allocations: 1.41 MB / 451.2 MB, free: 15.15 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008661/0.4318, allocations: 4.119 MB / 455.3 MB, free: 13.34 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.833e-06/0.4318, allocations: 0 / 455.3 MB, free: 13.34 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.784e-06/0.4318, allocations: 0 / 455.3 MB, free: 13.34 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001284/0.4319, allocations: 0 / 455.3 MB, free: 13.34 MB / 366.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.0102/0.4421, allocations: 2.942 MB / 458.3 MB, free: 11.27 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.119e-05/0.4421, allocations: 9.25 kB / 458.3 MB, free: 11.27 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001769/0.4439, allocations: 334.2 kB / 458.6 MB, free: 11.1 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003904/0.4478, allocations: 1.559 MB / 460.2 MB, free: 9.98 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001669/0.448, allocations: 152.1 kB / 460.3 MB, free: 9.91 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004736/0.4485, allocations: 203.2 kB / 460.5 MB, free: 9.84 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005418/0.4539, allocations: 2.738 MB / 463.3 MB, free: 8.184 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.914e-05/0.4539, allocations: 7.328 kB / 463.3 MB, free: 8.18 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002262/0.4542, allocations: 89.39 kB / 463.4 MB, free: 8.109 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001116/0.4543, allocations: 94.84 kB / 463.4 MB, free: 8.098 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004404/0.4587, allocations: 2.331 MB / 465.8 MB, free: 6.906 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01592/0.4746, allocations: 8.33 MB / 474.1 MB, free: 0.8203 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002383/0.477, allocations: 1.703 MB / 475.8 MB, free: 15.1 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002254/0.4792, allocations: 1.019 MB / 476.8 MB, free: 14.09 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000276/0.4795, allocations: 122.3 kB / 476.9 MB, free: 13.95 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.963e-05/0.4796, allocations: 43.56 kB / 477 MB, free: 13.89 MB / 382.1 MB Notification: Performance of pre-optimization done (n=104): time 2.965e-06/0.4796, allocations: 0 / 477 MB, free: 13.89 MB / 382.1 MB Notification: Performance of matching and sorting (n=120): time 0.01565/0.4952, allocations: 6.236 MB / 483.2 MB, free: 7.547 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.117e-05/0.4953, allocations: 64.41 kB / 483.3 MB, free: 7.469 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002697/0.498, allocations: 1.525 MB / 484.8 MB, free: 5.934 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001433/0.4981, allocations: 45.7 kB / 484.9 MB, free: 5.883 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008861/0.499, allocations: 1.025 MB / 485.9 MB, free: 4.844 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004133/0.4994, allocations: 432.3 kB / 486.3 MB, free: 4.418 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004549/0.4999, allocations: 251.5 kB / 486.6 MB, free: 4.168 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001934/0.5001, allocations: 365.9 kB / 486.9 MB, free: 3.805 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001319/0.5014, allocations: 0.7339 MB / 487.6 MB, free: 3.07 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00152/0.5029, allocations: 1.052 MB / 488.7 MB, free: 1.891 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002879/0.5058, allocations: 1.886 MB / 490.6 MB, free: 15.88 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.791e-06/0.5058, allocations: 3.938 kB / 490.6 MB, free: 15.88 MB / 398.1 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.004325/0.5101, allocations: 2.354 MB / 492.9 MB, free: 13.5 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.242e-05/0.5101, allocations: 8 kB / 492.9 MB, free: 13.49 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.615e-05/0.5101, allocations: 8.344 kB / 493 MB, free: 13.48 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001092/0.5112, allocations: 411.1 kB / 493.4 MB, free: 13.07 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001298/0.5125, allocations: 327.5 kB / 493.7 MB, free: 12.75 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005819/0.5184, allocations: 5.056 MB / 498.7 MB, free: 7.418 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001413/0.5198, allocations: 103.8 kB / 498.8 MB, free: 7.316 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001217/0.5199, allocations: 52 kB / 498.9 MB, free: 7.266 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.001337/0.5212, allocations: 0.7119 MB / 499.6 MB, free: 6.547 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003405/0.5216, allocations: 174.9 kB / 499.8 MB, free: 6.375 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004079/0.5256, allocations: 2.133 MB / 0.4901 GB, free: 4.215 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.187e-05/0.5257, allocations: 12 kB / 0.4901 GB, free: 4.203 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.176e-06/0.5257, allocations: 4 kB / 0.4902 GB, free: 4.199 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.465e-05/0.5257, allocations: 7.969 kB / 0.4902 GB, free: 4.191 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008318/0.534, allocations: 4.553 MB / 0.4946 GB, free: 15.55 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.371e-05/0.534, allocations: 4 kB / 0.4946 GB, free: 15.54 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001013/0.535, allocations: 220 kB / 0.4948 GB, free: 15.33 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00137/0.5364, allocations: 478.7 kB / 0.4953 GB, free: 14.85 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.575e-05/0.5365, allocations: 27.98 kB / 0.4953 GB, free: 14.82 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007322/0.5438, allocations: 6.687 MB / 0.5018 GB, free: 7.719 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.855e-06/0.5438, allocations: 4.031 kB / 0.5018 GB, free: 7.715 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005839/0.5497, allocations: 3.193 MB / 0.505 GB, free: 4.457 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001099/0.5508, allocations: 399.9 kB / 0.5053 GB, free: 4.047 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002647/0.551, allocations: 35.98 kB / 0.5054 GB, free: 4.012 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009036/0.5519, allocations: 71.92 kB / 0.5054 GB, free: 3.941 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000312/0.5522, allocations: 108.8 kB / 0.5055 GB, free: 3.836 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.892e-05/0.5523, allocations: 39.98 kB / 0.5056 GB, free: 3.797 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001807/0.5541, allocations: 1.056 MB / 0.5066 GB, free: 2.742 MB / 414.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.5541, allocations: 0 / 0.5066 GB, free: 2.742 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001687/0.5558, allocations: 463.9 kB / 0.5071 GB, free: 2.289 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.0004764/0.5563, allocations: 196.5 kB / 0.5072 GB, free: 2.094 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.003975/0.5603, allocations: 2.196 MB / 0.5094 GB, free: 15.83 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.897e-06/0.5603, allocations: 4.062 kB / 0.5094 GB, free: 15.82 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002533/0.5628, allocations: 1.441 MB / 0.5108 GB, free: 14.32 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002156/0.565, allocations: 448.8 kB / 0.5112 GB, free: 13.9 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007997/0.573, allocations: 4.535 MB / 0.5157 GB, free: 9.301 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001779/0.5747, allocations: 1.826 MB / 0.5174 GB, free: 7.441 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.001285/0.576, allocations: 393.6 kB / 0.5178 GB, free: 7.051 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003928/0.5764, allocations: 111.4 kB / 0.5179 GB, free: 6.941 MB / 430.1 MB Notification: Performance of SimCode: time 1.002e-06/0.5764, allocations: 0 / 0.5179 GB, free: 6.941 MB / 430.1 MB Notification: Performance of Templates: time 0.05173/0.6281, allocations: 26.39 MB / 0.5437 GB, free: 12.79 MB / 462.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.sim & ./Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/InductionMachines/IMC_DOL/IMC_DOL.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 6.027141071856022]