Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.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.00172/0.00172, allocations: 69.72 kB / 21.24 MB, free: 0.5547 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.002211/0.002211, allocations: 162.5 kB / 24.5 MB, free: 3.715 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.491/1.491, allocations: 177.2 MB / 204.9 MB, free: 9.023 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.InductionMachines.IMC_Transformer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=25000,variableFilter="time|aimc.is.1.|aimc.is.2.|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|loadInertia.phi|loadInertia.w|transformer.l2sigma.inductor.2..i|transformer.l2sigma.inductor.3..i",fileNamePrefix="Modelica_4.1.0_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.1.|aimc.is.2.|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|loadInertia.phi|loadInertia.w|transformer.l2sigma.inductor.2..i|transformer.l2sigma.inductor.3..i",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001666/0.001666, allocations: 50.69 kB / 325.6 MB, free: 472 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09725/0.09891, allocations: 53.34 MB / 378.9 MB, free: 15.78 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer): time 0.01489/0.1138, allocations: 11.31 MB / 390.2 MB, free: 4.422 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.008184/0.122, allocations: 4.035 MB / 394.3 MB, free: 384 kB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001874/0.1239, allocations: 99.31 kB / 394.4 MB, free: 284 kB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002793/0.1267, allocations: 0.9704 MB / 395.3 MB, free: 15.3 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003744/0.1304, allocations: 1.243 MB / 396.6 MB, free: 14.05 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001308/0.1317, allocations: 0.5267 MB / 397.1 MB, free: 13.52 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.005837/0.1375, allocations: 4.653 MB / 401.8 MB, free: 8.848 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002873/0.1404, allocations: 2.003 MB / 403.8 MB, free: 6.781 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003727/0.1441, allocations: 2.185 MB / 406 MB, free: 4.598 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004188/0.1483, allocations: 2.541 MB / 408.5 MB, free: 2.047 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009858/0.1493, allocations: 0.5508 MB / 409 MB, free: 1.496 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001349/0.1507, allocations: 0.6521 MB / 409.7 MB, free: 0.8438 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001581/0.1522, allocations: 1.535 MB / 411.2 MB, free: 15.3 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002715/0.155, allocations: 2.023 MB / 413.3 MB, free: 13.27 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008382/0.1633, allocations: 7.498 MB / 420.8 MB, free: 5.75 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.671e-06/0.1633, allocations: 0 / 420.8 MB, free: 5.75 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.053e-06/0.1633, allocations: 0 / 420.8 MB, free: 5.75 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001479/0.1635, allocations: 3.938 kB / 420.8 MB, free: 5.746 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.01038/0.1739, allocations: 4.752 MB / 425.5 MB, free: 0.9375 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.851e-05/0.1739, allocations: 8.031 kB / 425.5 MB, free: 0.9297 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001594/0.1755, allocations: 0.5487 MB / 426.1 MB, free: 388 kB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00484/0.1803, allocations: 2.548 MB / 428.6 MB, free: 13.76 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002345/0.1806, allocations: 263 kB / 428.9 MB, free: 13.5 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005756/0.1812, allocations: 355.9 kB / 429.2 MB, free: 13.16 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009135/0.1903, allocations: 5.28 MB / 434.5 MB, free: 7.75 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.242e-05/0.1904, allocations: 3.953 kB / 434.5 MB, free: 7.746 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003562/0.1907, allocations: 152 kB / 434.7 MB, free: 7.598 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002077/0.1909, allocations: 187 kB / 434.8 MB, free: 7.414 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007798/0.1987, allocations: 4.287 MB / 439.1 MB, free: 3.121 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02529/0.224, allocations: 12.87 MB / 452 MB, free: 5.938 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006355/0.2304, allocations: 2.688 MB / 454.7 MB, free: 3.273 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003975/0.2344, allocations: 1.881 MB / 456.6 MB, free: 1.395 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002437/0.2346, allocations: 53.97 kB / 456.6 MB, free: 1.34 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.467e-05/0.2347, allocations: 56.56 kB / 456.7 MB, free: 1.277 MB / 414.1 MB Notification: Performance of pre-optimization done (n=198): time 4.228e-06/0.2347, allocations: 384 / 456.7 MB, free: 1.277 MB / 414.1 MB Notification: Performance of matching and sorting (n=218): time 0.0269/0.2616, allocations: 9.586 MB / 466.3 MB, free: 7.68 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.181e-05/0.2616, allocations: 73.41 kB / 466.3 MB, free: 7.594 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003428/0.2651, allocations: 2.195 MB / 468.5 MB, free: 5.363 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001826/0.2652, allocations: 65.7 kB / 468.6 MB, free: 5.293 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001351/0.2666, allocations: 1.684 MB / 470.3 MB, free: 3.594 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007344/0.2673, allocations: 0.763 MB / 471 MB, free: 2.824 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007435/0.2681, allocations: 424.4 kB / 471.4 MB, free: 2.402 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001456/0.2682, allocations: 301.1 kB / 471.7 MB, free: 2.105 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003098/0.2713, allocations: 1.297 MB / 473 MB, free: 0.8047 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.181/0.4523, allocations: 1.775 MB / 474.8 MB, free: 81.06 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004274/0.4566, allocations: 3.212 MB / 478 MB, free: 80.28 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.159e-05/0.4566, allocations: 4.125 kB / 478 MB, free: 80.28 MB / 430.1 MB Notification: Performance of matching and sorting (n=295) (initialization): time 0.00655/0.4631, allocations: 4.044 MB / 482.1 MB, free: 78.85 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.792e-05/0.4632, allocations: 10.12 kB / 482.1 MB, free: 78.85 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.538e-05/0.4632, allocations: 13.98 kB / 482.1 MB, free: 78.85 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002669/0.4658, allocations: 0.8785 MB / 483 MB, free: 78.64 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002009/0.4679, allocations: 0.5278 MB / 483.5 MB, free: 78.59 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008027/0.4759, allocations: 9 MB / 492.5 MB, free: 72.51 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001712/0.4776, allocations: 121.4 kB / 492.6 MB, free: 72.47 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001506/0.4777, allocations: 82.83 kB / 492.7 MB, free: 72.45 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.001594/0.4793, allocations: 1.221 MB / 493.9 MB, free: 71.84 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004173/0.4798, allocations: 263.3 kB / 494.2 MB, free: 71.84 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004694/0.4844, allocations: 3.68 MB / 497.9 MB, free: 70.38 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.125e-05/0.4845, allocations: 23.62 kB / 497.9 MB, free: 70.38 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.606e-06/0.4845, allocations: 3.656 kB / 497.9 MB, free: 70.38 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.612e-05/0.4845, allocations: 14.81 kB / 497.9 MB, free: 70.38 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008931/0.4934, allocations: 7.108 MB / 0.4932 GB, free: 64.43 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.164e-06/0.4934, allocations: 7.938 kB / 0.4932 GB, free: 64.42 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001416/0.4948, allocations: 391.7 kB / 0.4936 GB, free: 64.04 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002466/0.4973, allocations: 0.9192 MB / 0.4944 GB, free: 63.11 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000113/0.4974, allocations: 55.98 kB / 0.4945 GB, free: 63.06 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0077/0.5051, allocations: 10.48 MB / 0.5047 GB, free: 52.28 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.925e-06/0.5051, allocations: 4 kB / 0.5047 GB, free: 52.28 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006311/0.5114, allocations: 5.489 MB / 0.5101 GB, free: 46.82 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001284/0.5127, allocations: 0.5411 MB / 0.5106 GB, free: 46.28 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002915/0.513, allocations: 52.86 kB / 0.5107 GB, free: 46.23 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001178/0.5142, allocations: 111.9 kB / 0.5108 GB, free: 46.12 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003374/0.5145, allocations: 185.7 kB / 0.511 GB, free: 45.94 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000118/0.5146, allocations: 67.75 kB / 0.511 GB, free: 45.88 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001556/0.5162, allocations: 1.493 MB / 0.5125 GB, free: 44.37 MB / 430.1 MB Notification: Performance of sort global known variables: time 1e-07/0.5162, allocations: 4 kB / 0.5125 GB, free: 44.36 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001905/0.5181, allocations: 0.7929 MB / 0.5133 GB, free: 43.57 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.0004367/0.5185, allocations: 242.6 kB / 0.5135 GB, free: 43.35 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.004458/0.523, allocations: 3.614 MB / 0.517 GB, free: 39.7 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.657e-06/0.523, allocations: 0 / 0.517 GB, free: 39.7 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002775/0.5258, allocations: 2.323 MB / 0.5193 GB, free: 37.32 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002219/0.528, allocations: 0.6214 MB / 0.5199 GB, free: 36.72 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009351/0.5373, allocations: 7.839 MB / 0.5276 GB, free: 28.86 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001736/0.5391, allocations: 2.246 MB / 0.5298 GB, free: 26.57 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.001664/0.5407, allocations: 0.6413 MB / 0.5304 GB, free: 25.93 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000486/0.5412, allocations: 172.5 kB / 0.5305 GB, free: 25.76 MB / 430.1 MB Notification: Performance of SimCode: time 7.01e-07/0.5412, allocations: 0 / 0.5305 GB, free: 25.76 MB / 430.1 MB Notification: Performance of Templates: time 0.06153/0.6028, allocations: 40.54 MB / 0.5701 GB, free: 1.75 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.sim & ./Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/InductionMachines/IMC_Transformer/IMC_Transformer.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.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.542383871972561]