Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.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.001097/0.001097, allocations: 96.27 kB / 21.44 MB, free: 3.098 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.001213/0.001213, allocations: 153.1 kB / 24.69 MB, free: 9.43 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.829/0.829, allocations: 177 MB / 204.9 MB, free: 5.75 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.Transformers.IMC_Transformer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=25000,variableFilter="time|// aimc.i_0_s|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|aimc.is.1.|aimc.is.2.|loadInertia.phi|loadInertia.w|transformer.l2sigma.inductor.2..i|transformer.l2sigma.inductor.3..i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer") translateModel(Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=25000,variableFilter="time|// aimc.i_0_s|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|aimc.is.1.|aimc.is.2.|loadInertia.phi|loadInertia.w|transformer.l2sigma.inductor.2..i|transformer.l2sigma.inductor.3..i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.352e-06/1.352e-06, allocations: 0 / 325.8 MB, free: 15.36 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.066e-05/2.201e-05, allocations: 3.125 kB / 325.8 MB, free: 15.35 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer): time 0.008409/0.008431, allocations: 11.38 MB / 337.2 MB, free: 3.918 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.005278/0.01371, allocations: 4.066 MB / 341.3 MB, free: 15.83 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008024/0.01451, allocations: 107.3 kB / 341.4 MB, free: 15.73 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001292/0.0158, allocations: 0.9701 MB / 342.3 MB, free: 14.75 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001652/0.01746, allocations: 1.308 MB / 343.6 MB, free: 13.43 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005924/0.01805, allocations: 0.5304 MB / 344.2 MB, free: 12.9 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.002801/0.02085, allocations: 4.856 MB / 349 MB, free: 8.023 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001605/0.02245, allocations: 2.007 MB / 351 MB, free: 5.957 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002993/0.02545, allocations: 3.2 MB / 354.2 MB, free: 2.762 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002201/0.02765, allocations: 2.299 MB / 356.5 MB, free: 468 kB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005774/0.02823, allocations: 0.5547 MB / 357.1 MB, free: 15.9 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006955/0.02892, allocations: 0.6482 MB / 357.7 MB, free: 15.25 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009495/0.02987, allocations: 1.582 MB / 359.3 MB, free: 13.67 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001114/0.03098, allocations: 1.738 MB / 361.1 MB, free: 11.93 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004296/0.03528, allocations: 7.58 MB / 368.6 MB, free: 4.324 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.479e-06/0.03528, allocations: 3.984 kB / 368.6 MB, free: 4.32 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.232e-06/0.03529, allocations: 0 / 368.6 MB, free: 4.32 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.337e-05/0.03534, allocations: 0 / 368.6 MB, free: 4.32 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: 940 * Number of variables: 940 Notification: Performance of Generate backend data structure: time 0.00494/0.04028, allocations: 4.713 MB / 373.4 MB, free: 15.55 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.045e-05/0.04032, allocations: 11.98 kB / 373.4 MB, free: 15.54 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009839/0.0413, allocations: 0.5526 MB / 373.9 MB, free: 14.98 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002622/0.04393, allocations: 2.547 MB / 376.5 MB, free: 12.36 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001272/0.04405, allocations: 275.4 kB / 376.7 MB, free: 12.09 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003299/0.04438, allocations: 352.3 kB / 377.1 MB, free: 11.75 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005112/0.04949, allocations: 5.319 MB / 382.4 MB, free: 6.305 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.61e-05/0.04955, allocations: 4 kB / 382.4 MB, free: 6.301 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002215/0.04977, allocations: 148 kB / 382.6 MB, free: 6.156 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001222/0.04989, allocations: 191.1 kB / 382.7 MB, free: 5.969 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004228/0.05412, allocations: 4.306 MB / 387 MB, free: 1.656 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01183/0.06595, allocations: 12.89 MB / 399.9 MB, free: 4.461 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002457/0.06841, allocations: 2.693 MB / 402.6 MB, free: 1.797 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001791/0.0702, allocations: 1.87 MB / 404.5 MB, free: 15.93 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001604/0.07036, allocations: 65.91 kB / 404.6 MB, free: 15.87 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.073e-05/0.07039, allocations: 56.56 kB / 404.6 MB, free: 15.8 MB / 378.7 MB Notification: Performance of pre-optimization done (n=198): time 3.186e-06/0.07039, allocations: 0 / 404.6 MB, free: 15.8 MB / 378.7 MB Notification: Performance of matching and sorting (n=218): time 0.01075/0.08114, allocations: 9.585 MB / 414.2 MB, free: 6.203 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.894e-05/0.08118, allocations: 77.41 kB / 414.3 MB, free: 6.117 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001886/0.08307, allocations: 2.199 MB / 416.5 MB, free: 3.883 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 9.059e-05/0.08316, allocations: 65.64 kB / 416.5 MB, free: 3.812 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008319/0.08399, allocations: 1.684 MB / 418.2 MB, free: 2.113 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003505/0.08434, allocations: 0.7514 MB / 419 MB, free: 1.355 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004072/0.08475, allocations: 412.5 kB / 419.4 MB, free: 0.9453 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.299e-05/0.08481, allocations: 309.1 kB / 419.7 MB, free: 0.6406 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001233/0.08605, allocations: 1.301 MB / 421 MB, free: 15.33 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001426/0.08747, allocations: 1.77 MB / 422.7 MB, free: 13.37 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002865/0.09034, allocations: 3.219 MB / 426 MB, free: 9.969 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.212e-06/0.09034, allocations: 4 kB / 426 MB, free: 9.965 MB / 394.7 MB Notification: Performance of matching and sorting (n=295) (initialization): time 0.003888/0.09423, allocations: 4.045 MB / 430 MB, free: 5.895 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.209e-05/0.09425, allocations: 14.5 kB / 430 MB, free: 5.883 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.407e-05/0.09427, allocations: 12.47 kB / 430 MB, free: 5.871 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001503/0.09577, allocations: 0.8872 MB / 430.9 MB, free: 4.969 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000999/0.09677, allocations: 0.5305 MB / 431.5 MB, free: 4.438 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006094/0.1029, allocations: 8.971 MB / 440.4 MB, free: 11.17 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007918/0.1037, allocations: 127.7 kB / 440.6 MB, free: 11.04 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001081/0.1038, allocations: 87.98 kB / 440.6 MB, free: 10.96 MB / 410.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.001412/0.1052, allocations: 1.215 MB / 441.9 MB, free: 9.73 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002528/0.1054, allocations: 262.4 kB / 442.1 MB, free: 9.473 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00372/0.1091, allocations: 3.673 MB / 445.8 MB, free: 5.77 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.689e-06/0.1092, allocations: 24 kB / 445.8 MB, free: 5.746 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.231e-06/0.1092, allocations: 8 kB / 445.8 MB, free: 5.738 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.099e-05/0.1092, allocations: 7.969 kB / 445.8 MB, free: 5.73 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1516/0.2608, allocations: 7.108 MB / 452.9 MB, free: 111.5 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.438e-06/0.2608, allocations: 6.625 kB / 452.9 MB, free: 111.5 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009582/0.2618, allocations: 386.6 kB / 453.3 MB, free: 111.5 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001635/0.2634, allocations: 0.9287 MB / 454.2 MB, free: 111.4 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001289/0.2635, allocations: 53.95 kB / 454.3 MB, free: 111.4 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005709/0.2692, allocations: 10.48 MB / 464.8 MB, free: 104.6 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.2693, allocations: 3.938 kB / 464.8 MB, free: 104.6 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004542/0.2738, allocations: 5.473 MB / 470.3 MB, free: 102 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008036/0.2746, allocations: 0.5461 MB / 470.8 MB, free: 101.6 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001749/0.2748, allocations: 51.89 kB / 470.9 MB, free: 101.6 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006303/0.2754, allocations: 117.1 kB / 471 MB, free: 101.5 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002334/0.2756, allocations: 193 kB / 471.2 MB, free: 101.4 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.342e-05/0.2757, allocations: 59.61 kB / 471.2 MB, free: 101.3 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001269/0.277, allocations: 1.491 MB / 472.7 MB, free: 100.1 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.277, allocations: 0 / 472.7 MB, free: 100.1 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0014/0.2784, allocations: 0.7997 MB / 473.5 MB, free: 99.27 MB / 410.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%), (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.0004165/0.2788, allocations: 246 kB / 473.7 MB, free: 99.07 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002923/0.2817, allocations: 3.612 MB / 477.4 MB, free: 95.59 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.447e-06/0.2817, allocations: 4 kB / 477.4 MB, free: 95.58 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001705/0.2834, allocations: 2.308 MB / 479.7 MB, free: 93.25 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001366/0.2848, allocations: 0.6315 MB / 480.3 MB, free: 92.65 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006318/0.2911, allocations: 7.641 MB / 487.9 MB, free: 84.98 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001176/0.2923, allocations: 2.2 MB / 490.1 MB, free: 82.75 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000402/0.2927, allocations: 176.5 kB / 490.3 MB, free: 82.57 MB / 410.7 MB Notification: Performance of SimCode: time 1.222e-06/0.2927, allocations: 0 / 490.3 MB, free: 82.57 MB / 410.7 MB Notification: Performance of Templates: time 0.07872/0.3714, allocations: 141.8 MB / 0.6173 GB, free: 4.727 MB / 474.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.sim & ./Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/Transformers/IMC_Transformer/IMC_Transformer.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.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: 11.122510784305632]