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.0009727/0.0009727, allocations: 76.31 kB / 22.21 MB, free: 2.266 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.0008916/0.0008916, allocations: 170.4 kB / 25.61 MB, free: 8.906 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.8838/0.8838, allocations: 177.1 MB / 206 MB, free: 4.5 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.[0-9,]+.|aimc.idq_rr.[0-9,]+.|aimc.idq_sr.[0-9,]+.|loadInertia.phi|loadInertia.w|transformer.l2sigma.inductor.[0-9,]+..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.[0-9,]+.|aimc.idq_rr.[0-9,]+.|aimc.idq_sr.[0-9,]+.|loadInertia.phi|loadInertia.w|transformer.l2sigma.inductor.[0-9,]+..i",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.874e-06/1.874e-06, allocations: 0 / 274.2 MB, free: 4.426 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.208e-05/3.395e-05, allocations: 9.344 kB / 274.2 MB, free: 4.418 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer): time 0.01058/0.01062, allocations: 12.41 MB / 286.6 MB, free: 7.965 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.007383/0.018, allocations: 4.19 MB / 290.8 MB, free: 3.77 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002158/0.02016, allocations: 103.3 kB / 290.9 MB, free: 3.668 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002253/0.02241, allocations: 0.9705 MB / 291.9 MB, free: 2.691 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00358/0.02599, allocations: 1.292 MB / 293.2 MB, free: 1.391 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001161/0.02715, allocations: 0.542 MB / 293.7 MB, free: 0.8477 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.004185/0.03134, allocations: 4.803 MB / 298.5 MB, free: 12.02 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001971/0.03331, allocations: 2.015 MB / 300.5 MB, free: 9.941 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003612/0.03692, allocations: 3.375 MB / 303.9 MB, free: 6.598 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002387/0.03931, allocations: 2.459 MB / 306.4 MB, free: 4.133 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006801/0.03999, allocations: 0.543 MB / 306.9 MB, free: 3.59 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008993/0.04089, allocations: 0.6443 MB / 307.6 MB, free: 2.945 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001014/0.0419, allocations: 1.566 MB / 309.1 MB, free: 1.375 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001752/0.04365, allocations: 1.727 MB / 310.9 MB, free: 15.64 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003496/0.04715, allocations: 4.034 MB / 314.9 MB, free: 11.6 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.847e-06/0.04716, allocations: 7.984 kB / 314.9 MB, free: 11.59 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.703e-06/0.04716, allocations: 0 / 314.9 MB, free: 11.59 MB / 298.7 MB Notification: Performance of Transformations before backend: time 0.0001248/0.04729, allocations: 0 / 314.9 MB, free: 11.59 MB / 298.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.005726/0.05301, allocations: 4.794 MB / 319.7 MB, free: 6.73 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.621e-05/0.05305, allocations: 12.03 kB / 319.7 MB, free: 6.719 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001148/0.0542, allocations: 0.8416 MB / 320.5 MB, free: 5.875 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002273/0.05647, allocations: 2.216 MB / 322.8 MB, free: 3.586 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001335/0.0566, allocations: 267.4 kB / 323 MB, free: 3.324 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003252/0.05693, allocations: 360.1 kB / 323.4 MB, free: 2.973 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002861/0.05979, allocations: 2.81 MB / 326.2 MB, free: 20 kB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.787e-05/0.05985, allocations: 7.891 kB / 326.2 MB, free: 12 kB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002139/0.06006, allocations: 148 kB / 326.3 MB, free: 15.87 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001228/0.06018, allocations: 179.1 kB / 326.5 MB, free: 15.69 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001477/0.06166, allocations: 1.032 MB / 327.5 MB, free: 14.65 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01351/0.07517, allocations: 11.62 MB / 339.2 MB, free: 2.691 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00244/0.07761, allocations: 1.397 MB / 340.6 MB, free: 1.324 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001751/0.07936, allocations: 0.8417 MB / 341.4 MB, free: 500 kB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000243/0.0796, allocations: 57.92 kB / 341.5 MB, free: 440 kB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.647e-05/0.07967, allocations: 67.39 kB / 341.5 MB, free: 364 kB / 314.7 MB Notification: Performance of pre-optimization done (n=198): time 7.584e-06/0.07968, allocations: 3.938 kB / 341.5 MB, free: 360 kB / 314.7 MB Notification: Performance of matching and sorting (n=218): time 0.01112/0.0908, allocations: 4.076 MB / 345.6 MB, free: 12.26 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.771e-05/0.09084, allocations: 73.41 kB / 345.7 MB, free: 12.18 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00291/0.09375, allocations: 1.825 MB / 347.5 MB, free: 10.3 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001653/0.09392, allocations: 65.7 kB / 347.6 MB, free: 10.23 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001336/0.09526, allocations: 1.794 MB / 349.4 MB, free: 8.422 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007642/0.09602, allocations: 0.7941 MB / 350.1 MB, free: 7.621 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007597/0.09678, allocations: 446.3 kB / 350.6 MB, free: 7.176 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001541/0.09693, allocations: 484.7 kB / 351.1 MB, free: 6.699 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007283/0.09766, allocations: 284.4 kB / 351.3 MB, free: 6.418 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001202/0.09886, allocations: 0.9651 MB / 352.3 MB, free: 5.195 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00211/0.101, allocations: 1.457 MB / 353.8 MB, free: 3.488 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.1e-05/0.101, allocations: 4 kB / 353.8 MB, free: 3.484 MB / 330.7 MB Notification: Performance of matching and sorting (n=295) (initialization): time 0.004323/0.1053, allocations: 1.9 MB / 355.7 MB, free: 1.555 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.158e-05/0.1053, allocations: 12 kB / 355.7 MB, free: 1.543 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.002e-05/0.1054, allocations: 12 kB / 355.7 MB, free: 1.531 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001506/0.1069, allocations: 0.5919 MB / 356.3 MB, free: 0.9219 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001287/0.1082, allocations: 495.3 kB / 356.8 MB, free: 448 kB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1226/0.2308, allocations: 7.535 MB / 364.3 MB, free: 70.59 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001665/0.2324, allocations: 79.94 kB / 364.4 MB, free: 70.59 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001937/0.2326, allocations: 69.91 kB / 364.4 MB, free: 70.59 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.000852/0.2335, allocations: 302.3 kB / 364.7 MB, free: 70.42 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004367/0.2339, allocations: 337.4 kB / 365.1 MB, free: 70.42 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002332/0.2362, allocations: 1.662 MB / 366.7 MB, free: 70.23 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.394e-05/0.2363, allocations: 25.22 kB / 366.8 MB, free: 70.23 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.315e-05/0.2363, allocations: 10.86 kB / 366.8 MB, free: 70.23 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.539e-05/0.2363, allocations: 13.98 kB / 366.8 MB, free: 70.23 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005266/0.2415, allocations: 4.099 MB / 370.9 MB, free: 69.65 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.753e-06/0.2416, allocations: 9.875 kB / 370.9 MB, free: 69.64 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007902/0.2423, allocations: 347.2 kB / 371.2 MB, free: 69.64 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0014/0.2437, allocations: 0.6395 MB / 371.9 MB, free: 69.58 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001254/0.2439, allocations: 58 kB / 371.9 MB, free: 69.58 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003887/0.2478, allocations: 9.238 MB / 381.2 MB, free: 62.02 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.544e-06/0.2478, allocations: 3 kB / 381.2 MB, free: 62.02 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00257/0.2503, allocations: 2.298 MB / 383.5 MB, free: 61.18 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006448/0.251, allocations: 453.5 kB / 383.9 MB, free: 60.9 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002226/0.2512, allocations: 45.78 kB / 383.9 MB, free: 60.88 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006093/0.2518, allocations: 85.14 kB / 384 MB, free: 60.85 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002486/0.2521, allocations: 169.7 kB / 384.2 MB, free: 60.81 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.775e-05/0.2521, allocations: 48.38 kB / 384.2 MB, free: 60.79 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0007126/0.2528, allocations: 0.9804 MB / 385.2 MB, free: 60.54 MB / 330.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.2528, allocations: 0 / 385.2 MB, free: 60.54 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001701/0.2545, allocations: 0.7837 MB / 386 MB, free: 60.46 MB / 330.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%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003871/0.2549, allocations: 251.5 kB / 386.3 MB, free: 60.34 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.00183/0.2568, allocations: 2.01 MB / 388.3 MB, free: 58.69 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.2568, allocations: 0 / 388.3 MB, free: 58.69 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001188/0.258, allocations: 1.643 MB / 389.9 MB, free: 57.2 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00141/0.2594, allocations: 0.6577 MB / 390.6 MB, free: 56.66 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006002/0.2654, allocations: 6.412 MB / 397 MB, free: 50.38 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006223/0.266, allocations: 1.026 MB / 398 MB, free: 49.34 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0006917/0.2667, allocations: 309.2 kB / 398.3 MB, free: 49.03 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009941/0.2677, allocations: 0.697 MB / 399 MB, free: 48.33 MB / 330.7 MB Notification: Performance of SimCode: time 1.042e-06/0.2677, allocations: 0 / 399 MB, free: 48.33 MB / 330.7 MB Notification: Performance of Templates: time 0.05227/0.3199, allocations: 43.48 MB / 442.5 MB, free: 5.469 MB / 330.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=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.7633194252848625]