Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001118/0.001118, allocations: 87.62 kB / 21.44 MB, free: 3.129 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.003942/0.003942, allocations: 160.7 kB / 24.7 MB, free: 9.43 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8554/0.8554, allocations: 177.1 MB / 205 MB, free: 5.723 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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.1.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.1.0_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.605e-06/2.605e-06, allocations: 0 / 325.9 MB, free: 15.35 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.335e-05/2.596e-05, allocations: 8.469 kB / 325.9 MB, free: 15.34 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer): time 0.01287/0.01289, allocations: 11.35 MB / 337.2 MB, free: 3.949 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.008787/0.02168, allocations: 4.051 MB / 341.3 MB, free: 15.88 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00157/0.02325, allocations: 99.31 kB / 341.4 MB, free: 15.78 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002214/0.02547, allocations: 0.9702 MB / 342.4 MB, free: 14.8 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002472/0.02794, allocations: 1.288 MB / 343.6 MB, free: 13.51 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007271/0.02866, allocations: 0.5382 MB / 344.2 MB, free: 12.97 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.002763/0.03143, allocations: 4.813 MB / 349 MB, free: 8.133 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001673/0.0331, allocations: 2.007 MB / 351 MB, free: 6.066 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002779/0.03588, allocations: 3.171 MB / 354.2 MB, free: 2.902 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001906/0.03779, allocations: 2.287 MB / 356.5 MB, free: 0.6094 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004313/0.03822, allocations: 0.5508 MB / 357 MB, free: 60 kB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006944/0.03891, allocations: 0.6637 MB / 357.7 MB, free: 15.39 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008604/0.03977, allocations: 1.574 MB / 359.2 MB, free: 13.82 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001165/0.04094, allocations: 1.731 MB / 361 MB, free: 12.08 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004575/0.04551, allocations: 7.557 MB / 368.5 MB, free: 4.504 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.901e-06/0.04552, allocations: 3.984 kB / 368.5 MB, free: 4.5 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.482e-06/0.04552, allocations: 3.938 kB / 368.5 MB, free: 4.496 MB / 330.7 MB Notification: Performance of Transformations before backend: time 6.248e-05/0.04558, allocations: 0 / 368.5 MB, free: 4.496 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: 934 * Number of variables: 934 Notification: Performance of Generate backend data structure: time 0.005073/0.05066, allocations: 4.704 MB / 373.2 MB, free: 15.74 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.854e-05/0.05069, allocations: 12.03 kB / 373.3 MB, free: 15.73 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008594/0.05155, allocations: 0.5487 MB / 373.8 MB, free: 15.18 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002695/0.05425, allocations: 2.543 MB / 376.4 MB, free: 12.56 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001326/0.05438, allocations: 263.4 kB / 376.6 MB, free: 12.3 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003498/0.05473, allocations: 352.1 kB / 377 MB, free: 11.96 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005278/0.06001, allocations: 5.28 MB / 382.2 MB, free: 6.551 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.4e-05/0.06008, allocations: 15.89 kB / 382.2 MB, free: 6.535 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002339/0.06032, allocations: 144 kB / 382.4 MB, free: 6.395 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001237/0.06044, allocations: 183.1 kB / 382.6 MB, free: 6.215 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00463/0.06507, allocations: 4.287 MB / 386.9 MB, free: 1.922 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01309/0.07816, allocations: 12.85 MB / 399.7 MB, free: 4.758 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002648/0.08081, allocations: 2.689 MB / 402.4 MB, free: 2.094 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001998/0.08281, allocations: 1.881 MB / 404.3 MB, free: 216 kB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001979/0.08301, allocations: 53.97 kB / 404.3 MB, free: 164 kB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.831e-05/0.08306, allocations: 60.56 kB / 404.4 MB, free: 92 kB / 362.7 MB Notification: Performance of pre-optimization done (n=198): time 3.697e-06/0.08306, allocations: 0 / 404.4 MB, free: 92 kB / 362.7 MB Notification: Performance of matching and sorting (n=218): time 0.01138/0.09444, allocations: 9.581 MB / 414 MB, free: 6.496 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.274e-05/0.09448, allocations: 77.34 kB / 414 MB, free: 6.41 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00201/0.09649, allocations: 2.199 MB / 416.2 MB, free: 4.176 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 9.435e-05/0.09659, allocations: 65.7 kB / 416.3 MB, free: 4.105 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007383/0.09733, allocations: 1.672 MB / 418 MB, free: 2.418 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003811/0.09771, allocations: 0.7513 MB / 418.7 MB, free: 1.66 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004257/0.09813, allocations: 420.4 kB / 419.1 MB, free: 1.242 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.846e-05/0.0982, allocations: 301.1 kB / 419.4 MB, free: 0.9453 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00125/0.09945, allocations: 1.297 MB / 420.7 MB, free: 15.64 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001469/0.1009, allocations: 1.774 MB / 422.5 MB, free: 13.68 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002809/0.1037, allocations: 3.215 MB / 425.7 MB, free: 10.28 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.882e-06/0.1037, allocations: 8 kB / 425.7 MB, free: 10.27 MB / 394.7 MB Notification: Performance of matching and sorting (n=295) (initialization): time 0.004036/0.1078, allocations: 4.042 MB / 429.8 MB, free: 6.203 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.263e-05/0.1078, allocations: 12 kB / 429.8 MB, free: 6.191 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.558e-05/0.1078, allocations: 16 kB / 429.8 MB, free: 6.176 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001406/0.1092, allocations: 0.8845 MB / 430.7 MB, free: 5.277 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001016/0.1102, allocations: 0.5266 MB / 431.2 MB, free: 4.75 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006176/0.1164, allocations: 8.994 MB / 440.2 MB, free: 11.46 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007327/0.1171, allocations: 111.9 kB / 440.3 MB, free: 11.35 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001123/0.1173, allocations: 87.98 kB / 440.4 MB, free: 11.26 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.001311/0.1186, allocations: 1.223 MB / 441.6 MB, free: 10.03 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002504/0.1188, allocations: 262.3 kB / 441.9 MB, free: 9.77 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003729/0.1225, allocations: 3.681 MB / 445.6 MB, free: 6.059 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.987e-06/0.1226, allocations: 20 kB / 445.6 MB, free: 6.039 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.278e-06/0.1226, allocations: 12 kB / 445.6 MB, free: 6.027 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.235e-05/0.1226, allocations: 11.95 kB / 445.6 MB, free: 6.016 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1456/0.2682, allocations: 7.087 MB / 452.7 MB, free: 111.3 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.147e-05/0.2682, allocations: 3.125 kB / 452.7 MB, free: 111.3 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001014/0.2692, allocations: 384.7 kB / 453.1 MB, free: 111.3 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001598/0.2708, allocations: 0.9278 MB / 454 MB, free: 111.3 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001157/0.2709, allocations: 58.3 kB / 454.1 MB, free: 111.3 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005346/0.2763, allocations: 10.48 MB / 464.5 MB, free: 104.6 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.2763, allocations: 0 / 464.5 MB, free: 104.6 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00442/0.2807, allocations: 5.484 MB / 470 MB, free: 102.3 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007454/0.2815, allocations: 0.5387 MB / 470.6 MB, free: 101.9 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001693/0.2816, allocations: 51.19 kB / 470.6 MB, free: 101.9 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006188/0.2822, allocations: 120 kB / 470.7 MB, free: 101.8 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002199/0.2825, allocations: 192.4 kB / 470.9 MB, free: 101.7 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.293e-05/0.2825, allocations: 56.22 kB / 471 MB, free: 101.6 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001205/0.2837, allocations: 1.496 MB / 472.5 MB, free: 100.4 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.01e-07/0.2837, allocations: 0 / 472.5 MB, free: 100.4 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001355/0.2851, allocations: 0.7948 MB / 473.3 MB, free: 99.57 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.000379/0.2855, allocations: 232.2 kB / 473.5 MB, free: 99.38 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002788/0.2883, allocations: 3.617 MB / 477.1 MB, free: 95.95 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.2883, allocations: 0 / 477.1 MB, free: 95.95 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001862/0.2901, allocations: 2.31 MB / 479.4 MB, free: 93.62 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001352/0.2915, allocations: 0.6302 MB / 480 MB, free: 93.04 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006376/0.2979, allocations: 7.628 MB / 487.7 MB, free: 85.39 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001172/0.299, allocations: 2.188 MB / 489.9 MB, free: 83.16 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003868/0.2994, allocations: 180.5 kB / 490 MB, free: 82.98 MB / 410.7 MB Notification: Performance of SimCode: time 8.82e-07/0.2994, allocations: 0 / 490 MB, free: 82.98 MB / 410.7 MB Notification: Performance of Templates: time 0.07988/0.3793, allocations: 141.4 MB / 0.6166 GB, free: 5.547 MB / 474.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.sim & ./Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_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_4.1.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: 12.200991405174136]