Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.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.0009906/0.0009906, allocations: 84.34 kB / 22.21 MB, free: 2.285 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.001161/0.001161, allocations: 165.5 kB / 25.61 MB, free: 8.578 MB / 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 0.9483/0.9483, allocations: 177 MB / 205.9 MB, free: 4.461 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.Electrical.Machines.Examples.InductionMachines.IMC_Transformer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=25000,variableFilter="time|aimc.is.[0-9,]+.|aimc.idq_rr.[0-9,]+.|aimc.idq_sr.[0-9,]+.|loadInertia.phi|loadInertia.w|transformer.l2sigma.inductor.[0-9,]+..i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer") translateModel(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=25000,variableFilter="time|aimc.is.[0-9,]+.|aimc.idq_rr.[0-9,]+.|aimc.idq_sr.[0-9,]+.|loadInertia.phi|loadInertia.w|transformer.l2sigma.inductor.[0-9,]+..i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.004e-06/2.004e-06, allocations: 0 / 274.1 MB, free: 4.266 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.42e-05/2.62e-05, allocations: 2.312 kB / 274.1 MB, free: 4.262 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer): time 0.01091/0.01094, allocations: 12.46 MB / 286.6 MB, free: 7.754 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.00743/0.01837, allocations: 4.2 MB / 290.8 MB, free: 3.547 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002428/0.02079, allocations: 103.3 kB / 290.9 MB, free: 3.445 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002819/0.02361, allocations: 0.9783 MB / 291.9 MB, free: 2.461 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004331/0.02795, allocations: 1.312 MB / 293.2 MB, free: 1.141 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001755/0.0297, allocations: 0.5343 MB / 293.7 MB, free: 0.6055 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.005463/0.03516, allocations: 4.846 MB / 298.6 MB, free: 11.73 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003125/0.03829, allocations: 2.019 MB / 300.6 MB, free: 9.652 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006092/0.04438, allocations: 3.417 MB / 304 MB, free: 6.266 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003747/0.04813, allocations: 2.463 MB / 306.5 MB, free: 3.797 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001194/0.04932, allocations: 0.543 MB / 307 MB, free: 3.254 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001548/0.05087, allocations: 0.6404 MB / 307.7 MB, free: 2.613 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001398/0.05227, allocations: 1.578 MB / 309.2 MB, free: 1.031 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00252/0.05479, allocations: 1.738 MB / 311 MB, free: 15.29 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004925/0.05971, allocations: 4.054 MB / 315 MB, free: 11.22 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.504e-06/0.05972, allocations: 0 / 315 MB, free: 11.22 MB / 298.7 MB Notification: Performance of FrontEnd: time 8.71e-07/0.05972, allocations: 0 / 315 MB, free: 11.22 MB / 298.7 MB Notification: Performance of Transformations before backend: time 0.0001533/0.05987, allocations: 0 / 315 MB, free: 11.22 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 940 * Number of variables: 940 Notification: Performance of Generate backend data structure: time 0.007293/0.06717, allocations: 4.814 MB / 319.8 MB, free: 6.344 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.927e-05/0.06721, allocations: 12.03 kB / 319.8 MB, free: 6.332 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001492/0.0687, allocations: 0.8377 MB / 320.7 MB, free: 5.492 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003379/0.07208, allocations: 2.235 MB / 322.9 MB, free: 3.184 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004381/0.07252, allocations: 267.4 kB / 323.2 MB, free: 2.922 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003713/0.07289, allocations: 364.3 kB / 323.5 MB, free: 2.566 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003433/0.07632, allocations: 2.811 MB / 326.3 MB, free: 15.61 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.344e-05/0.07638, allocations: 15.88 kB / 326.4 MB, free: 15.6 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002173/0.0766, allocations: 144 kB / 326.5 MB, free: 15.46 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001426/0.07674, allocations: 195.1 kB / 326.7 MB, free: 15.27 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001678/0.07842, allocations: 1.037 MB / 327.7 MB, free: 14.22 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01692/0.09534, allocations: 11.65 MB / 339.4 MB, free: 2.234 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001837/0.09718, allocations: 1.4 MB / 340.8 MB, free: 0.8711 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001317/0.09849, allocations: 0.8456 MB / 341.6 MB, free: 24 kB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001867/0.09868, allocations: 61.98 kB / 341.7 MB, free: 15.96 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.82e-05/0.09873, allocations: 63.38 kB / 341.7 MB, free: 15.89 MB / 330.7 MB Notification: Performance of pre-optimization done (n=198): time 4.208e-06/0.09873, allocations: 0 / 341.7 MB, free: 15.89 MB / 330.7 MB Notification: Performance of matching and sorting (n=218): time 0.009272/0.108, allocations: 4.064 MB / 345.8 MB, free: 11.81 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.783e-05/0.1081, allocations: 85.39 kB / 345.9 MB, free: 11.71 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002281/0.1103, allocations: 1.833 MB / 347.7 MB, free: 9.836 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001294/0.1105, allocations: 65.7 kB / 347.8 MB, free: 9.766 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001108/0.1116, allocations: 1.806 MB / 349.6 MB, free: 7.941 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005875/0.1122, allocations: 0.7903 MB / 350.4 MB, free: 7.145 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006227/0.1128, allocations: 450.3 kB / 350.8 MB, free: 6.695 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001163/0.1129, allocations: 476.8 kB / 351.3 MB, free: 6.227 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005663/0.1135, allocations: 284.4 kB / 351.6 MB, free: 5.945 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001202/0.1147, allocations: 0.9651 MB / 352.5 MB, free: 4.727 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001679/0.1163, allocations: 1.465 MB / 354 MB, free: 3.016 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.008e-05/0.1164, allocations: 4 kB / 354 MB, free: 3.012 MB / 330.7 MB Notification: Performance of matching and sorting (n=295) (initialization): time 0.003384/0.1197, allocations: 1.896 MB / 355.9 MB, free: 1.086 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.025e-05/0.1198, allocations: 12 kB / 355.9 MB, free: 1.074 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.52e-05/0.1198, allocations: 12 kB / 355.9 MB, free: 1.062 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001868/0.1217, allocations: 0.6002 MB / 356.5 MB, free: 456 kB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.1295/0.2511, allocations: 494.5 kB / 357 MB, free: 75.86 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004852/0.256, allocations: 7.54 MB / 364.5 MB, free: 70.32 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001377/0.2574, allocations: 73.7 kB / 364.6 MB, free: 70.32 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001248/0.2575, allocations: 69.19 kB / 364.7 MB, free: 70.32 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 59 * Number of states: 0 () * Number of discrete variables: 6 (booleanStep2[3].y,booleanStep2[2].y,booleanStep2[1].y,idealCloser.control[3],idealCloser.control[2],idealCloser.control[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (252): * Single equations (assignments): 247 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * 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): 2 systems {(2,100.0%), (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 {(3,25,77.8%), (2,12,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001007/0.2585, allocations: 298.9 kB / 365 MB, free: 70.16 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004494/0.259, allocations: 346.6 kB / 365.3 MB, free: 70.16 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002297/0.2613, allocations: 1.66 MB / 367 MB, free: 69.97 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.519e-05/0.2613, allocations: 21.41 kB / 367 MB, free: 69.97 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.823e-05/0.2613, allocations: 6.188 kB / 367 MB, free: 69.97 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.739e-05/0.2613, allocations: 17.83 kB / 367 MB, free: 69.97 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0051/0.2664, allocations: 4.115 MB / 371.1 MB, free: 69.39 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.33e-06/0.2664, allocations: 3.625 kB / 371.1 MB, free: 69.39 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007733/0.2672, allocations: 358 kB / 371.5 MB, free: 69.38 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001382/0.2686, allocations: 0.6301 MB / 372.1 MB, free: 69.32 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001202/0.2687, allocations: 54.41 kB / 372.2 MB, free: 69.32 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004028/0.2727, allocations: 9.241 MB / 381.4 MB, free: 61.8 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.066e-06/0.2727, allocations: 3.844 kB / 381.4 MB, free: 61.8 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002662/0.2754, allocations: 2.296 MB / 383.7 MB, free: 60.96 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006947/0.2761, allocations: 450.8 kB / 384.2 MB, free: 60.69 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002037/0.2763, allocations: 50.83 kB / 384.2 MB, free: 60.66 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005781/0.2769, allocations: 80.17 kB / 384.3 MB, free: 60.63 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002364/0.2771, allocations: 180.4 kB / 384.5 MB, free: 60.59 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.419e-05/0.2772, allocations: 42.33 kB / 384.5 MB, free: 60.58 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.000739/0.2779, allocations: 0.9767 MB / 385.5 MB, free: 60.32 MB / 330.7 MB Notification: Performance of sort global known variables: time 4e-08/0.2779, allocations: 0 / 385.5 MB, free: 60.32 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001711/0.2796, allocations: 0.7889 MB / 386.3 MB, free: 60.25 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 9 (aimc.inertiaRotor.w,aimc.i_0_s,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],transformer.l1sigma.inductor[2].i,transformer.l1sigma.inductor[3].i,quadraticLoadTorque.phi) * Number of discrete variables: 6 (idealCloser.control[1],idealCloser.control[2],idealCloser.control[3],booleanStep2[1].y,booleanStep2[2].y,booleanStep2[3].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (175): * Single equations (assignments): 170 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 4 * 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): 4 systems {(3,25,88.9%), (2,12,100.0%), (1,1,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004479/0.2801, allocations: 244.2 kB / 386.5 MB, free: 60.12 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.002354/0.2824, allocations: 2.014 MB / 388.5 MB, free: 58.45 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.378e-06/0.2824, allocations: 4.062 kB / 388.5 MB, free: 58.45 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001411/0.2838, allocations: 1.638 MB / 390.2 MB, free: 56.97 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001969/0.2858, allocations: 0.663 MB / 390.8 MB, free: 56.44 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007481/0.2933, allocations: 6.437 MB / 397.3 MB, free: 50.12 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000663/0.2939, allocations: 1.03 MB / 398.3 MB, free: 49.07 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0009558/0.2949, allocations: 309.2 kB / 398.6 MB, free: 48.76 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001/0.2959, allocations: 0.7009 MB / 399.3 MB, free: 48.06 MB / 330.7 MB Notification: Performance of SimCode: time 2.124e-06/0.2959, allocations: 0 / 399.3 MB, free: 48.06 MB / 330.7 MB Notification: Performance of Templates: time 0.05099/0.3469, allocations: 43.47 MB / 442.8 MB, free: 5.098 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.sim & ./Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/InductionMachines/IMC_Transformer/IMC_Transformer.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: 4.94367147423327]