Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001786/0.001786, allocations: 116.8 kB / 19.17 MB, free: 3.895 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002087/0.002087, allocations: 214.6 kB / 22.13 MB, free: 0.9414 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.445/1.445, allocations: 230.4 MB / 255.4 MB, free: 9.059 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-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize,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-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize") translateModel(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize,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-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001922/0.001922, allocations: 63.84 kB / 374.8 MB, free: 4.906 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2823/0.2843, allocations: 53.32 MB / 428.1 MB, free: 8.062 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize): time 0.01191/0.2962, allocations: 8.985 MB / 437.1 MB, free: 15.04 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006604/0.3028, allocations: 2.945 MB / 440 MB, free: 12.09 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001318/0.3041, allocations: 47.81 kB / 440 MB, free: 12.04 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001878/0.306, allocations: 0.652 MB / 440.7 MB, free: 11.39 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0026/0.3086, allocations: 0.7691 MB / 441.5 MB, free: 10.61 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009362/0.3095, allocations: 331.5 kB / 441.8 MB, free: 10.29 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003295/0.3128, allocations: 2.373 MB / 444.2 MB, free: 7.906 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001849/0.3147, allocations: 1.29 MB / 445.5 MB, free: 6.566 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001941/0.3166, allocations: 1.078 MB / 446.5 MB, free: 5.484 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002365/0.319, allocations: 1.382 MB / 447.9 MB, free: 4.098 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005193/0.3195, allocations: 276 kB / 448.2 MB, free: 3.828 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009048/0.3204, allocations: 387.8 kB / 448.6 MB, free: 3.449 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009572/0.3213, allocations: 0.8102 MB / 449.4 MB, free: 2.637 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00162/0.323, allocations: 1.264 MB / 450.6 MB, free: 1.367 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0047/0.3277, allocations: 3.713 MB / 454.4 MB, free: 13.64 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.122e-06/0.3277, allocations: 3.938 kB / 454.4 MB, free: 13.64 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.3277, allocations: 0 / 454.4 MB, free: 13.64 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.198e-05/0.3278, allocations: 0 / 454.4 MB, free: 13.64 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: 466 * Number of variables: 466 Notification: Performance of Generate backend data structure: time 0.006105/0.3339, allocations: 2.655 MB / 457 MB, free: 10.92 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.284e-05/0.3339, allocations: 11.97 kB / 457 MB, free: 10.91 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001016/0.3349, allocations: 303.3 kB / 457.3 MB, free: 10.61 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002425/0.3373, allocations: 1.417 MB / 458.7 MB, free: 9.141 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001174/0.3375, allocations: 139.9 kB / 458.9 MB, free: 9.004 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002902/0.3378, allocations: 183.9 kB / 459.1 MB, free: 8.824 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004137/0.3419, allocations: 2.413 MB / 461.5 MB, free: 6.375 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.646e-05/0.3419, allocations: 0 / 461.5 MB, free: 6.375 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000187/0.3421, allocations: 79.92 kB / 461.5 MB, free: 6.297 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.395e-05/0.3422, allocations: 83.5 kB / 461.6 MB, free: 6.215 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003514/0.3457, allocations: 2.024 MB / 463.6 MB, free: 4.188 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01189/0.3576, allocations: 7.38 MB / 471 MB, free: 12.59 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002045/0.3597, allocations: 1.226 MB / 472.3 MB, free: 11.3 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001739/0.3614, allocations: 0.8534 MB / 473.1 MB, free: 10.45 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002475/0.3617, allocations: 122.1 kB / 473.2 MB, free: 10.31 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.651e-05/0.3617, allocations: 43.56 kB / 473.3 MB, free: 10.26 MB / 382.1 MB Notification: Performance of pre-optimization done (n=84): time 3.045e-06/0.3617, allocations: 0 / 473.3 MB, free: 10.26 MB / 382.1 MB Notification: Performance of matching and sorting (n=100): time 0.01029/0.372, allocations: 4.923 MB / 478.2 MB, free: 5.25 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.577e-05/0.3721, allocations: 60.41 kB / 478.3 MB, free: 5.176 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002214/0.3743, allocations: 1.389 MB / 479.6 MB, free: 3.77 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.016e-05/0.3744, allocations: 45.7 kB / 479.7 MB, free: 3.719 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007496/0.3751, allocations: 0.9227 MB / 480.6 MB, free: 2.785 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003304/0.3754, allocations: 368.9 kB / 481 MB, free: 2.422 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003712/0.3758, allocations: 222.8 kB / 481.2 MB, free: 2.199 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001711/0.376, allocations: 353.9 kB / 481.5 MB, free: 1.848 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001038/0.377, allocations: 0.6311 MB / 482.2 MB, free: 1.215 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001267/0.3783, allocations: 0.922 MB / 483.1 MB, free: 176 kB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00241/0.3807, allocations: 1.641 MB / 484.7 MB, free: 14.41 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.322e-06/0.3807, allocations: 4 kB / 484.7 MB, free: 14.41 MB / 398.1 MB Notification: Performance of matching and sorting (n=149) (initialization): time 0.004605/0.3853, allocations: 2.379 MB / 487.1 MB, free: 12.01 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.544e-05/0.3853, allocations: 8 kB / 487.1 MB, free: 12 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.105e-05/0.3854, allocations: 11.98 kB / 487.1 MB, free: 11.99 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00194/0.3873, allocations: 0.7206 MB / 487.8 MB, free: 11.27 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008694/0.3882, allocations: 231.7 kB / 488.1 MB, free: 11.04 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01216/0.4003, allocations: 8.749 MB / 496.8 MB, free: 2.008 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001251/0.4016, allocations: 91.95 kB / 496.9 MB, free: 1.918 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.795e-05/0.4017, allocations: 44 kB / 497 MB, free: 1.875 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 39 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (114): * Single equations (assignments): 112 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (6,29,77.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001232/0.4029, allocations: 0.6301 MB / 497.6 MB, free: 1.234 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002942/0.4032, allocations: 147.1 kB / 497.7 MB, free: 1.09 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003604/0.4068, allocations: 1.894 MB / 499.6 MB, free: 15.18 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.125e-05/0.4068, allocations: 12 kB / 499.6 MB, free: 15.16 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.44e-06/0.4068, allocations: 4 kB / 499.6 MB, free: 15.16 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.331e-05/0.4068, allocations: 7.984 kB / 499.6 MB, free: 15.15 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007406/0.4142, allocations: 3.989 MB / 0.4918 GB, free: 11.07 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.38e-06/0.4142, allocations: 4.031 kB / 0.4918 GB, free: 11.06 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008154/0.4151, allocations: 187.7 kB / 0.492 GB, free: 10.88 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001277/0.4163, allocations: 462.9 kB / 0.4925 GB, free: 10.41 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.955e-05/0.4164, allocations: 23.98 kB / 0.4925 GB, free: 10.39 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007465/0.4239, allocations: 6.698 MB / 0.499 GB, free: 3.27 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.168e-06/0.4239, allocations: 3.938 kB / 0.499 GB, free: 3.266 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004904/0.4288, allocations: 2.78 MB / 0.5017 GB, free: 444 kB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008338/0.4296, allocations: 368 kB / 0.5021 GB, free: 56 kB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000194/0.4298, allocations: 27.98 kB / 0.5021 GB, free: 28 kB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007856/0.4306, allocations: 68.08 kB / 0.5022 GB, free: 15.96 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002381/0.4308, allocations: 76.89 kB / 0.5023 GB, free: 15.88 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.827e-05/0.4309, allocations: 27.98 kB / 0.5023 GB, free: 15.86 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001669/0.4326, allocations: 0.9741 MB / 0.5032 GB, free: 14.88 MB / 430.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4326, allocations: 0 / 0.5032 GB, free: 14.88 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001557/0.4341, allocations: 431.9 kB / 0.5036 GB, free: 14.46 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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],loadInertia.phi) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (84): * Single equations (assignments): 80 * 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.0003996/0.4345, allocations: 183 kB / 0.5038 GB, free: 14.27 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003704/0.4382, allocations: 1.946 MB / 0.5057 GB, free: 12.3 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 5.83e-06/0.4382, allocations: 0 / 0.5057 GB, free: 12.3 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002241/0.4405, allocations: 1.304 MB / 0.507 GB, free: 10.94 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002007/0.4425, allocations: 388.3 kB / 0.5074 GB, free: 10.56 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007607/0.4501, allocations: 4.102 MB / 0.5114 GB, free: 6.398 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001628/0.4517, allocations: 1.685 MB / 0.513 GB, free: 4.676 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005504/0.4523, allocations: 103.4 kB / 0.5131 GB, free: 4.574 MB / 430.1 MB Notification: Performance of SimCode: time 1.553e-06/0.4523, allocations: 0 / 0.5131 GB, free: 4.574 MB / 430.1 MB Notification: Performance of Templates: time 0.2972/0.7495, allocations: 53.27 MB / 0.5651 GB, free: 79.8 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/InductionMachines/IMC_Initialize/IMC_Initialize.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.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: 12.303098799893633]