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.001296/0.001296, allocations: 75.73 kB / 21.25 MB, free: 0.543 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.001455/0.001455, allocations: 160.8 kB / 24.51 MB, free: 3.715 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.439/1.439, allocations: 177.2 MB / 204.9 MB, free: 9.027 MB / 190.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.001527/0.001527, allocations: 51.88 kB / 325.6 MB, free: 264 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09027/0.0918, allocations: 53.34 MB / 378.9 MB, free: 15.65 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL): time 0.01132/0.1031, allocations: 8.364 MB / 387.3 MB, free: 7.246 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00518/0.1083, allocations: 2.882 MB / 390.2 MB, free: 4.355 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005439/0.1088, allocations: 59.62 kB / 390.2 MB, free: 4.297 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0014/0.1102, allocations: 0.6171 MB / 390.8 MB, free: 3.676 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001727/0.112, allocations: 0.8196 MB / 391.7 MB, free: 2.852 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006688/0.1126, allocations: 355.5 kB / 392 MB, free: 2.504 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002685/0.1153, allocations: 2.689 MB / 394.7 MB, free: 15.8 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001518/0.1168, allocations: 1.121 MB / 395.8 MB, free: 14.62 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001433/0.1183, allocations: 1.23 MB / 397.1 MB, free: 13.38 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002003/0.1203, allocations: 1.471 MB / 398.5 MB, free: 11.91 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004341/0.1207, allocations: 308 kB / 398.8 MB, free: 11.61 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000759/0.1215, allocations: 407.8 kB / 399.2 MB, free: 11.21 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009136/0.1224, allocations: 0.8959 MB / 400.1 MB, free: 10.3 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001234/0.1236, allocations: 1.144 MB / 401.3 MB, free: 9.152 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004029/0.1276, allocations: 4.142 MB / 405.4 MB, free: 4.996 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.573e-06/0.1276, allocations: 4 kB / 405.4 MB, free: 4.992 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.1277, allocations: 0 / 405.4 MB, free: 4.992 MB / 366.1 MB Notification: Performance of Transformations before backend: time 3.72e-05/0.1277, allocations: 0 / 405.4 MB, free: 4.992 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.005164/0.1329, allocations: 2.861 MB / 408.3 MB, free: 2.082 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.608e-05/0.1329, allocations: 8.031 kB / 408.3 MB, free: 2.074 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009518/0.1338, allocations: 331.1 kB / 408.6 MB, free: 1.75 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002555/0.1364, allocations: 1.492 MB / 410.1 MB, free: 220 kB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001307/0.1365, allocations: 148.4 kB / 410.2 MB, free: 68 kB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003135/0.1368, allocations: 215.9 kB / 410.4 MB, free: 15.86 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00439/0.1412, allocations: 2.844 MB / 413.3 MB, free: 12.9 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.577e-05/0.1413, allocations: 3.953 kB / 413.3 MB, free: 12.89 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001915/0.1415, allocations: 84 kB / 413.4 MB, free: 12.81 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001036/0.1416, allocations: 91.94 kB / 413.5 MB, free: 12.72 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003876/0.1455, allocations: 2.322 MB / 415.8 MB, free: 10.4 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0116/0.1571, allocations: 7.25 MB / 423 MB, free: 2.926 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002/0.1591, allocations: 1.249 MB / 424.3 MB, free: 1.664 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001986/0.161, allocations: 1.015 MB / 425.3 MB, free: 0.6484 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001997/0.1612, allocations: 48.91 kB / 425.3 MB, free: 0.6016 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.668e-05/0.1613, allocations: 43.56 kB / 425.4 MB, free: 0.5508 MB / 382.1 MB Notification: Performance of pre-optimization done (n=104): time 2.876e-06/0.1613, allocations: 0 / 425.4 MB, free: 0.5508 MB / 382.1 MB Notification: Performance of matching and sorting (n=120): time 0.0131/0.1744, allocations: 5.915 MB / 431.3 MB, free: 10.6 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.852e-05/0.1744, allocations: 64.41 kB / 431.4 MB, free: 10.52 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002076/0.1765, allocations: 1.405 MB / 432.8 MB, free: 9.102 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 8.409e-05/0.1766, allocations: 45.7 kB / 432.8 MB, free: 9.051 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008072/0.1774, allocations: 1.028 MB / 433.8 MB, free: 8.012 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003583/0.1778, allocations: 436.2 kB / 434.3 MB, free: 7.582 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004147/0.1782, allocations: 251.5 kB / 434.5 MB, free: 7.332 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001779/0.1784, allocations: 361.9 kB / 434.9 MB, free: 6.973 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001214/0.1796, allocations: 0.73 MB / 435.6 MB, free: 6.242 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001476/0.181, allocations: 1.055 MB / 436.7 MB, free: 5.059 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002884/0.1839, allocations: 1.879 MB / 438.5 MB, free: 3.047 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.664e-06/0.1839, allocations: 4 kB / 438.5 MB, free: 3.043 MB / 398.1 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.004198/0.1881, allocations: 2.346 MB / 440.9 MB, free: 0.6758 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.402e-05/0.1882, allocations: 8 kB / 440.9 MB, free: 0.668 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.665e-05/0.1882, allocations: 16 kB / 440.9 MB, free: 0.6523 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001003/0.1892, allocations: 403.1 kB / 441.3 MB, free: 252 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00126/0.1904, allocations: 327.5 kB / 441.6 MB, free: 15.92 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005588/0.196, allocations: 4.779 MB / 446.4 MB, free: 10.94 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00114/0.1972, allocations: 91.91 kB / 446.5 MB, free: 10.85 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001101/0.1973, allocations: 51.98 kB / 446.5 MB, free: 10.8 MB / 414.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.001299/0.1986, allocations: 0.7198 MB / 447.3 MB, free: 10.07 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002641/0.1988, allocations: 159 kB / 447.4 MB, free: 9.914 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003799/0.2026, allocations: 2.12 MB / 449.5 MB, free: 7.77 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.206e-05/0.2026, allocations: 12 kB / 449.5 MB, free: 7.758 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.2027, allocations: 0 / 449.5 MB, free: 7.758 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.137e-05/0.2027, allocations: 7.984 kB / 449.6 MB, free: 7.75 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007203/0.2099, allocations: 4.054 MB / 453.6 MB, free: 3.602 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.849e-06/0.2099, allocations: 0 / 453.6 MB, free: 3.602 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009694/0.2108, allocations: 219.7 kB / 453.8 MB, free: 3.387 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001256/0.2121, allocations: 471.1 kB / 454.3 MB, free: 2.914 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.631e-05/0.2122, allocations: 27.98 kB / 454.3 MB, free: 2.887 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006807/0.219, allocations: 6.27 MB / 460.6 MB, free: 12.31 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.219, allocations: 0 / 460.6 MB, free: 12.31 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00528/0.2243, allocations: 3.181 MB / 463.8 MB, free: 9.078 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008815/0.2252, allocations: 314.9 kB / 464.1 MB, free: 8.77 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001777/0.2253, allocations: 24 kB / 464.1 MB, free: 8.746 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008066/0.2261, allocations: 75.91 kB / 464.2 MB, free: 8.672 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002751/0.2264, allocations: 112.7 kB / 464.3 MB, free: 8.559 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.624e-05/0.2265, allocations: 31.98 kB / 464.3 MB, free: 8.527 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001452/0.228, allocations: 0.947 MB / 465.3 MB, free: 7.578 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.228, allocations: 0 / 465.3 MB, free: 7.578 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001456/0.2294, allocations: 467.9 kB / 465.7 MB, free: 7.121 MB / 430.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.0003847/0.2298, allocations: 194.8 kB / 465.9 MB, free: 6.922 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003635/0.2334, allocations: 2.042 MB / 467.9 MB, free: 4.848 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 6.041e-06/0.2334, allocations: 4 kB / 468 MB, free: 4.844 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002344/0.2358, allocations: 1.369 MB / 469.3 MB, free: 3.434 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001656/0.2374, allocations: 388.1 kB / 469.7 MB, free: 3.059 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1875/0.4249, allocations: 4.529 MB / 474.2 MB, free: 83.18 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0017/0.4266, allocations: 1.256 MB / 475.5 MB, free: 83.01 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.001298/0.4279, allocations: 380.5 kB / 475.9 MB, free: 82.99 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003511/0.4283, allocations: 108.7 kB / 476 MB, free: 82.98 MB / 430.1 MB Notification: Performance of SimCode: time 9.12e-07/0.4283, allocations: 0 / 476 MB, free: 82.98 MB / 430.1 MB Notification: Performance of Templates: time 0.03576/0.464, allocations: 24.72 MB / 0.4889 GB, free: 69.61 MB / 430.1 MB " [Timeout remaining time 660] 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 -s ida -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/InductionMachines/IMC_DOL/IMC_DOL.csv","/var/lib/jenkins1/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: 5.662443440989591]