Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.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.001551/0.001551, allocations: 91.5 kB / 21.2 MB, free: 3.375 MB / 18.57 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.001754/0.001754, allocations: 160.5 kB / 24.55 MB, free: 20 kB / 18.57 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.01/1.01, allocations: 177 MB / 204.8 MB, free: 5.59 MB / 186.7 MB " [Timeout remaining time 179] 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.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|imcQS.rotorCage.port_p.reference.gamma|speed.phi",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics") translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|imcQS.rotorCage.port_p.reference.gamma|speed.phi",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.044e-06/2.044e-06, allocations: 0 / 272.9 MB, free: 1.414 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.892e-05/3.097e-05, allocations: 6.312 kB / 272.9 MB, free: 1.406 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics): time 0.162/0.162, allocations: 24.37 MB / 297.3 MB, free: 15.21 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.02985/0.1919, allocations: 7.372 MB / 304.7 MB, free: 12.74 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01216/0.204, allocations: 222.4 kB / 304.9 MB, free: 12.67 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01827/0.2223, allocations: 9.413 MB / 314.3 MB, free: 6.949 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01/0.2323, allocations: 3.035 MB / 317.4 MB, free: 4.551 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004673/0.237, allocations: 1.747 MB / 319.1 MB, free: 3.188 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0133/0.2503, allocations: 11.3 MB / 330.4 MB, free: 9.27 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02075/0.271, allocations: 14.23 MB / 344.6 MB, free: 10.89 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0143/0.2853, allocations: 8.675 MB / 353.3 MB, free: 2.207 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01054/0.2959, allocations: 6.059 MB / 359.4 MB, free: 12.13 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.004706/0.3006, allocations: 1.668 MB / 361 MB, free: 10.46 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007421/0.308, allocations: 2.062 MB / 363.1 MB, free: 8.402 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.005055/0.313, allocations: 3.269 MB / 366.4 MB, free: 5.125 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.009795/0.3228, allocations: 4.133 MB / 370.5 MB, free: 0.9844 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01824/0.3411, allocations: 10.41 MB / 380.9 MB, free: 6.547 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.596e-06/0.3411, allocations: 3.984 kB / 380.9 MB, free: 6.543 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.643e-06/0.3411, allocations: 3.938 kB / 380.9 MB, free: 6.539 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0004443/0.3415, allocations: 0 / 380.9 MB, free: 6.539 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2620 * Number of variables: 2620 Notification: Performance of Generate backend data structure: time 0.02497/0.3665, allocations: 13.67 MB / 394.6 MB, free: 8.77 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.379e-05/0.3666, allocations: 11.98 kB / 394.6 MB, free: 8.758 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02065/0.3872, allocations: 7.756 MB / 402.4 MB, free: 0.9883 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01105/0.3983, allocations: 6.698 MB / 409.1 MB, free: 10.22 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005979/0.3989, allocations: 0.7024 MB / 409.8 MB, free: 9.52 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002878/0.4017, allocations: 0.9217 MB / 410.7 MB, free: 8.598 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02291/0.4247, allocations: 8.287 MB / 419 MB, free: 204 kB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002459/0.4249, allocations: 11.95 kB / 419 MB, free: 192 kB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001587/0.4265, allocations: 396 kB / 419.4 MB, free: 15.8 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004098/0.4269, allocations: 0.5469 MB / 419.9 MB, free: 15.25 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01591/0.4428, allocations: 4.603 MB / 424.5 MB, free: 10.62 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3152/0.758, allocations: 40.81 MB / 465.3 MB, free: 72.91 MB / 378.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008946/0.7669, allocations: 7.982 MB / 473.3 MB, free: 71.5 MB / 378.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002084/0.769, allocations: 1.353 MB / 474.7 MB, free: 71.21 MB / 378.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002438/0.7693, allocations: 119.2 kB / 474.8 MB, free: 71.2 MB / 378.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.997e-05/0.7693, allocations: 79.95 kB / 474.9 MB, free: 71.12 MB / 378.8 MB Notification: Performance of pre-optimization done (n=398): time 6.893e-06/0.7693, allocations: 3.375 kB / 474.9 MB, free: 71.12 MB / 378.8 MB Notification: Performance of matching and sorting (n=404): time 0.0191/0.7884, allocations: 10.31 MB / 485.2 MB, free: 65 MB / 378.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.368e-05/0.7885, allocations: 98.58 kB / 485.3 MB, free: 64.89 MB / 378.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003617/0.7921, allocations: 3.302 MB / 488.6 MB, free: 61.67 MB / 378.8 MB Notification: Performance of collectPreVariables (initialization): time 0.000207/0.7923, allocations: 89.7 kB / 488.7 MB, free: 61.57 MB / 378.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0019/0.7942, allocations: 4.365 MB / 493 MB, free: 57.87 MB / 378.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007678/0.7949, allocations: 1.48 MB / 494.5 MB, free: 56.46 MB / 378.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001129/0.7961, allocations: 1.268 MB / 495.8 MB, free: 55.18 MB / 378.8 MB Notification: Performance of setup shared object (initialization): time 6.093e-05/0.7961, allocations: 480.7 kB / 496.2 MB, free: 54.7 MB / 378.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00144/0.7976, allocations: 0.8781 MB / 497.1 MB, free: 53.82 MB / 378.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002486/0.8001, allocations: 4.117 MB / 0.4895 GB, free: 48.37 MB / 378.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004596/0.8047, allocations: 5.505 MB / 0.4949 GB, free: 41.79 MB / 378.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.377e-05/0.8047, allocations: 20 kB / 0.4949 GB, free: 41.77 MB / 378.8 MB Notification: Performance of matching and sorting (n=752) (initialization): time 0.007387/0.8121, allocations: 5.331 MB / 0.5001 GB, free: 36.89 MB / 378.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.58e-05/0.8121, allocations: 36.88 kB / 0.5001 GB, free: 36.86 MB / 378.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.651e-05/0.8122, allocations: 72 kB / 0.5002 GB, free: 36.79 MB / 378.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002175/0.8144, allocations: 1.127 MB / 0.5013 GB, free: 35.67 MB / 378.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002326/0.8167, allocations: 1.319 MB / 0.5026 GB, free: 34.44 MB / 378.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006513/0.8232, allocations: 6.039 MB / 0.5085 GB, free: 28.33 MB / 378.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002692/0.8259, allocations: 327.5 kB / 0.5088 GB, free: 28.01 MB / 378.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003605/0.8263, allocations: 295.9 kB / 0.5091 GB, free: 27.72 MB / 378.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 319 * 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 (694): * Single equations (assignments): 692 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(14,44,41.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002243/0.8285, allocations: 0.5393 MB / 0.5096 GB, free: 27.26 MB / 378.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008492/0.8294, allocations: 0.5142 MB / 0.5101 GB, free: 26.75 MB / 378.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005132/0.8345, allocations: 3.657 MB / 0.5137 GB, free: 23.09 MB / 378.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.003538/0.838, allocations: 2.675 MB / 0.5163 GB, free: 20.43 MB / 378.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.107e-05/0.838, allocations: 12 kB / 0.5163 GB, free: 20.41 MB / 378.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.177e-05/0.8381, allocations: 19.92 kB / 0.5163 GB, free: 20.39 MB / 378.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01571/0.8538, allocations: 11.33 MB / 0.5274 GB, free: 9.094 MB / 378.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.207e-05/0.8538, allocations: 4 kB / 0.5274 GB, free: 9.09 MB / 378.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001457/0.8552, allocations: 0.7232 MB / 0.5281 GB, free: 8.406 MB / 378.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002006/0.8572, allocations: 1.016 MB / 0.5291 GB, free: 7.383 MB / 378.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001974/0.8574, allocations: 99.97 kB / 0.5292 GB, free: 7.285 MB / 378.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005587/0.863, allocations: 5.578 MB / 0.5346 GB, free: 1.617 MB / 378.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.109e-06/0.863, allocations: 4.875 kB / 0.5346 GB, free: 1.613 MB / 378.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007511/0.8705, allocations: 4.685 MB / 0.5392 GB, free: 12.83 MB / 394.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00191/0.8724, allocations: 0.8212 MB / 0.54 GB, free: 12.01 MB / 394.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003924/0.8728, allocations: 76 kB / 0.5401 GB, free: 11.93 MB / 394.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001017/0.8739, allocations: 199.8 kB / 0.5403 GB, free: 11.74 MB / 394.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005089/0.8744, allocations: 310 kB / 0.5406 GB, free: 11.44 MB / 394.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001823/0.8745, allocations: 124 kB / 0.5407 GB, free: 11.32 MB / 394.8 MB Notification: Performance of sorting global known variables: time 0.002275/0.8768, allocations: 1.51 MB / 0.5421 GB, free: 9.812 MB / 394.8 MB Notification: Performance of sort global known variables: time 1.8e-07/0.8768, allocations: 0.7656 kB / 0.5422 GB, free: 9.812 MB / 394.8 MB Notification: Performance of remove unused functions: time 0.005047/0.8819, allocations: 1.609 MB / 0.5437 GB, free: 8.203 MB / 394.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * Number of states: 2 (imcQS.rotorCage.port_p.reference.gamma,speed.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 (389): * Single equations (assignments): 387 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(14,44,40.3%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005718/0.8824, allocations: 275 kB / 0.544 GB, free: 7.969 MB / 394.8 MB Notification: Performance of simCode: created initialization part: time 0.00798/0.8904, allocations: 4.112 MB / 0.548 GB, free: 4.055 MB / 394.8 MB Notification: Performance of simCode: created event and clocks part: time 1.478e-05/0.8904, allocations: 4 kB / 0.548 GB, free: 4.051 MB / 394.8 MB Notification: Performance of simCode: created simulation system equations: time 0.004638/0.8951, allocations: 2.122 MB / 0.5501 GB, free: 1.992 MB / 394.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004127/0.8992, allocations: 0.8956 MB / 0.551 GB, free: 1.133 MB / 394.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02317/0.9224, allocations: 13.82 MB / 0.5644 GB, free: 3.148 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003039/0.9254, allocations: 2.602 MB / 0.567 GB, free: 0.5117 MB / 410.8 MB Notification: Performance of simCode: alias equations: time 0.003471/0.9289, allocations: 1.613 MB / 0.5686 GB, free: 14.89 MB / 426.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000926/0.9298, allocations: 356.4 kB / 0.5689 GB, free: 14.54 MB / 426.8 MB Notification: Performance of SimCode: time 3.576e-06/0.9298, allocations: 0 / 0.5689 GB, free: 14.54 MB / 426.8 MB Notification: Performance of Templates: time 0.2026/1.132, allocations: 60.41 MB / 0.6279 GB, free: 103.8 MB / 426.8 MB " [Timeout remaining time 659] make -j1 -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.sim & ./Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMC_Characteristics/IMC_Characteristics.csv","",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.202834034804255]