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.00947/0.00947, allocations: 105.9 kB / 21.98 MB, free: 5.211 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.002251/0.002251, allocations: 220.3 kB / 25.29 MB, free: 3.215 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.454/1.454, allocations: 230.6 MB / 259 MB, free: 8.004 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.001986/0.001986, allocations: 67.89 kB / 379.8 MB, free: 2.711 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3205/0.3225, allocations: 53.37 MB / 433.2 MB, free: 6.957 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize): time 0.01206/0.3345, allocations: 9.028 MB / 442.2 MB, free: 13.89 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00619/0.3407, allocations: 2.973 MB / 445.2 MB, free: 10.91 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00115/0.3419, allocations: 55.62 kB / 445.2 MB, free: 10.86 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001503/0.3434, allocations: 0.6443 MB / 445.9 MB, free: 10.21 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002209/0.3456, allocations: 0.7807 MB / 446.7 MB, free: 9.43 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000805/0.3464, allocations: 343.4 kB / 447 MB, free: 9.094 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003162/0.3496, allocations: 2.377 MB / 449.4 MB, free: 6.703 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00158/0.3511, allocations: 1.017 MB / 450.4 MB, free: 5.641 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001693/0.3528, allocations: 1.102 MB / 451.5 MB, free: 4.535 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002135/0.355, allocations: 1.386 MB / 452.9 MB, free: 3.145 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004525/0.3554, allocations: 280 kB / 453.2 MB, free: 2.871 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007937/0.3562, allocations: 383.8 kB / 453.5 MB, free: 2.496 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008408/0.3571, allocations: 0.8102 MB / 454.3 MB, free: 1.684 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001639/0.3587, allocations: 1.268 MB / 455.6 MB, free: 420 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004476/0.3632, allocations: 3.713 MB / 459.3 MB, free: 12.68 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.021e-06/0.3632, allocations: 0 / 459.3 MB, free: 12.68 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.3632, allocations: 0 / 459.3 MB, free: 12.68 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.535e-05/0.3633, allocations: 0 / 459.3 MB, free: 12.68 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.005874/0.3691, allocations: 2.579 MB / 461.9 MB, free: 10.06 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.622e-05/0.3692, allocations: 12.03 kB / 461.9 MB, free: 10.05 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001088/0.3703, allocations: 303.3 kB / 462.2 MB, free: 9.754 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002835/0.3731, allocations: 1.341 MB / 463.6 MB, free: 8.371 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001229/0.3732, allocations: 136 kB / 463.7 MB, free: 8.238 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000302/0.3735, allocations: 191.9 kB / 463.9 MB, free: 8.051 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004146/0.3777, allocations: 2.409 MB / 466.3 MB, free: 5.605 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.96e-05/0.3777, allocations: 4 kB / 466.3 MB, free: 5.602 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001683/0.3779, allocations: 72 kB / 466.4 MB, free: 5.531 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001013/0.378, allocations: 87.48 kB / 466.4 MB, free: 5.445 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003613/0.3816, allocations: 2.02 MB / 468.5 MB, free: 3.422 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01291/0.3945, allocations: 7.253 MB / 475.7 MB, free: 11.96 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00184/0.3964, allocations: 0.9885 MB / 476.7 MB, free: 10.96 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001714/0.3981, allocations: 0.8619 MB / 477.6 MB, free: 10.1 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002096/0.3983, allocations: 44.95 kB / 477.6 MB, free: 10.05 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.312e-05/0.3984, allocations: 43.56 kB / 477.7 MB, free: 10 MB / 382.1 MB Notification: Performance of pre-optimization done (n=84): time 2.555e-06/0.3984, allocations: 0 / 477.7 MB, free: 10 MB / 382.1 MB Notification: Performance of matching and sorting (n=100): time 0.009629/0.408, allocations: 4.695 MB / 482.3 MB, free: 5.266 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.989e-05/0.408, allocations: 68.34 kB / 482.4 MB, free: 5.188 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002242/0.4103, allocations: 1.393 MB / 483.8 MB, free: 3.777 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001235/0.4104, allocations: 41.7 kB / 483.8 MB, free: 3.73 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000754/0.4112, allocations: 0.915 MB / 484.8 MB, free: 2.805 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003493/0.4115, allocations: 376.8 kB / 485.1 MB, free: 2.434 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003667/0.4119, allocations: 222.8 kB / 485.3 MB, free: 2.211 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001725/0.4121, allocations: 353.9 kB / 485.7 MB, free: 1.859 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001044/0.4131, allocations: 0.6272 MB / 486.3 MB, free: 1.23 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001273/0.4144, allocations: 0.9259 MB / 487.2 MB, free: 188 kB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002384/0.4168, allocations: 1.645 MB / 488.9 MB, free: 14.42 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.282e-06/0.4168, allocations: 4 kB / 488.9 MB, free: 14.41 MB / 398.1 MB Notification: Performance of matching and sorting (n=149) (initialization): time 0.004458/0.4212, allocations: 2.376 MB / 491.3 MB, free: 12.03 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.997e-05/0.4212, allocations: 12 kB / 491.3 MB, free: 12.02 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.76e-05/0.4213, allocations: 8 kB / 491.3 MB, free: 12.01 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001909/0.4232, allocations: 0.7212 MB / 492 MB, free: 11.28 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009036/0.4241, allocations: 235.6 kB / 492.2 MB, free: 11.05 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01152/0.4356, allocations: 8.534 MB / 0.489 GB, free: 2.289 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001236/0.4368, allocations: 80.03 kB / 0.4891 GB, free: 2.211 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001162/0.437, allocations: 51.98 kB / 0.4892 GB, free: 2.16 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.001208/0.4382, allocations: 0.628 MB / 0.4898 GB, free: 1.523 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003619/0.4385, allocations: 155.1 kB / 0.4899 GB, free: 1.371 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00349/0.442, allocations: 1.89 MB / 0.4918 GB, free: 15.45 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.601e-05/0.442, allocations: 15.98 kB / 0.4918 GB, free: 15.43 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.578e-06/0.442, allocations: 4 kB / 0.4918 GB, free: 15.43 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.014e-05/0.4421, allocations: 7.984 kB / 0.4918 GB, free: 15.42 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007398/0.4495, allocations: 3.969 MB / 0.4957 GB, free: 11.37 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.452e-06/0.4495, allocations: 4.219 kB / 0.4957 GB, free: 11.37 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008478/0.4503, allocations: 179.7 kB / 0.4958 GB, free: 11.19 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001287/0.4516, allocations: 466.9 kB / 0.4963 GB, free: 10.72 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.362e-05/0.4517, allocations: 31.98 kB / 0.4963 GB, free: 10.69 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00688/0.4586, allocations: 6.381 MB / 0.5026 GB, free: 3.969 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.378e-05/0.4586, allocations: 11.95 kB / 0.5026 GB, free: 3.957 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004769/0.4633, allocations: 2.769 MB / 0.5053 GB, free: 1.133 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009429/0.4643, allocations: 286.9 kB / 0.5055 GB, free: 0.8516 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002298/0.4645, allocations: 31.98 kB / 0.5056 GB, free: 0.8203 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007739/0.4653, allocations: 67.86 kB / 0.5056 GB, free: 0.7539 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002281/0.4655, allocations: 80.84 kB / 0.5057 GB, free: 0.6758 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.827e-05/0.4656, allocations: 31.92 kB / 0.5057 GB, free: 0.6445 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001583/0.4672, allocations: 0.9743 MB / 0.5067 GB, free: 15.66 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.4672, allocations: 0 / 0.5067 GB, free: 15.66 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.00157/0.4687, allocations: 435.9 kB / 0.5071 GB, free: 15.24 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.0003939/0.4691, allocations: 183 kB / 0.5073 GB, free: 15.05 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003552/0.4727, allocations: 1.942 MB / 0.5092 GB, free: 13.08 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.368e-06/0.4727, allocations: 0 / 0.5092 GB, free: 13.08 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002105/0.4748, allocations: 1.229 MB / 0.5104 GB, free: 11.8 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001863/0.4767, allocations: 386.6 kB / 0.5108 GB, free: 11.43 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007223/0.4839, allocations: 4.129 MB / 0.5148 GB, free: 7.242 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001512/0.4854, allocations: 1.673 MB / 0.5164 GB, free: 5.539 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004856/0.4859, allocations: 111.4 kB / 0.5165 GB, free: 5.43 MB / 430.1 MB Notification: Performance of SimCode: time 1.343e-06/0.4859, allocations: 0 / 0.5165 GB, free: 5.43 MB / 430.1 MB Notification: Performance of Templates: time 0.2897/0.7756, allocations: 53.27 MB / 0.5686 GB, free: 80.29 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/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/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.356886459048837]