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.001309/0.001309, allocations: 112 kB / 20.43 MB, free: 1.457 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.001385/0.001385, allocations: 180.8 kB / 23.71 MB, free: 4.695 MB / 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.519/1.519, allocations: 225.6 MB / 252.5 MB, free: 12.99 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.001622/0.001622, allocations: 43.92 kB / 370.9 MB, free: 9.332 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3005/0.3022, allocations: 52.19 MB / 423.1 MB, free: 14.65 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL): time 0.01278/0.3149, allocations: 9.482 MB / 432.6 MB, free: 5.129 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.007303/0.3223, allocations: 2.987 MB / 435.6 MB, free: 2.133 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001855/0.3241, allocations: 63.62 kB / 435.7 MB, free: 2.07 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002149/0.3263, allocations: 0.6752 MB / 436.3 MB, free: 1.395 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00322/0.3295, allocations: 0.8196 MB / 437.2 MB, free: 0.5703 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009246/0.3304, allocations: 351.4 kB / 437.5 MB, free: 232 kB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.003867/0.3343, allocations: 2.654 MB / 440.2 MB, free: 13.56 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001805/0.3361, allocations: 1.156 MB / 441.3 MB, free: 12.34 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001847/0.3379, allocations: 1.23 MB / 442.5 MB, free: 11.11 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002084/0.34, allocations: 1.53 MB / 444.1 MB, free: 9.57 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004585/0.3405, allocations: 308 kB / 444.4 MB, free: 9.27 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000817/0.3413, allocations: 395.8 kB / 444.8 MB, free: 8.883 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009793/0.3423, allocations: 0.9114 MB / 445.7 MB, free: 7.969 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001839/0.3441, allocations: 1.404 MB / 447.1 MB, free: 6.559 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005433/0.3495, allocations: 4.095 MB / 451.2 MB, free: 2.449 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.853e-06/0.3495, allocations: 0 / 451.2 MB, free: 2.449 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.844e-06/0.3495, allocations: 0 / 451.2 MB, free: 2.449 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.677e-05/0.3496, allocations: 4 kB / 451.2 MB, free: 2.445 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.006684/0.3563, allocations: 2.838 MB / 454 MB, free: 15.56 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.051e-05/0.3564, allocations: 8.031 kB / 454 MB, free: 15.55 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007389/0.3571, allocations: 303.2 kB / 454.3 MB, free: 15.25 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002907/0.36, allocations: 1.472 MB / 455.8 MB, free: 13.74 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001399/0.3601, allocations: 152.4 kB / 455.9 MB, free: 13.59 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003322/0.3605, allocations: 208.1 kB / 456.1 MB, free: 13.38 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005174/0.3657, allocations: 2.74 MB / 458.9 MB, free: 10.55 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.675e-05/0.3657, allocations: 7.938 kB / 458.9 MB, free: 10.55 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000212/0.3659, allocations: 84 kB / 459 MB, free: 10.46 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001348/0.3661, allocations: 95.92 kB / 459.1 MB, free: 10.37 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004637/0.3707, allocations: 2.33 MB / 461.4 MB, free: 8.039 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01465/0.3853, allocations: 8.189 MB / 469.6 MB, free: 15.61 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002197/0.3875, allocations: 1.257 MB / 470.8 MB, free: 14.34 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00205/0.3896, allocations: 1.01 MB / 471.8 MB, free: 13.33 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002064/0.3898, allocations: 49.61 kB / 471.9 MB, free: 13.29 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.83e-05/0.3898, allocations: 47.56 kB / 471.9 MB, free: 13.23 MB / 382.1 MB Notification: Performance of pre-optimization done (n=104): time 3.987e-06/0.3898, allocations: 0 / 471.9 MB, free: 13.23 MB / 382.1 MB Notification: Performance of matching and sorting (n=120): time 0.01489/0.4047, allocations: 5.935 MB / 477.9 MB, free: 7.258 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.424e-05/0.4048, allocations: 64.41 kB / 477.9 MB, free: 7.184 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002619/0.4074, allocations: 1.516 MB / 479.5 MB, free: 5.656 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001871/0.4076, allocations: 45.7 kB / 479.5 MB, free: 5.605 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008612/0.4085, allocations: 1.005 MB / 480.5 MB, free: 4.59 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004066/0.4089, allocations: 444.3 kB / 480.9 MB, free: 4.152 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004267/0.4093, allocations: 255.5 kB / 481.2 MB, free: 3.898 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000188/0.4095, allocations: 361.9 kB / 481.5 MB, free: 3.539 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00122/0.4107, allocations: 0.73 MB / 482.3 MB, free: 2.809 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001518/0.4122, allocations: 1.055 MB / 483.3 MB, free: 1.625 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002846/0.4151, allocations: 1.879 MB / 485.2 MB, free: 15.61 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.721e-06/0.4151, allocations: 0 / 485.2 MB, free: 15.61 MB / 398.1 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.004683/0.4198, allocations: 2.35 MB / 487.6 MB, free: 13.24 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.884e-05/0.4198, allocations: 12 kB / 487.6 MB, free: 13.23 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.696e-05/0.4198, allocations: 8 kB / 487.6 MB, free: 13.22 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001051/0.4209, allocations: 411.2 kB / 488 MB, free: 12.8 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00128/0.4221, allocations: 327.5 kB / 488.3 MB, free: 12.48 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00622/0.4284, allocations: 4.858 MB / 493.2 MB, free: 7.398 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001561/0.4299, allocations: 95.73 kB / 493.3 MB, free: 7.305 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001206/0.43, allocations: 52 kB / 493.3 MB, free: 7.254 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.001562/0.4316, allocations: 0.7081 MB / 494 MB, free: 6.535 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004009/0.432, allocations: 170.9 kB / 494.2 MB, free: 6.367 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003985/0.436, allocations: 2.137 MB / 496.3 MB, free: 4.203 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.345e-05/0.436, allocations: 12 kB / 496.3 MB, free: 4.191 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.004e-05/0.436, allocations: 4 kB / 496.3 MB, free: 4.188 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.52e-05/0.436, allocations: 7.984 kB / 496.3 MB, free: 4.18 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009076/0.4451, allocations: 4.537 MB / 0.4891 GB, free: 15.55 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.177e-05/0.4451, allocations: 4.281 kB / 0.4891 GB, free: 15.55 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001086/0.4462, allocations: 219.7 kB / 0.4893 GB, free: 15.34 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001529/0.4477, allocations: 470.8 kB / 0.4898 GB, free: 14.86 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001079/0.4478, allocations: 35.98 kB / 0.4898 GB, free: 14.83 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00744/0.4553, allocations: 6.373 MB / 0.4961 GB, free: 8.113 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.192e-06/0.4553, allocations: 4.078 kB / 0.4961 GB, free: 8.109 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005673/0.461, allocations: 3.185 MB / 0.4992 GB, free: 4.871 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001294/0.4622, allocations: 338.7 kB / 0.4995 GB, free: 4.539 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002737/0.4625, allocations: 27.98 kB / 0.4995 GB, free: 4.512 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009296/0.4634, allocations: 75.92 kB / 0.4996 GB, free: 4.438 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003039/0.4638, allocations: 112.7 kB / 0.4997 GB, free: 4.324 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001479/0.4639, allocations: 35.98 kB / 0.4997 GB, free: 4.289 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001795/0.4657, allocations: 1.044 MB / 0.5008 GB, free: 3.246 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4657, allocations: 0 / 0.5008 GB, free: 3.246 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001707/0.4674, allocations: 460 kB / 0.5012 GB, free: 2.797 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.000407/0.4678, allocations: 186.9 kB / 0.5014 GB, free: 2.605 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.004062/0.4719, allocations: 2.052 MB / 0.5034 GB, free: 0.5195 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.71e-06/0.4719, allocations: 0 / 0.5034 GB, free: 0.5195 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002428/0.4743, allocations: 1.359 MB / 0.5047 GB, free: 15.12 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002217/0.4765, allocations: 440 kB / 0.5051 GB, free: 14.69 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00847/0.485, allocations: 4.566 MB / 0.5096 GB, free: 10.06 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001821/0.4868, allocations: 1.822 MB / 0.5114 GB, free: 8.211 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.001348/0.4882, allocations: 397.5 kB / 0.5117 GB, free: 7.816 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003492/0.4885, allocations: 107.4 kB / 0.5118 GB, free: 7.711 MB / 430.1 MB Notification: Performance of SimCode: time 1.133e-06/0.4885, allocations: 4 kB / 0.5118 GB, free: 7.707 MB / 430.1 MB Notification: Performance of Templates: time 0.2796/0.7681, allocations: 27.09 MB / 0.5383 GB, free: 108.9 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: 6.076384454965591]