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.001451/0.001451, allocations: 79.69 kB / 21.7 MB, free: 2.848 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.001204/0.001204, allocations: 165 kB / 24.99 MB, free: 8.219 MB / 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.016/1.016, allocations: 177 MB / 205.2 MB, free: 5.574 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.503e-06/1.503e-06, allocations: 0 / 273 MB, free: 1.719 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.56e-05/2.71e-05, allocations: 2.312 kB / 273 MB, free: 1.715 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer): time 0.01164/0.01167, allocations: 12.78 MB / 285.8 MB, free: 4.875 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.007416/0.01909, allocations: 4.218 MB / 290 MB, free: 0.6445 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003028/0.02211, allocations: 103.3 kB / 290.1 MB, free: 0.543 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.1413/0.1634, allocations: 0.9594 MB / 291.1 MB, free: 15.31 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004641/0.1681, allocations: 1.306 MB / 292.4 MB, free: 15.14 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001735/0.1698, allocations: 0.5397 MB / 292.9 MB, free: 15.12 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.005882/0.1757, allocations: 4.854 MB / 297.8 MB, free: 13.85 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002507/0.1782, allocations: 2.017 MB / 299.8 MB, free: 13.38 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00689/0.1851, allocations: 3.242 MB / 303 MB, free: 12.03 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004794/0.1899, allocations: 2.504 MB / 305.5 MB, free: 11.31 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.00105/0.1909, allocations: 0.5565 MB / 306.1 MB, free: 11.3 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001464/0.1924, allocations: 0.6492 MB / 306.7 MB, free: 11.29 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009739/0.1934, allocations: 1.615 MB / 308.4 MB, free: 10.31 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002062/0.1954, allocations: 1.753 MB / 310.1 MB, free: 9.375 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003861/0.1993, allocations: 4.097 MB / 314.2 MB, free: 6.207 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.751e-06/0.1993, allocations: 0.5938 kB / 314.2 MB, free: 6.207 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.132e-06/0.1993, allocations: 0 / 314.2 MB, free: 6.207 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001022/0.1994, allocations: 2.688 kB / 314.2 MB, free: 6.207 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.004855/0.2043, allocations: 4.998 MB / 319.2 MB, free: 1.172 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.85e-05/0.2043, allocations: 11.98 kB / 319.2 MB, free: 1.16 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001139/0.2054, allocations: 0.8444 MB / 320.1 MB, free: 324 kB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002836/0.2083, allocations: 2.394 MB / 322.5 MB, free: 13.98 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001439/0.2084, allocations: 270.7 kB / 322.7 MB, free: 13.71 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003454/0.2088, allocations: 364.1 kB / 323.1 MB, free: 13.37 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004506/0.2133, allocations: 3.052 MB / 326.1 MB, free: 10.19 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.382e-05/0.2133, allocations: 7.141 kB / 326.1 MB, free: 10.18 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000232/0.2136, allocations: 151.2 kB / 326.3 MB, free: 10.04 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001527/0.2137, allocations: 195.1 kB / 326.5 MB, free: 9.848 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002709/0.2164, allocations: 1.331 MB / 327.8 MB, free: 8.523 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01435/0.2308, allocations: 11.93 MB / 339.7 MB, free: 12.63 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002373/0.2331, allocations: 1.509 MB / 341.2 MB, free: 11.16 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001655/0.2348, allocations: 0.9674 MB / 342.2 MB, free: 10.2 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001892/0.235, allocations: 61.97 kB / 342.3 MB, free: 10.14 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.472e-05/0.235, allocations: 63.39 kB / 342.3 MB, free: 10.07 MB / 298.7 MB Notification: Performance of pre-optimization done (n=198): time 3.837e-06/0.235, allocations: 0 / 342.3 MB, free: 10.07 MB / 298.7 MB Notification: Performance of matching and sorting (n=218): time 0.01017/0.2452, allocations: 5.091 MB / 347.4 MB, free: 5.008 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.624e-05/0.2453, allocations: 73.41 kB / 347.5 MB, free: 4.922 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002522/0.2478, allocations: 1.889 MB / 349.4 MB, free: 2.992 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001103/0.2479, allocations: 65.7 kB / 349.5 MB, free: 2.922 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00105/0.2489, allocations: 1.793 MB / 351.2 MB, free: 1.113 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005448/0.2495, allocations: 0.7842 MB / 352 MB, free: 348 kB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005967/0.2501, allocations: 442.5 kB / 352.5 MB, free: 15.9 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001056/0.2502, allocations: 476.8 kB / 352.9 MB, free: 15.43 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008226/0.251, allocations: 380.4 kB / 353.3 MB, free: 15.05 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001223/0.2522, allocations: 1.05 MB / 354.4 MB, free: 13.76 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002333/0.2546, allocations: 1.622 MB / 356 MB, free: 11.94 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.375e-06/0.2546, allocations: 4 kB / 356 MB, free: 11.94 MB / 314.7 MB Notification: Performance of matching and sorting (n=295) (initialization): time 0.003847/0.2584, allocations: 2.11 MB / 358.1 MB, free: 9.902 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.536e-05/0.2584, allocations: 12 kB / 358.1 MB, free: 9.891 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.805e-05/0.2585, allocations: 12 kB / 358.1 MB, free: 9.879 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001819/0.2603, allocations: 0.6059 MB / 358.7 MB, free: 9.258 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00145/0.2617, allocations: 0.5229 MB / 359.2 MB, free: 8.762 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006446/0.2682, allocations: 7.801 MB / 367 MB, free: 0.6445 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001325/0.2695, allocations: 115.9 kB / 367.2 MB, free: 0.5312 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001452/0.2696, allocations: 91.98 kB / 367.2 MB, free: 452 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.0009507/0.2706, allocations: 291.9 kB / 367.5 MB, free: 176 kB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005426/0.2711, allocations: 342.5 kB / 367.9 MB, free: 15.83 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00368/0.2748, allocations: 1.849 MB / 369.7 MB, free: 13.98 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.475e-05/0.2748, allocations: 20 kB / 369.7 MB, free: 13.96 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.081e-05/0.2748, allocations: 8 kB / 369.7 MB, free: 13.95 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.673e-05/0.2749, allocations: 7.969 kB / 369.7 MB, free: 13.94 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008521/0.2834, allocations: 5.048 MB / 374.8 MB, free: 8.879 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.895e-06/0.2834, allocations: 0 / 374.8 MB, free: 8.879 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001162/0.2846, allocations: 385.5 kB / 375.2 MB, free: 8.52 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002056/0.2866, allocations: 0.6752 MB / 375.8 MB, free: 7.824 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001288/0.2867, allocations: 55.98 kB / 375.9 MB, free: 7.77 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006468/0.2932, allocations: 9.575 MB / 385.5 MB, free: 13.75 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/0.2932, allocations: 4 kB / 385.5 MB, free: 13.75 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003902/0.2971, allocations: 2.547 MB / 388 MB, free: 11.14 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009836/0.2981, allocations: 0.5021 MB / 388.5 MB, free: 10.64 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002219/0.2983, allocations: 51.98 kB / 388.6 MB, free: 10.59 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006558/0.299, allocations: 111.9 kB / 388.7 MB, free: 10.48 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003352/0.2993, allocations: 192.9 kB / 388.9 MB, free: 10.29 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.207e-05/0.2994, allocations: 67.98 kB / 388.9 MB, free: 10.22 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.001299/0.3007, allocations: 1.079 MB / 390 MB, free: 9.125 MB / 346.7 MB Notification: Performance of sort global known variables: time 9e-08/0.3007, allocations: 0 / 390 MB, free: 9.125 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001851/0.3026, allocations: 0.7968 MB / 390.8 MB, free: 8.328 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.0008219/0.3034, allocations: 240.7 kB / 391.1 MB, free: 8.117 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.002985/0.3064, allocations: 2.22 MB / 393.3 MB, free: 5.867 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 5.871e-06/0.3064, allocations: 4.312 kB / 393.3 MB, free: 5.863 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00181/0.3082, allocations: 1.778 MB / 395.1 MB, free: 4.004 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002035/0.3102, allocations: 0.6706 MB / 395.7 MB, free: 3.359 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00887/0.3191, allocations: 6.482 MB / 402.2 MB, free: 12.79 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008717/0.32, allocations: 1.026 MB / 403.2 MB, free: 11.75 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.001165/0.3211, allocations: 0.5163 MB / 403.8 MB, free: 11.22 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003786/0.3215, allocations: 172.5 kB / 403.9 MB, free: 11.05 MB / 362.7 MB Notification: Performance of SimCode: time 1.403e-06/0.3215, allocations: 0 / 403.9 MB, free: 11.05 MB / 362.7 MB Notification: Performance of Templates: time 0.1614/0.4829, allocations: 40.48 MB / 444.4 MB, free: 119.7 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.957556311041117]