Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_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.001757/0.001757, allocations: 110.5 kB / 21.23 MB, free: 0.6641 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.002/0.002, allocations: 213.9 kB / 24.54 MB, free: 4.02 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.524/1.524, allocations: 230.3 MB / 258 MB, free: 8.234 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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_trunk_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_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001975/0.001975, allocations: 59.89 kB / 378.8 MB, free: 2.781 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2658/0.2678, allocations: 53.37 MB / 432.1 MB, free: 7.062 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize): time 0.01302/0.2808, allocations: 9.033 MB / 441.2 MB, free: 14 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.008347/0.2891, allocations: 2.972 MB / 444.1 MB, free: 11.02 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001826/0.291, allocations: 59.62 kB / 444.2 MB, free: 10.96 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003041/0.294, allocations: 0.6407 MB / 444.8 MB, free: 10.32 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003632/0.2976, allocations: 0.7808 MB / 445.6 MB, free: 9.531 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001509/0.2992, allocations: 339.5 kB / 445.9 MB, free: 9.199 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004424/0.3036, allocations: 2.373 MB / 448.3 MB, free: 6.812 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002624/0.3062, allocations: 1.024 MB / 449.3 MB, free: 5.742 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00254/0.3087, allocations: 1.098 MB / 450.4 MB, free: 4.641 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003074/0.3118, allocations: 1.386 MB / 451.8 MB, free: 3.25 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001001/0.3128, allocations: 280 kB / 452.1 MB, free: 2.977 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001554/0.3144, allocations: 387.8 kB / 452.5 MB, free: 2.598 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001414/0.3158, allocations: 0.8103 MB / 453.3 MB, free: 1.785 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002762/0.3185, allocations: 1.264 MB / 454.6 MB, free: 0.5156 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007059/0.3256, allocations: 3.715 MB / 458.3 MB, free: 12.79 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.13e-06/0.3256, allocations: 0 / 458.3 MB, free: 12.79 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.532e-06/0.3256, allocations: 0 / 458.3 MB, free: 12.79 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.000123/0.3257, allocations: 0 / 458.3 MB, free: 12.79 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.009179/0.3349, allocations: 2.575 MB / 460.8 MB, free: 10.17 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.701e-05/0.335, allocations: 12.02 kB / 460.9 MB, free: 10.16 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001762/0.3367, allocations: 303.3 kB / 461.2 MB, free: 9.863 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004355/0.3411, allocations: 1.349 MB / 462.5 MB, free: 8.473 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001721/0.3413, allocations: 139.9 kB / 462.6 MB, free: 8.336 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005482/0.3418, allocations: 191.9 kB / 462.8 MB, free: 8.148 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005345/0.3471, allocations: 2.402 MB / 465.2 MB, free: 5.711 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.892e-05/0.3472, allocations: 7.984 kB / 465.2 MB, free: 5.703 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001852/0.3474, allocations: 76 kB / 465.3 MB, free: 5.629 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.866e-05/0.3475, allocations: 83.5 kB / 465.4 MB, free: 5.547 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003786/0.3513, allocations: 2.016 MB / 467.4 MB, free: 3.527 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01291/0.3642, allocations: 7.249 MB / 474.7 MB, free: 12.07 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002007/0.3662, allocations: 1.002 MB / 475.7 MB, free: 11.05 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00188/0.3681, allocations: 0.8542 MB / 476.5 MB, free: 10.2 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002251/0.3683, allocations: 44.95 kB / 476.6 MB, free: 10.16 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.14e-05/0.3683, allocations: 43.56 kB / 476.6 MB, free: 10.11 MB / 382.1 MB Notification: Performance of pre-optimization done (n=84): time 2.615e-06/0.3683, allocations: 0 / 476.6 MB, free: 10.11 MB / 382.1 MB Notification: Performance of matching and sorting (n=100): time 0.01104/0.3794, allocations: 4.703 MB / 481.3 MB, free: 5.367 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.804e-05/0.3794, allocations: 64.41 kB / 481.4 MB, free: 5.293 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00273/0.3822, allocations: 1.397 MB / 482.8 MB, free: 3.879 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001044/0.3823, allocations: 45.7 kB / 482.8 MB, free: 3.828 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008244/0.3831, allocations: 0.9189 MB / 483.7 MB, free: 2.898 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003471/0.3834, allocations: 372.8 kB / 484.1 MB, free: 2.531 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004358/0.3839, allocations: 214.9 kB / 484.3 MB, free: 2.316 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001944/0.3841, allocations: 353.9 kB / 484.6 MB, free: 1.965 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001209/0.3853, allocations: 0.6311 MB / 485.3 MB, free: 1.332 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001495/0.3868, allocations: 0.922 MB / 486.2 MB, free: 296 kB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002547/0.3893, allocations: 1.653 MB / 487.8 MB, free: 14.52 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.027e-06/0.3893, allocations: 4 kB / 487.9 MB, free: 14.51 MB / 398.1 MB Notification: Performance of matching and sorting (n=149) (initialization): time 0.004708/0.394, allocations: 2.38 MB / 490.2 MB, free: 12.12 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.482e-05/0.3941, allocations: 8 kB / 490.2 MB, free: 12.11 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.789e-05/0.3941, allocations: 8 kB / 490.2 MB, free: 12.1 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002029/0.3961, allocations: 0.7128 MB / 491 MB, free: 11.38 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009624/0.3971, allocations: 239.6 kB / 491.2 MB, free: 11.15 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0132/0.4103, allocations: 8.53 MB / 499.7 MB, free: 2.391 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00124/0.4115, allocations: 87.86 kB / 499.8 MB, free: 2.305 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001373/0.4116, allocations: 44 kB / 499.9 MB, free: 2.262 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.001181/0.4128, allocations: 0.634 MB / 0.4888 GB, free: 1.617 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004308/0.4132, allocations: 151.1 kB / 0.4889 GB, free: 1.469 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003872/0.4171, allocations: 1.897 MB / 0.4908 GB, free: 15.55 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.225e-05/0.4171, allocations: 8 kB / 0.4908 GB, free: 15.54 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.054e-05/0.4171, allocations: 7.938 kB / 0.4908 GB, free: 15.53 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.239e-05/0.4172, allocations: 3.984 kB / 0.4908 GB, free: 15.53 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008216/0.4254, allocations: 3.965 MB / 0.4946 GB, free: 11.48 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.091e-05/0.4254, allocations: 4 kB / 0.4946 GB, free: 11.47 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000858/0.4262, allocations: 179.7 kB / 0.4948 GB, free: 11.3 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001367/0.4276, allocations: 467.2 kB / 0.4953 GB, free: 10.83 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.506e-05/0.4277, allocations: 23.98 kB / 0.4953 GB, free: 10.8 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007189/0.4349, allocations: 6.382 MB / 0.5015 GB, free: 4.078 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.197e-05/0.4349, allocations: 11.86 kB / 0.5015 GB, free: 4.066 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005269/0.4402, allocations: 2.776 MB / 0.5042 GB, free: 1.234 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001063/0.4412, allocations: 294.9 kB / 0.5045 GB, free: 0.9453 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000393/0.4416, allocations: 20 kB / 0.5045 GB, free: 0.9258 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001026/0.4426, allocations: 67.92 kB / 0.5046 GB, free: 0.8594 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002333/0.4429, allocations: 88.77 kB / 0.5047 GB, free: 0.7734 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.146e-05/0.443, allocations: 28 kB / 0.5047 GB, free: 0.7461 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001749/0.4447, allocations: 0.9663 MB / 0.5057 GB, free: 15.78 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4447, allocations: 0 / 0.5057 GB, free: 15.78 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001631/0.4463, allocations: 443.9 kB / 0.5061 GB, free: 15.34 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.0003937/0.4467, allocations: 175 kB / 0.5063 GB, free: 15.16 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003791/0.4505, allocations: 1.938 MB / 0.5081 GB, free: 13.2 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.689e-06/0.4505, allocations: 3.938 kB / 0.5082 GB, free: 13.2 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002306/0.4528, allocations: 1.225 MB / 0.5093 GB, free: 11.93 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00201/0.4548, allocations: 388.9 kB / 0.5097 GB, free: 11.56 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007825/0.4627, allocations: 4.111 MB / 0.5137 GB, free: 7.391 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001732/0.4644, allocations: 1.693 MB / 0.5154 GB, free: 5.668 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0009793/0.4654, allocations: 312 kB / 0.5157 GB, free: 5.359 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003448/0.4657, allocations: 99.42 kB / 0.5158 GB, free: 5.262 MB / 430.1 MB Notification: Performance of SimCode: time 7.82e-07/0.4657, allocations: 0 / 0.5158 GB, free: 5.262 MB / 430.1 MB Notification: Performance of Templates: time 0.2531/0.7188, allocations: 25.56 MB / 0.5407 GB, free: 102.2 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.sim & ./Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/InductionMachines/IMC_Initialize/IMC_Initialize.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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: 5.835412903688848]