Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001918/0.001918, allocations: 99.86 kB / 20.96 MB, free: 3.457 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001947/0.001947, allocations: 149.1 kB / 24.26 MB, free: 164 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.559/1.559, allocations: 173.4 MB / 200.8 MB, free: 9.289 MB / 186.7 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_4.0.0_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_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.014e-06/2.014e-06, allocations: 0 / 267.4 MB, free: 6.676 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.474e-05/2.675e-05, allocations: 2.312 kB / 267.4 MB, free: 6.672 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer): time 0.01851/0.01854, allocations: 12.73 MB / 280.1 MB, free: 9.887 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.009626/0.02816, allocations: 4.136 MB / 284.2 MB, free: 5.738 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002731/0.03089, allocations: 103.3 kB / 284.3 MB, free: 5.637 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003247/0.03414, allocations: 0.9624 MB / 285.3 MB, free: 4.668 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004613/0.03875, allocations: 1.285 MB / 286.6 MB, free: 3.375 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001691/0.04045, allocations: 0.5226 MB / 287.1 MB, free: 2.852 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.1352/0.1757, allocations: 4.791 MB / 291.9 MB, free: 16.03 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002902/0.1786, allocations: 2.017 MB / 293.9 MB, free: 15.79 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005819/0.1844, allocations: 3.21 MB / 297.1 MB, free: 15.65 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004437/0.1889, allocations: 2.485 MB / 299.6 MB, free: 15.46 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001172/0.19, allocations: 0.5514 MB / 300.1 MB, free: 15.46 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001653/0.1917, allocations: 0.6404 MB / 300.8 MB, free: 15.46 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001115/0.1928, allocations: 1.604 MB / 302.4 MB, free: 14.72 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002117/0.1949, allocations: 1.743 MB / 304.1 MB, free: 13.96 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006166/0.2011, allocations: 7.586 MB / 311.7 MB, free: 9.613 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.374e-06/0.2011, allocations: 3.156 kB / 311.7 MB, free: 9.613 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.034e-06/0.2011, allocations: 0 / 311.7 MB, free: 9.613 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0002511/0.2013, allocations: 0 / 311.7 MB, free: 9.613 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 934 * Number of variables: 934 Notification: Performance of Generate backend data structure: time 0.009597/0.2109, allocations: 5.329 MB / 317.1 MB, free: 5.512 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.856e-05/0.211, allocations: 8.922 kB / 317.1 MB, free: 5.504 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001558/0.2125, allocations: 0.8104 MB / 317.9 MB, free: 4.695 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004174/0.2167, allocations: 2.412 MB / 320.3 MB, free: 2.367 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001328/0.2168, allocations: 270.5 kB / 320.5 MB, free: 2.105 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004248/0.2173, allocations: 360 kB / 320.9 MB, free: 1.758 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008602/0.2259, allocations: 5.034 MB / 325.9 MB, free: 12.6 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.039e-05/0.226, allocations: 11.89 kB / 325.9 MB, free: 12.59 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003632/0.2263, allocations: 147.1 kB / 326.1 MB, free: 12.45 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002261/0.2265, allocations: 183.1 kB / 326.3 MB, free: 12.27 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007351/0.2339, allocations: 3.48 MB / 329.7 MB, free: 8.793 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03521/0.2691, allocations: 18.05 MB / 347.8 MB, free: 6.316 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004158/0.2733, allocations: 2.238 MB / 350 MB, free: 4.121 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003214/0.2765, allocations: 1.524 MB / 351.6 MB, free: 2.605 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003008/0.2768, allocations: 65.97 kB / 351.6 MB, free: 2.539 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.119e-05/0.2768, allocations: 59.39 kB / 351.7 MB, free: 2.473 MB / 298.7 MB Notification: Performance of pre-optimization done (n=198): time 4.849e-06/0.2768, allocations: 0 / 351.7 MB, free: 2.473 MB / 298.7 MB Notification: Performance of matching and sorting (n=218): time 0.01815/0.295, allocations: 7.122 MB / 358.8 MB, free: 11.38 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.678e-05/0.2951, allocations: 85.33 kB / 358.9 MB, free: 11.28 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004775/0.2999, allocations: 2.563 MB / 361.4 MB, free: 8.672 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004555/0.3003, allocations: 61.7 kB / 361.5 MB, free: 8.605 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002184/0.3025, allocations: 1.876 MB / 363.4 MB, free: 6.719 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001256/0.3038, allocations: 0.8401 MB / 364.2 MB, free: 5.891 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009417/0.3047, allocations: 0.5103 MB / 364.7 MB, free: 5.371 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0002524/0.3049, allocations: 476.8 kB / 365.2 MB, free: 4.902 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001864/0.3068, allocations: 0.8711 MB / 366.1 MB, free: 4.027 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002594/0.3094, allocations: 1.616 MB / 367.7 MB, free: 2.164 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005308/0.3147, allocations: 2.748 MB / 370.4 MB, free: 15.22 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.648e-05/0.3147, allocations: 4 kB / 370.4 MB, free: 15.22 MB / 330.7 MB Notification: Performance of matching and sorting (n=295) (initialization): time 0.007061/0.3218, allocations: 3.183 MB / 373.6 MB, free: 12.11 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.138e-05/0.3218, allocations: 15.22 kB / 373.6 MB, free: 12.1 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.438e-05/0.3219, allocations: 20.47 kB / 373.7 MB, free: 12.08 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003251/0.3251, allocations: 0.7272 MB / 374.4 MB, free: 11.33 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0025/0.3276, allocations: 0.5247 MB / 374.9 MB, free: 10.84 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01196/0.3396, allocations: 9.104 MB / 384 MB, free: 1.41 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002067/0.3416, allocations: 111.9 kB / 384.1 MB, free: 1.301 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002401/0.3419, allocations: 88 kB / 384.2 MB, free: 1.215 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.002058/0.3439, allocations: 1.011 MB / 385.2 MB, free: 224 kB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008005/0.3447, allocations: 342.3 kB / 385.6 MB, free: 15.88 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00619/0.3509, allocations: 2.727 MB / 388.3 MB, free: 13.14 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.048e-05/0.351, allocations: 20 kB / 388.3 MB, free: 13.12 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.104e-05/0.351, allocations: 15.94 kB / 388.3 MB, free: 13.11 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.237e-05/0.351, allocations: 11.95 kB / 388.3 MB, free: 13.1 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01585/0.3668, allocations: 6.975 MB / 395.3 MB, free: 6.113 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-05/0.3669, allocations: 4 kB / 395.3 MB, free: 6.109 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001762/0.3686, allocations: 384.7 kB / 395.7 MB, free: 5.75 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003439/0.3721, allocations: 0.7613 MB / 396.4 MB, free: 4.969 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001785/0.3722, allocations: 51.98 kB / 396.5 MB, free: 4.918 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01339/0.3856, allocations: 10.72 MB / 407.2 MB, free: 9.754 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.02e-06/0.3856, allocations: 7.938 kB / 407.2 MB, free: 9.746 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008208/0.3938, allocations: 3.971 MB / 411.2 MB, free: 5.715 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001775/0.3956, allocations: 0.4982 MB / 411.7 MB, free: 5.215 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003738/0.396, allocations: 48 kB / 411.7 MB, free: 5.168 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001329/0.3973, allocations: 115.9 kB / 411.9 MB, free: 5.055 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004893/0.3978, allocations: 197.1 kB / 412 MB, free: 4.867 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001548/0.398, allocations: 59.98 kB / 412.1 MB, free: 4.809 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.002837/0.4008, allocations: 1.504 MB / 413.6 MB, free: 3.285 MB / 362.7 MB Notification: Performance of sort global known variables: time 8e-08/0.4008, allocations: 0 / 413.6 MB, free: 3.285 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.002986/0.4038, allocations: 0.7968 MB / 414.4 MB, free: 2.488 MB / 362.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.0007588/0.4045, allocations: 253.6 kB / 414.7 MB, free: 2.258 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.006336/0.4109, allocations: 3.165 MB / 417.8 MB, free: 15.09 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 5.64e-06/0.4109, allocations: 0.8125 kB / 417.8 MB, free: 15.09 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004491/0.4154, allocations: 2.22 MB / 420 MB, free: 12.83 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003188/0.4186, allocations: 0.6471 MB / 420.7 MB, free: 12.2 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01327/0.4318, allocations: 7.013 MB / 427.7 MB, free: 5.105 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002737/0.4346, allocations: 2.058 MB / 429.8 MB, free: 3.008 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.001977/0.4366, allocations: 0.5006 MB / 430.3 MB, free: 2.5 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006882/0.4372, allocations: 172.5 kB / 430.4 MB, free: 2.332 MB / 378.7 MB Notification: Performance of SimCode: time 2.304e-06/0.4372, allocations: 0 / 430.4 MB, free: 2.332 MB / 378.7 MB Notification: Performance of Templates: time 0.1871/0.6243, allocations: 40.34 MB / 470.8 MB, free: 97.23 MB / 378.7 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.sim & ./Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/Transformers/IMC_Transformer/IMC_Transformer.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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: 7.86933887610212]