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.001077/0.001077, 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.0009989/0.0009989, allocations: 161.4 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.019/1.019, allocations: 177.1 MB / 205 MB, free: 5.609 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 3.096e-06/3.096e-06, allocations: 4 kB / 273 MB, free: 1.512 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.139e-05/2.449e-05, allocations: 2.312 kB / 273 MB, free: 1.508 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer): time 0.01072/0.01074, allocations: 12.8 MB / 285.8 MB, free: 4.652 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.005368/0.01611, allocations: 4.207 MB / 290 MB, free: 444 kB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007597/0.01687, allocations: 103.3 kB / 290.1 MB, free: 340 kB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.1465/0.1633, allocations: 0.9529 MB / 291.1 MB, free: 15.54 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005499/0.1688, allocations: 1.295 MB / 292.4 MB, free: 15.34 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001274/0.1701, allocations: 0.5304 MB / 292.9 MB, free: 15.34 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.004445/0.1745, allocations: 4.812 MB / 297.7 MB, free: 14.06 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002211/0.1768, allocations: 2.021 MB / 299.7 MB, free: 13.47 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00324/0.18, allocations: 3.229 MB / 303 MB, free: 12.13 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002239/0.1822, allocations: 2.483 MB / 305.4 MB, free: 11.42 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005022/0.1827, allocations: 0.5545 MB / 306 MB, free: 11.42 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008428/0.1836, allocations: 0.6546 MB / 306.6 MB, free: 11.4 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007858/0.1844, allocations: 1.609 MB / 308.3 MB, free: 10.3 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001108/0.1855, allocations: 1.742 MB / 310 MB, free: 9.375 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002635/0.1881, allocations: 4.08 MB / 314.1 MB, free: 6.227 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.1881, allocations: 0 / 314.1 MB, free: 6.227 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.654e-06/0.1881, allocations: 0 / 314.1 MB, free: 6.227 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.015e-05/0.1881, allocations: 0.875 kB / 314.1 MB, free: 6.227 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.004343/0.1925, allocations: 4.992 MB / 319.1 MB, free: 1.195 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.357e-05/0.1925, allocations: 12.03 kB / 319.1 MB, free: 1.184 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009767/0.1935, allocations: 0.8326 MB / 319.9 MB, free: 360 kB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002554/0.1961, allocations: 2.389 MB / 322.3 MB, free: 14.02 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001479/0.1962, allocations: 266.3 kB / 322.6 MB, free: 13.76 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003882/0.1966, allocations: 355.2 kB / 322.9 MB, free: 13.42 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003804/0.2004, allocations: 3.053 MB / 326 MB, free: 10.24 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.651e-05/0.2004, allocations: 3.953 kB / 326 MB, free: 10.23 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002141/0.2007, allocations: 146.9 kB / 326.1 MB, free: 10.09 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001245/0.2008, allocations: 183 kB / 326.3 MB, free: 9.914 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002401/0.2032, allocations: 1.328 MB / 327.6 MB, free: 8.598 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01188/0.2151, allocations: 11.87 MB / 339.5 MB, free: 12.75 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001746/0.2168, allocations: 1.517 MB / 341 MB, free: 11.28 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001326/0.2181, allocations: 0.9566 MB / 342 MB, free: 10.33 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002289/0.2184, allocations: 61.97 kB / 342 MB, free: 10.27 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.892e-05/0.2184, allocations: 63.39 kB / 342.1 MB, free: 10.2 MB / 298.7 MB Notification: Performance of pre-optimization done (n=198): time 3.126e-06/0.2184, allocations: 0 / 342.1 MB, free: 10.2 MB / 298.7 MB Notification: Performance of matching and sorting (n=218): time 0.007842/0.2262, allocations: 5.068 MB / 347.1 MB, free: 5.16 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.13e-05/0.2263, allocations: 85.28 kB / 347.2 MB, free: 5.062 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001797/0.2281, allocations: 1.892 MB / 349.1 MB, free: 3.129 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 9.525e-05/0.2282, allocations: 65.7 kB / 349.2 MB, free: 3.059 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001089/0.2293, allocations: 1.775 MB / 351 MB, free: 1.27 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000452/0.2297, allocations: 0.7896 MB / 351.8 MB, free: 500 kB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004633/0.2302, allocations: 434.6 kB / 352.2 MB, free: 56 kB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001135/0.2303, allocations: 480.8 kB / 352.6 MB, free: 15.58 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00064/0.2309, allocations: 379.8 kB / 353 MB, free: 15.21 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009772/0.2319, allocations: 1.048 MB / 354.1 MB, free: 13.91 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001716/0.2336, allocations: 1.624 MB / 355.7 MB, free: 12.09 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.873e-06/0.2336, allocations: 7.469 kB / 355.7 MB, free: 12.09 MB / 314.7 MB Notification: Performance of matching and sorting (n=295) (initialization): time 0.002871/0.2365, allocations: 2.11 MB / 357.8 MB, free: 10.05 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.415e-05/0.2365, allocations: 15.38 kB / 357.8 MB, free: 10.04 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.572e-05/0.2366, allocations: 12.47 kB / 357.8 MB, free: 10.03 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001643/0.2382, allocations: 0.6096 MB / 358.4 MB, free: 9.398 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001242/0.2394, allocations: 0.529 MB / 359 MB, free: 8.898 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005283/0.2447, allocations: 7.792 MB / 366.8 MB, free: 0.7852 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008337/0.2456, allocations: 115.9 kB / 366.9 MB, free: 0.6719 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001219/0.2457, allocations: 83.98 kB / 367 MB, free: 0.5898 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.0007762/0.2465, allocations: 304.3 kB / 367.3 MB, free: 320 kB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003686/0.2468, allocations: 342.5 kB / 367.6 MB, free: 15.97 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002456/0.2493, allocations: 1.844 MB / 369.4 MB, free: 14.12 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.345e-05/0.2493, allocations: 23.94 kB / 369.5 MB, free: 14.1 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.586e-06/0.2493, allocations: 8 kB / 369.5 MB, free: 14.09 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.228e-05/0.2493, allocations: 7.969 kB / 369.5 MB, free: 14.09 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006806/0.2561, allocations: 5.014 MB / 374.5 MB, free: 9.051 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.236e-06/0.2561, allocations: 4 kB / 374.5 MB, free: 9.047 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008275/0.257, allocations: 381.1 kB / 374.9 MB, free: 8.691 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001491/0.2584, allocations: 0.6758 MB / 375.5 MB, free: 8 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001004/0.2585, allocations: 59.97 kB / 375.6 MB, free: 7.941 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005891/0.2644, allocations: 9.577 MB / 385.2 MB, free: 13.91 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.814e-06/0.2644, allocations: 0 / 385.2 MB, free: 13.91 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003536/0.268, allocations: 2.553 MB / 387.7 MB, free: 11.27 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007816/0.2688, allocations: 0.4982 MB / 388.2 MB, free: 10.77 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000177/0.2689, allocations: 47.98 kB / 388.3 MB, free: 10.72 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006146/0.2695, allocations: 111.9 kB / 388.4 MB, free: 10.61 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002757/0.2698, allocations: 197.5 kB / 388.6 MB, free: 10.42 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.722e-05/0.2699, allocations: 59.98 kB / 388.6 MB, free: 10.36 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.00119/0.2711, allocations: 1.079 MB / 389.7 MB, free: 9.262 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.2711, allocations: 4 kB / 389.7 MB, free: 9.258 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001827/0.2729, allocations: 0.7929 MB / 390.5 MB, free: 8.465 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%), (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.0004973/0.2734, allocations: 255.3 kB / 390.8 MB, free: 8.223 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.002684/0.2761, allocations: 2.214 MB / 393 MB, free: 5.945 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.317e-06/0.2761, allocations: 0 / 393 MB, free: 5.945 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001813/0.2779, allocations: 1.785 MB / 394.8 MB, free: 4.086 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001556/0.2795, allocations: 0.6592 MB / 395.4 MB, free: 3.445 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007629/0.2871, allocations: 6.47 MB / 401.9 MB, free: 12.88 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007719/0.2879, allocations: 1.026 MB / 402.9 MB, free: 11.84 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0009482/0.2888, allocations: 0.5046 MB / 403.4 MB, free: 11.32 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003772/0.2892, allocations: 168.5 kB / 403.6 MB, free: 11.16 MB / 362.7 MB Notification: Performance of SimCode: time 9.52e-07/0.2892, allocations: 4 kB / 403.6 MB, free: 11.16 MB / 362.7 MB Notification: Performance of Templates: time 0.1855/0.4748, allocations: 40.48 MB / 444.1 MB, free: 114.7 MB / 378.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: 5.155301537830383]