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.001291/0.001291, allocations: 71.59 kB / 21.24 MB, free: 0.5469 MB / 14.72 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.001412/0.001412, allocations: 159.5 kB / 24.5 MB, free: 3.723 MB / 14.72 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 1.41/1.41, allocations: 177.2 MB / 204.9 MB, free: 9.031 MB / 190.1 MB " [Timeout remaining time 178] 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 0.001623/0.001623, allocations: 51.55 kB / 325.6 MB, free: 248 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09421/0.09583, allocations: 53.34 MB / 378.9 MB, free: 15.63 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer): time 0.01401/0.1098, allocations: 11.34 MB / 390.3 MB, free: 4.238 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.008126/0.118, allocations: 4.039 MB / 394.3 MB, free: 192 kB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001812/0.1198, allocations: 99.31 kB / 394.4 MB, free: 92 kB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002359/0.1221, allocations: 0.9626 MB / 395.4 MB, free: 15.12 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003604/0.1257, allocations: 1.247 MB / 396.6 MB, free: 13.87 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001321/0.1271, allocations: 0.5306 MB / 397.2 MB, free: 13.34 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.005823/0.1329, allocations: 4.653 MB / 401.8 MB, free: 8.66 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00303/0.1359, allocations: 2.003 MB / 403.8 MB, free: 6.594 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003838/0.1398, allocations: 2.181 MB / 406 MB, free: 4.418 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004445/0.1442, allocations: 2.541 MB / 408.5 MB, free: 1.867 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001108/0.1453, allocations: 0.5547 MB / 409.1 MB, free: 1.312 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001555/0.1469, allocations: 0.6483 MB / 409.7 MB, free: 0.6641 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001594/0.1485, allocations: 1.539 MB / 411.3 MB, free: 15.12 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002824/0.1513, allocations: 2.015 MB / 413.3 MB, free: 13.1 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008544/0.1598, allocations: 7.506 MB / 420.8 MB, free: 5.566 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.519e-06/0.1598, allocations: 0 / 420.8 MB, free: 5.566 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.1598, allocations: 0 / 420.8 MB, free: 5.566 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001555/0.16, allocations: 4 kB / 420.8 MB, free: 5.562 MB / 382.1 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.00994/0.1699, allocations: 4.752 MB / 425.6 MB, free: 0.7539 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.705e-05/0.17, allocations: 8.031 kB / 425.6 MB, free: 0.7461 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001586/0.1716, allocations: 0.5487 MB / 426.1 MB, free: 200 kB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005222/0.1768, allocations: 2.552 MB / 428.7 MB, free: 13.57 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002247/0.177, allocations: 259 kB / 428.9 MB, free: 13.32 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005382/0.1775, allocations: 355.9 kB / 429.3 MB, free: 12.97 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009009/0.1865, allocations: 5.28 MB / 434.5 MB, free: 7.566 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.745e-05/0.1866, allocations: 11.94 kB / 434.6 MB, free: 7.555 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003629/0.187, allocations: 148 kB / 434.7 MB, free: 7.41 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002001/0.1872, allocations: 179.1 kB / 434.9 MB, free: 7.234 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007703/0.1949, allocations: 4.287 MB / 439.2 MB, free: 2.941 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0236/0.2185, allocations: 12.87 MB / 452 MB, free: 5.75 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004101/0.2226, allocations: 2.688 MB / 454.7 MB, free: 3.086 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003257/0.2259, allocations: 1.873 MB / 456.6 MB, free: 1.215 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002475/0.2261, allocations: 53.97 kB / 456.7 MB, free: 1.16 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.201e-05/0.2262, allocations: 60.55 kB / 456.7 MB, free: 1.094 MB / 414.1 MB Notification: Performance of pre-optimization done (n=198): time 4.078e-06/0.2262, allocations: 0 / 456.7 MB, free: 1.094 MB / 414.1 MB Notification: Performance of matching and sorting (n=218): time 0.02029/0.2464, allocations: 9.583 MB / 466.3 MB, free: 7.5 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.708e-05/0.2465, allocations: 81.34 kB / 466.4 MB, free: 7.406 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003406/0.2499, allocations: 2.195 MB / 468.6 MB, free: 5.176 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001844/0.2501, allocations: 65.7 kB / 468.6 MB, free: 5.105 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001313/0.2514, allocations: 1.68 MB / 470.3 MB, free: 3.41 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006967/0.2521, allocations: 0.7592 MB / 471.1 MB, free: 2.645 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007138/0.2528, allocations: 420.4 kB / 471.5 MB, free: 2.227 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001232/0.253, allocations: 301.1 kB / 471.8 MB, free: 1.93 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002186/0.2551, allocations: 1.297 MB / 473.1 MB, free: 0.6289 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.193/0.4481, allocations: 1.782 MB / 474.9 MB, free: 81.09 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004201/0.4523, allocations: 3.211 MB / 478.1 MB, free: 80.34 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.03e-05/0.4524, allocations: 4.562 kB / 478.1 MB, free: 80.34 MB / 430.1 MB Notification: Performance of matching and sorting (n=295) (initialization): time 0.006617/0.459, allocations: 4.04 MB / 482.1 MB, free: 78.92 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.829e-05/0.459, allocations: 10.47 kB / 482.1 MB, free: 78.92 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.73e-05/0.459, allocations: 15.33 kB / 482.1 MB, free: 78.92 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002757/0.4618, allocations: 0.8788 MB / 483 MB, free: 78.7 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002065/0.4639, allocations: 0.5301 MB / 483.5 MB, free: 78.65 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008565/0.4724, allocations: 8.992 MB / 492.5 MB, free: 72.57 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001843/0.4743, allocations: 116.8 kB / 492.7 MB, free: 72.54 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001543/0.4744, allocations: 88.77 kB / 492.7 MB, free: 72.52 MB / 430.1 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.001779/0.4762, allocations: 1.222 MB / 494 MB, free: 71.9 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004349/0.4766, allocations: 265.4 kB / 494.2 MB, free: 71.89 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005024/0.4817, allocations: 3.675 MB / 497.9 MB, free: 70.44 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.141e-05/0.4817, allocations: 22.19 kB / 497.9 MB, free: 70.44 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.819e-06/0.4817, allocations: 7.5 kB / 497.9 MB, free: 70.44 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.64e-05/0.4817, allocations: 9.75 kB / 497.9 MB, free: 70.44 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009803/0.4915, allocations: 7.11 MB / 0.4932 GB, free: 64.21 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.647e-06/0.4915, allocations: 10.28 kB / 0.4932 GB, free: 64.2 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001486/0.493, allocations: 379.8 kB / 0.4936 GB, free: 63.83 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002631/0.4956, allocations: 0.9337 MB / 0.4945 GB, free: 62.89 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001341/0.4958, allocations: 51.98 kB / 0.4945 GB, free: 62.84 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008344/0.5041, allocations: 10.49 MB / 0.5048 GB, free: 52.06 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.266e-06/0.5041, allocations: 4 kB / 0.5048 GB, free: 52.05 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006782/0.5109, allocations: 5.487 MB / 0.5102 GB, free: 46.6 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001369/0.5123, allocations: 0.5411 MB / 0.5107 GB, free: 46.06 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002866/0.5125, allocations: 47.98 kB / 0.5107 GB, free: 46.01 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001213/0.5137, allocations: 111.9 kB / 0.5108 GB, free: 45.9 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000362/0.5141, allocations: 189.7 kB / 0.511 GB, free: 45.72 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001243/0.5142, allocations: 70.12 kB / 0.5111 GB, free: 45.66 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.00171/0.5159, allocations: 1.493 MB / 0.5125 GB, free: 44.14 MB / 430.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.5159, allocations: 0 / 0.5125 GB, free: 44.14 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.002091/0.518, allocations: 0.791 MB / 0.5133 GB, free: 43.36 MB / 430.1 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.000473/0.5185, allocations: 243 kB / 0.5135 GB, free: 43.13 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.004848/0.5234, allocations: 3.611 MB / 0.5171 GB, free: 39.48 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 5.56e-06/0.5234, allocations: 4 kB / 0.5171 GB, free: 39.47 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002945/0.5263, allocations: 2.318 MB / 0.5193 GB, free: 37.11 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002518/0.5288, allocations: 0.6292 MB / 0.52 GB, free: 36.5 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009318/0.5381, allocations: 7.846 MB / 0.5276 GB, free: 28.64 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001735/0.5399, allocations: 2.239 MB / 0.5298 GB, free: 26.36 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.001469/0.5413, allocations: 0.6452 MB / 0.5304 GB, free: 25.71 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004692/0.5418, allocations: 172.5 kB / 0.5306 GB, free: 25.54 MB / 430.1 MB Notification: Performance of SimCode: time 6.81e-07/0.5418, allocations: 0 / 0.5306 GB, free: 25.54 MB / 430.1 MB Notification: Performance of Templates: time 0.06256/0.6044, allocations: 40.53 MB / 0.5702 GB, free: 1.531 MB / 446.1 MB " [Timeout remaining time 659] 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 -s ida -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/Transformers/IMC_Transformer/IMC_Transformer.csv","/var/lib/jenkins1/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: 7.498869847040623]