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.001411/0.001411, allocations: 79.59 kB / 21.18 MB, free: 3.387 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.001205/0.001205, allocations: 165 kB / 24.56 MB, free: 16 kB / 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 1.063/1.063, allocations: 177.1 MB / 205 MB, free: 5.297 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.512e-06/1.512e-06, allocations: 0 / 273 MB, free: 1.398 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.639e-05/2.79e-05, allocations: 4.984 kB / 273 MB, free: 1.395 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer): time 0.01088/0.01091, allocations: 12.81 MB / 285.8 MB, free: 4.531 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.007619/0.01853, allocations: 4.211 MB / 290 MB, free: 316 kB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001719/0.02025, allocations: 99.31 kB / 290.1 MB, free: 216 kB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.1387/0.159, allocations: 0.962 MB / 291.1 MB, free: 15.48 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004077/0.163, allocations: 1.293 MB / 292.4 MB, free: 15.27 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001719/0.1648, allocations: 0.5338 MB / 292.9 MB, free: 15.26 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.006693/0.1714, allocations: 4.812 MB / 297.7 MB, free: 13.99 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003308/0.1748, allocations: 2.022 MB / 299.7 MB, free: 13.45 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007708/0.1825, allocations: 3.372 MB / 303.1 MB, free: 12.1 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004964/0.1874, allocations: 2.438 MB / 305.5 MB, free: 11.36 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001525/0.1889, allocations: 0.5446 MB / 306.1 MB, free: 11.36 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001872/0.1908, allocations: 0.6478 MB / 306.7 MB, free: 11.31 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009879/0.1918, allocations: 1.565 MB / 308.3 MB, free: 10.21 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002547/0.1944, allocations: 1.728 MB / 310 MB, free: 9.293 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003889/0.1982, allocations: 4.033 MB / 314.1 MB, free: 6.141 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.083e-06/0.1983, allocations: 0 / 314.1 MB, free: 6.141 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.264e-06/0.1983, allocations: 4 kB / 314.1 MB, free: 6.137 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.000168/0.1984, allocations: 3.781 kB / 314.1 MB, free: 6.137 MB / 266.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.006029/0.2045, allocations: 4.928 MB / 319 MB, free: 1.164 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.712e-05/0.2045, allocations: 12.03 kB / 319 MB, free: 1.152 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001502/0.206, allocations: 0.8388 MB / 319.8 MB, free: 324 kB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003367/0.2094, allocations: 2.374 MB / 322.2 MB, free: 14 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001871/0.2096, allocations: 266.3 kB / 322.5 MB, free: 13.74 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004474/0.21, allocations: 359.5 kB / 322.8 MB, free: 13.39 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005073/0.2151, allocations: 3.042 MB / 325.9 MB, free: 10.23 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.525e-05/0.2151, allocations: 13.08 kB / 325.9 MB, free: 10.21 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002795/0.2154, allocations: 146.2 kB / 326 MB, free: 10.07 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001708/0.2156, allocations: 183 kB / 326.2 MB, free: 9.895 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00337/0.219, allocations: 1.318 MB / 327.5 MB, free: 8.582 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01572/0.2347, allocations: 11.77 MB / 339.3 MB, free: 12.84 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002165/0.2369, allocations: 1.531 MB / 340.8 MB, free: 11.35 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001617/0.2385, allocations: 0.9514 MB / 341.8 MB, free: 10.41 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001922/0.2387, allocations: 61.97 kB / 341.8 MB, free: 10.35 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.558e-05/0.2387, allocations: 63.39 kB / 341.9 MB, free: 10.28 MB / 298.7 MB Notification: Performance of pre-optimization done (n=198): time 4.308e-06/0.2387, allocations: 0 / 341.9 MB, free: 10.28 MB / 298.7 MB Notification: Performance of matching and sorting (n=218): time 0.01002/0.2487, allocations: 5.085 MB / 347 MB, free: 5.223 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.853e-05/0.2488, allocations: 85.33 kB / 347.1 MB, free: 5.125 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002313/0.2511, allocations: 1.88 MB / 349 MB, free: 3.195 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000111/0.2512, allocations: 61.7 kB / 349 MB, free: 3.129 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001083/0.2523, allocations: 1.782 MB / 350.8 MB, free: 1.336 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005311/0.2528, allocations: 0.7791 MB / 351.6 MB, free: 0.5625 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005778/0.2534, allocations: 442.5 kB / 352 MB, free: 124 kB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.000371/0.2538, allocations: 480.8 kB / 352.5 MB, free: 15.65 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007994/0.2546, allocations: 376.4 kB / 352.8 MB, free: 15.28 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001183/0.2558, allocations: 1.052 MB / 353.9 MB, free: 13.98 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002124/0.2579, allocations: 1.616 MB / 355.5 MB, free: 12.17 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.016e-05/0.2579, allocations: 4 kB / 355.5 MB, free: 12.16 MB / 314.7 MB Notification: Performance of matching and sorting (n=295) (initialization): time 0.003628/0.2615, allocations: 2.107 MB / 357.6 MB, free: 10.13 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.514e-05/0.2615, allocations: 11.94 kB / 357.6 MB, free: 10.12 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.021e-05/0.2616, allocations: 20 kB / 357.7 MB, free: 10.1 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001823/0.2634, allocations: 0.6044 MB / 358.3 MB, free: 9.48 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00145/0.2648, allocations: 0.5126 MB / 358.8 MB, free: 8.996 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006073/0.2709, allocations: 7.81 MB / 366.6 MB, free: 0.8633 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001365/0.2723, allocations: 107.9 kB / 366.7 MB, free: 0.7578 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001145/0.2724, allocations: 80 kB / 366.8 MB, free: 0.6797 MB / 314.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.000814/0.2732, allocations: 298.9 kB / 367.1 MB, free: 412 kB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004034/0.2736, allocations: 338.3 kB / 367.4 MB, free: 72 kB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003082/0.2767, allocations: 1.835 MB / 369.2 MB, free: 14.23 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.648e-05/0.2767, allocations: 24 kB / 369.2 MB, free: 14.21 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.097e-05/0.2767, allocations: 7.938 kB / 369.3 MB, free: 14.2 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.654e-05/0.2767, allocations: 11.91 kB / 369.3 MB, free: 14.19 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01763/0.2944, allocations: 4.992 MB / 374.3 MB, free: 9.176 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.057e-06/0.2944, allocations: 4 kB / 374.3 MB, free: 9.172 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004178/0.2986, allocations: 379.8 kB / 374.6 MB, free: 8.801 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002012/0.3006, allocations: 0.66 MB / 375.3 MB, free: 8.121 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001464/0.3007, allocations: 51.98 kB / 375.3 MB, free: 8.07 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01652/0.3172, allocations: 9.494 MB / 384.8 MB, free: 14.1 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.298e-06/0.3172, allocations: 7.875 kB / 384.8 MB, free: 14.09 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007588/0.3248, allocations: 2.546 MB / 387.4 MB, free: 11.46 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001123/0.3259, allocations: 498.1 kB / 387.9 MB, free: 10.97 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002689/0.3262, allocations: 51.98 kB / 387.9 MB, free: 10.92 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000851/0.3271, allocations: 103.9 kB / 388 MB, free: 10.82 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003823/0.3275, allocations: 189.6 kB / 388.2 MB, free: 10.63 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.003333/0.3308, allocations: 71.86 kB / 388.3 MB, free: 10.56 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.001587/0.3324, allocations: 1.071 MB / 389.4 MB, free: 9.473 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.3324, allocations: 0 / 389.4 MB, free: 9.473 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.003281/0.3357, allocations: 0.789 MB / 390.1 MB, free: 8.684 MB / 346.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.0005773/0.3362, allocations: 244.4 kB / 390.4 MB, free: 8.449 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.00321/0.3394, allocations: 2.216 MB / 392.6 MB, free: 6.172 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 7.444e-06/0.3394, allocations: 8 kB / 392.6 MB, free: 6.164 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001847/0.3413, allocations: 1.736 MB / 394.3 MB, free: 4.355 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001931/0.3432, allocations: 0.6579 MB / 395 MB, free: 3.715 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009615/0.3528, allocations: 6.464 MB / 401.5 MB, free: 13.16 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009292/0.3538, allocations: 1.026 MB / 402.5 MB, free: 12.12 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.001184/0.355, allocations: 0.5124 MB / 403 MB, free: 11.6 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004592/0.3554, allocations: 164.5 kB / 403.2 MB, free: 11.44 MB / 362.7 MB Notification: Performance of SimCode: time 2.295e-06/0.3554, allocations: 0 / 403.2 MB, free: 11.44 MB / 362.7 MB Notification: Performance of Templates: time 0.159/0.5144, allocations: 41.52 MB / 444.7 MB, free: 114.6 MB / 378.7 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=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: 5.120164956897497]