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.001333/0.001333, allocations: 109.1 kB / 21.18 MB, free: 0.7656 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.001461/0.001461, allocations: 213.1 kB / 24.5 MB, free: 4.148 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.428/1.428, allocations: 230.5 MB / 258.1 MB, free: 8.008 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.002034/0.002034, allocations: 71.89 kB / 379 MB, free: 2.488 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2931/0.2951, allocations: 53.41 MB / 432.5 MB, free: 6.754 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize): time 0.0121/0.3072, allocations: 9.034 MB / 441.5 MB, free: 13.69 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006912/0.3141, allocations: 2.969 MB / 444.5 MB, free: 10.71 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001817/0.3159, allocations: 59.62 kB / 444.5 MB, free: 10.65 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002177/0.3181, allocations: 0.6443 MB / 445.2 MB, free: 10.01 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002988/0.3211, allocations: 0.7807 MB / 445.9 MB, free: 9.223 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001163/0.3223, allocations: 343.5 kB / 446.3 MB, free: 8.887 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0038/0.3261, allocations: 2.377 MB / 448.6 MB, free: 6.496 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002192/0.3282, allocations: 1.017 MB / 449.7 MB, free: 5.434 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002139/0.3304, allocations: 1.098 MB / 450.8 MB, free: 4.332 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002837/0.3332, allocations: 1.39 MB / 452.2 MB, free: 2.938 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009354/0.3342, allocations: 276 kB / 452.4 MB, free: 2.668 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001461/0.3356, allocations: 387.8 kB / 452.8 MB, free: 2.289 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001356/0.337, allocations: 0.8103 MB / 453.6 MB, free: 1.477 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002679/0.3396, allocations: 1.264 MB / 454.9 MB, free: 212 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00594/0.3456, allocations: 3.713 MB / 458.6 MB, free: 12.48 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.245e-06/0.3456, allocations: 4 kB / 458.6 MB, free: 12.48 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.3456, allocations: 0 / 458.6 MB, free: 12.48 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001547/0.3458, allocations: 3.938 kB / 458.6 MB, free: 12.47 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.007624/0.3534, allocations: 2.575 MB / 461.2 MB, free: 9.855 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.564e-05/0.3534, allocations: 8.031 kB / 461.2 MB, free: 9.848 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001481/0.3549, allocations: 311.3 kB / 461.5 MB, free: 9.543 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003673/0.3586, allocations: 1.345 MB / 462.8 MB, free: 8.156 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001717/0.3587, allocations: 136 kB / 463 MB, free: 8.023 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007034/0.3595, allocations: 191.9 kB / 463.1 MB, free: 7.836 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005617/0.3651, allocations: 2.402 MB / 465.6 MB, free: 5.398 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.106e-05/0.3652, allocations: 4 kB / 465.6 MB, free: 5.395 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003108/0.3655, allocations: 75.98 kB / 465.6 MB, free: 5.32 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001258/0.3656, allocations: 91.48 kB / 465.7 MB, free: 5.23 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004086/0.3697, allocations: 2.016 MB / 467.7 MB, free: 3.211 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0151/0.3848, allocations: 7.253 MB / 475 MB, free: 11.75 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00215/0.3869, allocations: 0.9951 MB / 476 MB, free: 10.74 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001886/0.3888, allocations: 0.8534 MB / 476.8 MB, free: 9.891 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002405/0.389, allocations: 40.95 kB / 476.9 MB, free: 9.852 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.847e-05/0.3891, allocations: 51.55 kB / 476.9 MB, free: 9.793 MB / 382.1 MB Notification: Performance of pre-optimization done (n=84): time 4.198e-06/0.3891, allocations: 0 / 476.9 MB, free: 9.793 MB / 382.1 MB Notification: Performance of matching and sorting (n=100): time 0.01102/0.4001, allocations: 4.691 MB / 481.6 MB, free: 5.062 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.726e-05/0.4002, allocations: 64.34 kB / 481.7 MB, free: 4.988 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002824/0.403, allocations: 1.404 MB / 483.1 MB, free: 3.566 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001491/0.4032, allocations: 41.7 kB / 483.1 MB, free: 3.52 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008804/0.4041, allocations: 0.9189 MB / 484 MB, free: 2.59 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004313/0.4045, allocations: 368.9 kB / 484.4 MB, free: 2.227 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004312/0.4049, allocations: 214.9 kB / 484.6 MB, free: 2.012 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001944/0.4051, allocations: 357.9 kB / 485 MB, free: 1.656 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001148/0.4063, allocations: 0.6272 MB / 485.6 MB, free: 1.027 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001413/0.4077, allocations: 0.9259 MB / 486.5 MB, free: 15.98 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00259/0.4103, allocations: 1.653 MB / 488.2 MB, free: 14.21 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.504e-05/0.4103, allocations: 4 kB / 488.2 MB, free: 14.2 MB / 398.1 MB Notification: Performance of matching and sorting (n=149) (initialization): time 0.004856/0.4151, allocations: 2.372 MB / 490.5 MB, free: 11.82 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.057e-05/0.4152, allocations: 12.03 kB / 490.6 MB, free: 11.8 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.254e-05/0.4152, allocations: 8 kB / 490.6 MB, free: 11.8 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002033/0.4172, allocations: 0.7165 MB / 491.3 MB, free: 11.07 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009643/0.4182, allocations: 235.7 kB / 491.5 MB, free: 10.84 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01333/0.4315, allocations: 8.534 MB / 0.4883 GB, free: 2.082 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001339/0.4329, allocations: 83.86 kB / 0.4884 GB, free: 2 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001954/0.433, allocations: 48 kB / 0.4885 GB, free: 1.953 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.00133/0.4344, allocations: 0.6302 MB / 0.4891 GB, free: 1.312 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005106/0.4349, allocations: 151.1 kB / 0.4892 GB, free: 1.164 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003954/0.4388, allocations: 1.897 MB / 0.4911 GB, free: 15.24 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.361e-05/0.4389, allocations: 12 kB / 0.4911 GB, free: 15.23 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.675e-05/0.4389, allocations: 4 kB / 0.4911 GB, free: 15.23 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.209e-05/0.4389, allocations: 3.984 kB / 0.4911 GB, free: 15.22 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008634/0.4475, allocations: 3.965 MB / 0.495 GB, free: 11.17 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.949e-06/0.4475, allocations: 4 kB / 0.495 GB, free: 11.17 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008587/0.4484, allocations: 183.7 kB / 0.4951 GB, free: 10.99 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001336/0.4497, allocations: 467.1 kB / 0.4956 GB, free: 10.52 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.693e-05/0.4498, allocations: 31.97 kB / 0.4956 GB, free: 10.49 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00748/0.4573, allocations: 6.382 MB / 0.5018 GB, free: 3.762 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5e-06/0.4573, allocations: 8 kB / 0.5019 GB, free: 3.754 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005129/0.4624, allocations: 2.772 MB / 0.5046 GB, free: 0.9258 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001062/0.4635, allocations: 286.9 kB / 0.5048 GB, free: 0.6445 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003525/0.4638, allocations: 31.92 kB / 0.5049 GB, free: 0.6133 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001056/0.4649, allocations: 63.92 kB / 0.5049 GB, free: 0.5508 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002411/0.4651, allocations: 88.83 kB / 0.505 GB, free: 476 kB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.648e-05/0.4652, allocations: 24 kB / 0.505 GB, free: 452 kB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001822/0.467, allocations: 0.9704 MB / 0.506 GB, free: 15.46 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.467, allocations: 0 / 0.506 GB, free: 15.46 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001716/0.4688, allocations: 435.9 kB / 0.5064 GB, free: 15.04 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.0004221/0.4692, allocations: 179 kB / 0.5066 GB, free: 14.86 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003855/0.473, allocations: 1.934 MB / 0.5085 GB, free: 12.89 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 8.035e-06/0.473, allocations: 8.188 kB / 0.5085 GB, free: 12.89 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002316/0.4754, allocations: 1.225 MB / 0.5097 GB, free: 11.62 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002215/0.4776, allocations: 390.4 kB / 0.51 GB, free: 11.25 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007936/0.4855, allocations: 4.141 MB / 0.5141 GB, free: 7.051 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001788/0.4873, allocations: 1.681 MB / 0.5157 GB, free: 5.34 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005307/0.4878, allocations: 103.4 kB / 0.5158 GB, free: 5.238 MB / 430.1 MB Notification: Performance of SimCode: time 1.593e-06/0.4878, allocations: 0 / 0.5158 GB, free: 5.238 MB / 430.1 MB Notification: Performance of Templates: time 0.2545/0.7423, allocations: 53.27 MB / 0.5678 GB, free: 79.98 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/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_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: 12.272252948954701]