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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001499/0.001499, allocations: 113 kB / 19.04 MB, free: 3.254 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001332/0.001332, allocations: 197.9 kB / 22.22 MB, free: 72 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.407/1.407, allocations: 225.6 MB / 250.8 MB, free: 13.33 MB / 206.1 MB " [Timeout remaining time 178] 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=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.0.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.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001508/0.001508, allocations: 47.92 kB / 368.7 MB, free: 10.12 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2826/0.2841, allocations: 52.14 MB / 420.9 MB, free: 15.07 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL): time 0.01135/0.2955, allocations: 9.482 MB / 430.4 MB, free: 5.547 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.005976/0.3015, allocations: 2.979 MB / 433.3 MB, free: 2.559 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001044/0.3025, allocations: 47.81 kB / 433.4 MB, free: 2.512 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001622/0.3041, allocations: 0.6753 MB / 434.1 MB, free: 1.836 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002122/0.3063, allocations: 0.8117 MB / 434.9 MB, free: 1.02 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000708/0.307, allocations: 347.5 kB / 435.2 MB, free: 0.6797 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.002817/0.3098, allocations: 2.658 MB / 437.9 MB, free: 14.01 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001621/0.3114, allocations: 1.159 MB / 439 MB, free: 12.79 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001599/0.313, allocations: 1.195 MB / 440.2 MB, free: 11.59 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001778/0.3148, allocations: 1.533 MB / 441.8 MB, free: 10.05 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003681/0.3151, allocations: 308 kB / 442.1 MB, free: 9.746 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006446/0.3158, allocations: 399.8 kB / 442.5 MB, free: 9.355 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008358/0.3166, allocations: 0.8997 MB / 443.4 MB, free: 8.453 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001366/0.318, allocations: 1.404 MB / 444.8 MB, free: 7.043 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00546/0.3235, allocations: 4.091 MB / 448.8 MB, free: 2.938 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.931e-06/0.3235, allocations: 3.938 kB / 448.8 MB, free: 2.934 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.3235, allocations: 4 kB / 448.9 MB, free: 2.93 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0001146/0.3236, allocations: 0 / 448.9 MB, free: 2.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.006853/0.3304, allocations: 2.913 MB / 451.8 MB, free: 15.95 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.856e-05/0.3305, allocations: 12.03 kB / 451.8 MB, free: 15.93 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007541/0.3312, allocations: 299.2 kB / 452.1 MB, free: 15.64 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002836/0.3341, allocations: 1.54 MB / 453.6 MB, free: 14.05 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001472/0.3342, allocations: 160.3 kB / 453.8 MB, free: 13.89 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003196/0.3345, allocations: 203.9 kB / 454 MB, free: 13.69 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005122/0.3397, allocations: 2.732 MB / 456.7 MB, free: 10.87 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.829e-05/0.3397, allocations: 15.88 kB / 456.7 MB, free: 10.85 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000205/0.3399, allocations: 80 kB / 456.8 MB, free: 10.77 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001335/0.3401, allocations: 95.92 kB / 456.9 MB, free: 10.68 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004345/0.3444, allocations: 2.322 MB / 459.2 MB, free: 8.355 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01655/0.361, allocations: 8.347 MB / 467.6 MB, free: 15.77 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002348/0.3633, allocations: 1.699 MB / 469.3 MB, free: 13.95 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001951/0.3653, allocations: 1.022 MB / 470.3 MB, free: 12.93 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002811/0.3655, allocations: 122.9 kB / 470.4 MB, free: 12.79 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.117e-05/0.3656, allocations: 47.5 kB / 470.4 MB, free: 12.73 MB / 382.1 MB Notification: Performance of pre-optimization done (n=104): time 3.386e-06/0.3656, allocations: 0 / 470.4 MB, free: 12.73 MB / 382.1 MB Notification: Performance of matching and sorting (n=120): time 0.01354/0.3791, allocations: 6.232 MB / 476.7 MB, free: 6.395 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.038e-05/0.3792, allocations: 64.41 kB / 476.7 MB, free: 6.316 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00233/0.3815, allocations: 1.516 MB / 478.3 MB, free: 4.789 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.204e-05/0.3816, allocations: 45.7 kB / 478.3 MB, free: 4.738 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008163/0.3824, allocations: 1.005 MB / 479.3 MB, free: 3.723 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003732/0.3828, allocations: 440.3 kB / 479.7 MB, free: 3.289 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004282/0.3832, allocations: 255.4 kB / 480 MB, free: 3.035 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000173/0.3834, allocations: 361.9 kB / 480.3 MB, free: 2.676 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00122/0.3846, allocations: 0.7378 MB / 481.1 MB, free: 1.938 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001544/0.3862, allocations: 1.055 MB / 482.1 MB, free: 0.7539 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002828/0.389, allocations: 1.875 MB / 484 MB, free: 14.75 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.213e-06/0.389, allocations: 8 kB / 484 MB, free: 14.74 MB / 398.1 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.004217/0.3932, allocations: 2.346 MB / 486.4 MB, free: 12.37 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.607e-05/0.3932, allocations: 8 kB / 486.4 MB, free: 12.36 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.781e-05/0.3932, allocations: 12 kB / 486.4 MB, free: 12.35 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001013/0.3943, allocations: 411.5 kB / 486.8 MB, free: 11.94 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001243/0.3955, allocations: 335.5 kB / 487.1 MB, free: 11.61 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005628/0.4011, allocations: 5.058 MB / 492.2 MB, free: 6.273 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001327/0.4025, allocations: 95.91 kB / 492.3 MB, free: 6.18 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001112/0.4026, allocations: 51.98 kB / 492.3 MB, free: 6.129 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.001402/0.404, allocations: 0.7081 MB / 493 MB, free: 5.41 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003969/0.4044, allocations: 166.9 kB / 493.2 MB, free: 5.246 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003798/0.4082, allocations: 2.133 MB / 495.3 MB, free: 3.082 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.441e-05/0.4082, allocations: 12 kB / 495.3 MB, free: 3.07 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.045e-06/0.4082, allocations: 4 kB / 495.3 MB, free: 3.066 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.083e-05/0.4082, allocations: 3.984 kB / 495.3 MB, free: 3.062 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00819/0.4164, allocations: 4.558 MB / 499.9 MB, free: 14.41 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.132e-06/0.4164, allocations: 0 / 499.9 MB, free: 14.41 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009982/0.4174, allocations: 227.9 kB / 0.4884 GB, free: 14.19 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001379/0.4188, allocations: 477.7 kB / 0.4888 GB, free: 13.71 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001108/0.4189, allocations: 31.98 kB / 0.4889 GB, free: 13.68 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007368/0.4263, allocations: 6.687 MB / 0.4954 GB, free: 6.574 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.437e-06/0.4263, allocations: 7.938 kB / 0.4954 GB, free: 6.566 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005603/0.4319, allocations: 3.177 MB / 0.4985 GB, free: 3.328 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001034/0.4329, allocations: 407.9 kB / 0.4989 GB, free: 2.91 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002389/0.4331, allocations: 27.98 kB / 0.4989 GB, free: 2.883 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008105/0.4339, allocations: 83.86 kB / 0.499 GB, free: 2.801 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002953/0.4342, allocations: 100.8 kB / 0.4991 GB, free: 2.703 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.849e-05/0.4343, allocations: 35.98 kB / 0.4991 GB, free: 2.668 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001755/0.4361, allocations: 1.052 MB / 0.5002 GB, free: 1.617 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.4361, allocations: 0 / 0.5002 GB, free: 1.617 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001738/0.4378, allocations: 463.9 kB / 0.5006 GB, free: 1.164 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.0004284/0.4383, allocations: 190 kB / 0.5008 GB, free: 0.9727 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.003777/0.442, allocations: 2.2 MB / 0.5029 GB, free: 14.7 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.157e-06/0.442, allocations: 0 / 0.5029 GB, free: 14.7 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002334/0.4444, allocations: 1.433 MB / 0.5043 GB, free: 13.21 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002026/0.4464, allocations: 439.5 kB / 0.5048 GB, free: 12.78 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007939/0.4543, allocations: 4.568 MB / 0.5092 GB, free: 8.152 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001753/0.4561, allocations: 1.819 MB / 0.511 GB, free: 6.301 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.001287/0.4574, allocations: 397.5 kB / 0.5114 GB, free: 5.906 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003619/0.4577, allocations: 111.4 kB / 0.5115 GB, free: 5.797 MB / 430.1 MB Notification: Performance of SimCode: time 1.483e-06/0.4577, allocations: 4 kB / 0.5115 GB, free: 5.793 MB / 430.1 MB Notification: Performance of Templates: time 0.2476/0.7053, allocations: 26.67 MB / 0.5375 GB, free: 108.2 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.makefile [Timeout 660] (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) [Timeout 480] 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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.929038562811911]