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.0009917/0.0009917, 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.004848/0.004848, 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.8789/0.8789, 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.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 3.206e-06/3.206e-06, allocations: 0 / 325.9 MB, free: 15.29 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.981e-05/4.301e-05, allocations: 2.281 kB / 325.9 MB, free: 15.28 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer): time 0.01016/0.01021, allocations: 11.34 MB / 337.2 MB, free: 3.891 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.007033/0.01724, allocations: 4.054 MB / 341.3 MB, free: 15.82 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00215/0.01939, allocations: 103.3 kB / 341.4 MB, free: 15.71 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002132/0.02152, allocations: 0.9663 MB / 342.3 MB, free: 14.74 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00333/0.02485, allocations: 1.281 MB / 343.6 MB, free: 13.45 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001107/0.02596, allocations: 0.5343 MB / 344.1 MB, free: 12.92 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.004307/0.03027, allocations: 4.814 MB / 348.9 MB, free: 8.078 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002113/0.03238, allocations: 2.007 MB / 351 MB, free: 6.012 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004748/0.03713, allocations: 3.171 MB / 354.1 MB, free: 2.848 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003069/0.0402, allocations: 2.291 MB / 356.4 MB, free: 0.5508 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0008478/0.04104, allocations: 0.5547 MB / 357 MB, free: 15.99 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00113/0.04217, allocations: 0.6559 MB / 357.6 MB, free: 15.34 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001066/0.04324, allocations: 1.578 MB / 359.2 MB, free: 13.76 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002164/0.0454, allocations: 1.727 MB / 360.9 MB, free: 12.03 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006328/0.05173, allocations: 7.565 MB / 368.5 MB, free: 4.441 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.567e-06/0.05174, allocations: 0 / 368.5 MB, free: 4.441 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.495e-06/0.05174, allocations: 0 / 368.5 MB, free: 4.441 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0001829/0.05193, allocations: 0 / 368.5 MB, free: 4.441 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.007868/0.05979, allocations: 4.693 MB / 373.2 MB, free: 15.69 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.698e-05/0.05984, allocations: 16.03 kB / 373.2 MB, free: 15.68 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001189/0.06103, allocations: 0.5487 MB / 373.8 MB, free: 15.12 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003606/0.06464, allocations: 2.543 MB / 376.3 MB, free: 12.51 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001639/0.0648, allocations: 275.3 kB / 376.6 MB, free: 12.24 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004968/0.0653, allocations: 352.1 kB / 376.9 MB, free: 11.89 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006924/0.07222, allocations: 5.279 MB / 382.2 MB, free: 6.492 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.387e-05/0.07229, allocations: 7.953 kB / 382.2 MB, free: 6.484 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002833/0.07258, allocations: 144 kB / 382.3 MB, free: 6.344 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001321/0.07271, allocations: 191 kB / 382.5 MB, free: 6.156 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005725/0.07843, allocations: 4.294 MB / 386.8 MB, free: 1.855 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01741/0.09584, allocations: 12.84 MB / 399.7 MB, free: 4.707 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002771/0.09861, allocations: 2.696 MB / 402.4 MB, free: 2.035 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002039/0.1007, allocations: 1.874 MB / 404.2 MB, free: 164 kB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001936/0.1008, allocations: 54.53 kB / 404.3 MB, free: 112 kB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.259e-05/0.1009, allocations: 60.5 kB / 404.3 MB, free: 40 kB / 362.7 MB Notification: Performance of pre-optimization done (n=198): time 4.479e-06/0.1009, allocations: 0 / 404.3 MB, free: 40 kB / 362.7 MB Notification: Performance of matching and sorting (n=218): time 0.01366/0.1146, allocations: 9.589 MB / 413.9 MB, free: 6.438 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.571e-05/0.1146, allocations: 73.41 kB / 414 MB, free: 6.355 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002817/0.1174, allocations: 2.199 MB / 416.2 MB, free: 4.121 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002198/0.1176, allocations: 61.7 kB / 416.3 MB, free: 4.055 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008345/0.1185, allocations: 1.668 MB / 417.9 MB, free: 2.371 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005397/0.119, allocations: 0.763 MB / 418.7 MB, free: 1.602 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004604/0.1195, allocations: 416.4 kB / 419.1 MB, free: 1.188 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.482e-05/0.1195, allocations: 305.1 kB / 419.4 MB, free: 0.8867 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001465/0.121, allocations: 1.297 MB / 420.7 MB, free: 15.58 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001585/0.1226, allocations: 1.774 MB / 422.5 MB, free: 13.62 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00312/0.1257, allocations: 3.215 MB / 425.7 MB, free: 10.22 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.198e-05/0.1257, allocations: 0 / 425.7 MB, free: 10.22 MB / 394.7 MB Notification: Performance of matching and sorting (n=295) (initialization): time 0.004834/0.1306, allocations: 4.046 MB / 429.7 MB, free: 6.148 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.834e-05/0.1306, allocations: 12 kB / 429.7 MB, free: 6.137 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.893e-05/0.1306, allocations: 12 kB / 429.7 MB, free: 6.125 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001556/0.1322, allocations: 0.8843 MB / 430.6 MB, free: 5.227 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001146/0.1333, allocations: 0.5343 MB / 431.2 MB, free: 4.691 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00685/0.1402, allocations: 8.987 MB / 440.2 MB, free: 11.41 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001653/0.1418, allocations: 111.9 kB / 440.3 MB, free: 11.3 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001467/0.142, allocations: 87.98 kB / 440.3 MB, free: 11.21 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.002092/0.1441, allocations: 1.219 MB / 441.6 MB, free: 9.98 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005431/0.1446, allocations: 258.5 kB / 441.8 MB, free: 9.727 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004341/0.1489, allocations: 3.689 MB / 445.5 MB, free: 6.008 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.238e-05/0.149, allocations: 20 kB / 445.5 MB, free: 5.988 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.387e-05/0.149, allocations: 8 kB / 445.5 MB, free: 5.98 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.671e-05/0.149, allocations: 19.89 kB / 445.6 MB, free: 5.961 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1851/0.3341, allocations: 7.091 MB / 452.6 MB, free: 111.3 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.227e-05/0.3341, allocations: 4.75 kB / 452.7 MB, free: 111.3 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001163/0.3353, allocations: 383.4 kB / 453 MB, free: 111.3 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001751/0.3371, allocations: 0.9277 MB / 454 MB, free: 111.3 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002128/0.3373, allocations: 65.05 kB / 454 MB, free: 111.3 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005908/0.3432, allocations: 10.46 MB / 464.5 MB, free: 104.6 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/0.3432, allocations: 7.562 kB / 464.5 MB, free: 104.6 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005128/0.3483, allocations: 5.485 MB / 470 MB, free: 102.2 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001084/0.3494, allocations: 0.5378 MB / 470.5 MB, free: 101.9 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002389/0.3496, allocations: 47.84 kB / 470.6 MB, free: 101.8 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006771/0.3503, allocations: 113.6 kB / 470.7 MB, free: 101.7 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002924/0.3506, allocations: 196.2 kB / 470.9 MB, free: 101.6 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.899e-05/0.3507, allocations: 55.8 kB / 470.9 MB, free: 101.6 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001402/0.3521, allocations: 1.495 MB / 472.4 MB, free: 100.3 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.81e-07/0.3521, allocations: 0 / 472.4 MB, free: 100.3 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001696/0.3538, allocations: 0.7985 MB / 473.2 MB, free: 99.54 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.0005461/0.3543, allocations: 244.7 kB / 473.4 MB, free: 99.33 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.003589/0.3579, allocations: 3.615 MB / 477.1 MB, free: 95.92 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 6.352e-06/0.3579, allocations: 3.594 kB / 477.1 MB, free: 95.92 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002109/0.36, allocations: 2.305 MB / 479.4 MB, free: 93.58 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002296/0.3623, allocations: 0.6365 MB / 480 MB, free: 92.98 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009567/0.3719, allocations: 7.616 MB / 487.6 MB, free: 85.34 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00151/0.3734, allocations: 2.184 MB / 489.8 MB, free: 83.12 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009023/0.3743, allocations: 188.4 kB / 490 MB, free: 82.93 MB / 410.7 MB Notification: Performance of SimCode: time 1.773e-06/0.3743, allocations: 0 / 490 MB, free: 82.93 MB / 410.7 MB Notification: Performance of Templates: time 0.1035/0.4778, allocations: 141.4 MB / 0.6166 GB, free: 5.504 MB / 474.7 MB " [Timeout remaining time 660] 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/InductionMachines/IMC_Transformer/IMC_Transformer.csv","/var/lib/jenkins/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: 11.761362575925887]