Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.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.001001/0.001001, allocations: 71.77 kB / 21.69 MB, free: 2.859 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.001182/0.001182, allocations: 160.5 kB / 24.99 MB, free: 9.32 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.971/0.971, allocations: 177.1 MB / 205.3 MB, free: 5.59 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.Transformers.IMC_Transformer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=25000,variableFilter="time|// aimc.i_0_s|aimc.idq_rr.[0-9,]+.|aimc.idq_sr.[0-9,]+.|aimc.is.[0-9,]+.|loadInertia.phi|loadInertia.w|transformer.l2sigma.inductor.[0-9,]+..i",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer") translateModel(Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=25000,variableFilter="time|// aimc.i_0_s|aimc.idq_rr.[0-9,]+.|aimc.idq_sr.[0-9,]+.|aimc.is.[0-9,]+.|loadInertia.phi|loadInertia.w|transformer.l2sigma.inductor.[0-9,]+..i",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.573e-06/1.573e-06, allocations: 0 / 273.1 MB, free: 1.754 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.386e-05/1.543e-05, allocations: 6.312 kB / 273.1 MB, free: 1.746 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer): time 0.0134/0.01341, allocations: 12.79 MB / 285.9 MB, free: 4.898 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.005078/0.01849, allocations: 4.203 MB / 290.1 MB, free: 0.6836 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007437/0.01923, allocations: 103.3 kB / 290.2 MB, free: 0.582 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.119/0.1383, allocations: 0.9585 MB / 291.2 MB, free: 15.34 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003969/0.1422, allocations: 1.293 MB / 292.5 MB, free: 15.18 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009816/0.1432, allocations: 0.5368 MB / 293 MB, free: 15.17 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.003874/0.1471, allocations: 4.801 MB / 297.8 MB, free: 13.89 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002418/0.1495, allocations: 2.027 MB / 299.8 MB, free: 13.46 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00453/0.154, allocations: 3.221 MB / 303.1 MB, free: 12.13 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002847/0.1569, allocations: 2.492 MB / 305.5 MB, free: 11.41 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006317/0.1575, allocations: 0.5506 MB / 306.1 MB, free: 11.41 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009109/0.1584, allocations: 0.6548 MB / 306.7 MB, free: 11.39 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009948/0.1594, allocations: 1.609 MB / 308.4 MB, free: 10.46 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001442/0.1609, allocations: 1.741 MB / 310.1 MB, free: 9.539 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003183/0.1641, allocations: 4.076 MB / 314.2 MB, free: 6.465 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.1641, allocations: 0 / 314.2 MB, free: 6.465 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.182e-06/0.1641, allocations: 0 / 314.2 MB, free: 6.465 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.336e-05/0.1641, allocations: 0 / 314.2 MB, free: 6.465 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.005503/0.1696, allocations: 4.993 MB / 319.2 MB, free: 1.434 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.807e-05/0.1696, allocations: 8.031 kB / 319.2 MB, free: 1.426 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00142/0.1711, allocations: 0.8403 MB / 320 MB, free: 0.5898 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003156/0.1742, allocations: 2.38 MB / 322.4 MB, free: 14.26 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001942/0.1744, allocations: 263.3 kB / 322.7 MB, free: 14.01 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004628/0.1749, allocations: 363.8 kB / 323 MB, free: 13.66 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004152/0.179, allocations: 3.047 MB / 326.1 MB, free: 10.48 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.9e-05/0.1791, allocations: 11.33 kB / 326.1 MB, free: 10.47 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002213/0.1793, allocations: 147.9 kB / 326.2 MB, free: 10.33 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001262/0.1794, allocations: 183 kB / 326.4 MB, free: 10.15 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002403/0.1818, allocations: 1.326 MB / 327.7 MB, free: 8.832 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01154/0.1934, allocations: 11.87 MB / 339.6 MB, free: 12.98 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001729/0.1951, allocations: 1.522 MB / 341.1 MB, free: 11.51 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001574/0.1967, allocations: 0.9603 MB / 342.1 MB, free: 10.56 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002313/0.1969, allocations: 73.97 kB / 342.1 MB, free: 10.48 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.888e-05/0.197, allocations: 55.39 kB / 342.2 MB, free: 10.42 MB / 298.7 MB Notification: Performance of pre-optimization done (n=198): time 6.142e-06/0.197, allocations: 0 / 342.2 MB, free: 10.42 MB / 298.7 MB Notification: Performance of matching and sorting (n=218): time 0.008954/0.2059, allocations: 5.077 MB / 347.3 MB, free: 5.371 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.88e-05/0.206, allocations: 77.34 kB / 347.3 MB, free: 5.281 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001796/0.2077, allocations: 1.892 MB / 349.2 MB, free: 3.348 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 9.528e-05/0.2078, allocations: 61.7 kB / 349.3 MB, free: 3.281 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009833/0.2088, allocations: 1.78 MB / 351.1 MB, free: 1.492 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004186/0.2092, allocations: 0.7861 MB / 351.9 MB, free: 0.7109 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004491/0.2097, allocations: 434.6 kB / 352.3 MB, free: 284 kB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001046/0.2098, allocations: 484.8 kB / 352.8 MB, free: 15.8 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006512/0.2104, allocations: 380.4 kB / 353.1 MB, free: 15.43 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009586/0.2114, allocations: 1.046 MB / 354.2 MB, free: 14.13 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001705/0.2131, allocations: 1.623 MB / 355.8 MB, free: 12.32 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.071e-06/0.2131, allocations: 8 kB / 355.8 MB, free: 12.31 MB / 314.7 MB Notification: Performance of matching and sorting (n=295) (initialization): time 0.003019/0.2161, allocations: 2.106 MB / 357.9 MB, free: 10.28 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.905e-05/0.2162, allocations: 8.469 kB / 357.9 MB, free: 10.27 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.631e-05/0.2162, allocations: 15.98 kB / 357.9 MB, free: 10.25 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001423/0.2176, allocations: 0.6104 MB / 358.6 MB, free: 9.629 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001097/0.2187, allocations: 0.5224 MB / 359.1 MB, free: 9.133 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005285/0.224, allocations: 7.806 MB / 366.9 MB, free: 1.008 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009108/0.2249, allocations: 115.9 kB / 367 MB, free: 0.8945 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000114/0.225, allocations: 84 kB / 367.1 MB, free: 0.8125 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.0007491/0.2258, allocations: 302.9 kB / 367.4 MB, free: 0.5352 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003681/0.2261, allocations: 342.3 kB / 367.7 MB, free: 204 kB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002798/0.2289, allocations: 1.861 MB / 369.6 MB, free: 14.46 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.124e-05/0.2289, allocations: 23.94 kB / 369.6 MB, free: 14.44 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.298e-06/0.2289, allocations: 8 kB / 369.6 MB, free: 14.43 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.279e-05/0.229, allocations: 11.95 kB / 369.6 MB, free: 14.42 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006652/0.2356, allocations: 5.025 MB / 374.6 MB, free: 9.379 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.472e-06/0.2356, allocations: 0 / 374.6 MB, free: 9.379 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008871/0.2365, allocations: 380.7 kB / 375 MB, free: 9.023 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001552/0.2381, allocations: 0.6725 MB / 375.7 MB, free: 8.336 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001109/0.2382, allocations: 55.98 kB / 375.7 MB, free: 8.281 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005928/0.2441, allocations: 9.58 MB / 385.3 MB, free: 14.25 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.466e-06/0.2441, allocations: 4 kB / 385.3 MB, free: 14.25 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003705/0.2478, allocations: 2.546 MB / 387.9 MB, free: 11.64 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000936/0.2487, allocations: 0.4982 MB / 388.4 MB, free: 11.14 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002176/0.249, allocations: 51.98 kB / 388.4 MB, free: 11.09 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006718/0.2496, allocations: 115.9 kB / 388.5 MB, free: 10.98 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003358/0.25, allocations: 188.9 kB / 388.7 MB, free: 10.8 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.725e-05/0.2501, allocations: 63.98 kB / 388.8 MB, free: 10.73 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.001256/0.2513, allocations: 1.079 MB / 389.8 MB, free: 9.637 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.91e-07/0.2513, allocations: 4 kB / 389.9 MB, free: 9.633 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.00196/0.2533, allocations: 0.7929 MB / 390.6 MB, free: 8.84 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.0004996/0.2538, allocations: 246.4 kB / 390.9 MB, free: 8.625 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.003044/0.2568, allocations: 2.224 MB / 393.1 MB, free: 6.387 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 5.42e-06/0.2568, allocations: 4 kB / 393.1 MB, free: 6.383 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001778/0.2586, allocations: 1.771 MB / 394.9 MB, free: 4.535 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001608/0.2602, allocations: 0.6634 MB / 395.5 MB, free: 3.895 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008909/0.2691, allocations: 6.47 MB / 402 MB, free: 13.33 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008308/0.2699, allocations: 1.026 MB / 403 MB, free: 12.28 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.001082/0.271, allocations: 0.5085 MB / 403.6 MB, free: 11.77 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003804/0.2714, allocations: 168.5 kB / 403.7 MB, free: 11.6 MB / 362.7 MB Notification: Performance of SimCode: time 1.773e-06/0.2714, allocations: 0 / 403.7 MB, free: 11.6 MB / 362.7 MB Notification: Performance of Templates: time 0.1628/0.4342, allocations: 40.48 MB / 444.2 MB, free: 120.1 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.sim & ./Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/Transformers/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.889465659158304]