Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001056/0.001056, allocations: 95.5 kB / 21.2 MB, free: 3.371 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001733/0.001733, allocations: 160.5 kB / 24.55 MB, free: 16 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.002/1.002, allocations: 177 MB / 204.8 MB, free: 5.594 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.754e-06/1.754e-06, allocations: 0 / 272.9 MB, free: 1.449 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.989e-05/3.164e-05, allocations: 2.312 kB / 272.9 MB, free: 1.445 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer): time 0.01083/0.01086, allocations: 12.84 MB / 285.8 MB, free: 4.547 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.007001/0.01787, allocations: 4.222 MB / 290 MB, free: 320 kB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001362/0.01923, allocations: 107.3 kB / 290.1 MB, free: 212 kB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.1268/0.146, allocations: 0.9616 MB / 291.1 MB, free: 14.84 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004632/0.1507, allocations: 1.314 MB / 292.4 MB, free: 14.63 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001746/0.1524, allocations: 0.5356 MB / 292.9 MB, free: 14.62 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.006067/0.1585, allocations: 4.848 MB / 297.8 MB, free: 13.34 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003255/0.1617, allocations: 2.022 MB / 299.8 MB, free: 13.07 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006361/0.1681, allocations: 3.4 MB / 303.2 MB, free: 11.7 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004105/0.1722, allocations: 2.449 MB / 305.6 MB, free: 10.94 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001451/0.1736, allocations: 0.5443 MB / 306.2 MB, free: 10.94 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001669/0.1753, allocations: 0.6453 MB / 306.8 MB, free: 10.9 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00114/0.1765, allocations: 1.577 MB / 308.4 MB, free: 9.785 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002198/0.1786, allocations: 1.731 MB / 310.1 MB, free: 8.871 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003929/0.1826, allocations: 4.052 MB / 314.2 MB, free: 5.664 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.1826, allocations: 0 / 314.2 MB, free: 5.664 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.144e-06/0.1826, allocations: 4 kB / 314.2 MB, free: 5.66 MB / 266.7 MB Notification: Performance of Transformations before backend: time 7.574e-05/0.1827, allocations: 0 / 314.2 MB, free: 5.66 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: 940 * Number of variables: 940 Notification: Performance of Generate backend data structure: time 0.005669/0.1883, allocations: 4.951 MB / 319.1 MB, free: 0.6758 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.278e-05/0.1884, allocations: 15.98 kB / 319.2 MB, free: 0.6602 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001388/0.1898, allocations: 0.8421 MB / 320 MB, free: 15.82 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003184/0.1929, allocations: 2.387 MB / 322.4 MB, free: 13.49 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001848/0.1931, allocations: 267.1 kB / 322.6 MB, free: 13.23 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004395/0.1936, allocations: 359.3 kB / 323 MB, free: 12.89 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004984/0.1986, allocations: 3.048 MB / 326 MB, free: 9.711 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.064e-05/0.1986, allocations: 10.77 kB / 326.1 MB, free: 9.703 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002664/0.1989, allocations: 147.1 kB / 326.2 MB, free: 9.562 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001768/0.1991, allocations: 195.1 kB / 326.4 MB, free: 9.371 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003285/0.2024, allocations: 1.328 MB / 327.7 MB, free: 8.051 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01616/0.2185, allocations: 11.84 MB / 339.6 MB, free: 12.25 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001831/0.2203, allocations: 1.521 MB / 341.1 MB, free: 10.78 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001291/0.2216, allocations: 0.9504 MB / 342 MB, free: 9.832 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001909/0.2218, allocations: 65.91 kB / 342.1 MB, free: 9.766 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.133e-05/0.2219, allocations: 59.39 kB / 342.1 MB, free: 9.699 MB / 298.7 MB Notification: Performance of pre-optimization done (n=198): time 4.128e-06/0.2219, allocations: 0 / 342.1 MB, free: 9.699 MB / 298.7 MB Notification: Performance of matching and sorting (n=218): time 0.008866/0.2307, allocations: 5.104 MB / 347.2 MB, free: 4.621 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.268e-05/0.2308, allocations: 77.41 kB / 347.3 MB, free: 4.531 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002201/0.233, allocations: 1.889 MB / 349.2 MB, free: 2.602 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 0.00019/0.2332, allocations: 61.7 kB / 349.3 MB, free: 2.535 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009749/0.2341, allocations: 1.788 MB / 351.1 MB, free: 0.7383 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000516/0.2347, allocations: 0.7841 MB / 351.8 MB, free: 15.96 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004668/0.2351, allocations: 442.5 kB / 352.3 MB, free: 15.52 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001041/0.2352, allocations: 476.8 kB / 352.7 MB, free: 15.05 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006716/0.2359, allocations: 376.4 kB / 353.1 MB, free: 14.68 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000975/0.2369, allocations: 1.054 MB / 354.2 MB, free: 13.38 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001785/0.2387, allocations: 1.618 MB / 355.8 MB, free: 11.57 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.162e-05/0.2387, allocations: 4 kB / 355.8 MB, free: 11.57 MB / 314.7 MB Notification: Performance of matching and sorting (n=295) (initialization): time 0.003305/0.242, allocations: 2.111 MB / 357.9 MB, free: 9.535 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.641e-05/0.242, allocations: 8 kB / 357.9 MB, free: 9.527 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.942e-05/0.242, allocations: 12 kB / 357.9 MB, free: 9.516 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001482/0.2435, allocations: 0.6085 MB / 358.5 MB, free: 8.891 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001114/0.2446, allocations: 0.5057 MB / 359 MB, free: 8.41 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005305/0.2499, allocations: 7.803 MB / 366.8 MB, free: 284 kB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001337/0.2513, allocations: 103.9 kB / 366.9 MB, free: 180 kB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001454/0.2514, allocations: 87.98 kB / 367 MB, free: 92 kB / 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.0009091/0.2523, allocations: 301.6 kB / 367.3 MB, free: 15.81 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004438/0.2528, allocations: 341.3 kB / 367.7 MB, free: 15.48 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002591/0.2553, allocations: 1.848 MB / 369.5 MB, free: 13.62 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.199e-05/0.2554, allocations: 20 kB / 369.5 MB, free: 13.6 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.107e-05/0.2554, allocations: 8 kB / 369.5 MB, free: 13.59 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.25e-05/0.2554, allocations: 7.969 kB / 369.5 MB, free: 13.59 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006928/0.2623, allocations: 5.005 MB / 374.5 MB, free: 8.566 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.041e-05/0.2623, allocations: 4 kB / 374.5 MB, free: 8.562 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009072/0.2632, allocations: 380.8 kB / 374.9 MB, free: 8.199 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001593/0.2648, allocations: 0.6629 MB / 375.6 MB, free: 7.52 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001419/0.265, allocations: 59.97 kB / 375.6 MB, free: 7.461 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006076/0.271, allocations: 9.49 MB / 385.1 MB, free: 13.49 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.271, allocations: 0 / 385.1 MB, free: 13.49 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00366/0.2747, allocations: 2.542 MB / 387.7 MB, free: 10.86 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008609/0.2756, allocations: 0.4903 MB / 388.2 MB, free: 10.37 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001927/0.2758, allocations: 52.03 kB / 388.2 MB, free: 10.32 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006155/0.2764, allocations: 107.9 kB / 388.3 MB, free: 10.21 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003175/0.2767, allocations: 193.5 kB / 388.5 MB, free: 10.02 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.655e-05/0.2768, allocations: 59.98 kB / 388.6 MB, free: 9.965 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.001244/0.278, allocations: 1.079 MB / 389.6 MB, free: 8.867 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.278, allocations: 0 / 389.6 MB, free: 8.867 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001761/0.2798, allocations: 0.7929 MB / 390.4 MB, free: 8.074 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.0004678/0.2802, allocations: 236 kB / 390.7 MB, free: 7.844 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.002777/0.283, allocations: 2.213 MB / 392.9 MB, free: 5.57 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 6.262e-06/0.283, allocations: 4 kB / 392.9 MB, free: 5.566 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001838/0.2849, allocations: 1.747 MB / 394.6 MB, free: 3.746 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001867/0.2867, allocations: 0.6647 MB / 395.3 MB, free: 3.109 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00953/0.2963, allocations: 6.485 MB / 401.8 MB, free: 12.54 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008783/0.2971, allocations: 1.034 MB / 402.8 MB, free: 11.48 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.001267/0.2984, allocations: 0.5163 MB / 403.3 MB, free: 10.96 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003896/0.2988, allocations: 164.5 kB / 403.5 MB, free: 10.8 MB / 362.7 MB Notification: Performance of SimCode: time 1.993e-06/0.2988, allocations: 0 / 403.5 MB, free: 10.8 MB / 362.7 MB Notification: Performance of Templates: time 0.1628/0.4616, allocations: 41.51 MB / 445 MB, free: 113.9 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.sim & ./Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_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.760399093851447]