Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.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.00128/0.00128, allocations: 85.91 kB / 22.22 MB, free: 2.281 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.001018/0.001018, allocations: 158.4 kB / 25.61 MB, free: 8.91 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 0.9238/0.9238, allocations: 177 MB / 205.9 MB, free: 4.457 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.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_trunk_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_trunk_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 4.729e-06/4.729e-06, allocations: 0 / 274.2 MB, free: 4.25 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.509e-05/3.982e-05, allocations: 2.312 kB / 274.2 MB, free: 4.246 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer): time 0.01002/0.01006, allocations: 12.49 MB / 286.7 MB, free: 7.711 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.006995/0.01706, allocations: 4.2 MB / 290.9 MB, free: 3.504 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008481/0.01791, allocations: 103.3 kB / 291 MB, free: 3.402 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001401/0.01931, allocations: 0.9783 MB / 291.9 MB, free: 2.418 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001788/0.0211, allocations: 1.304 MB / 293.2 MB, free: 1.105 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006335/0.02173, allocations: 0.5421 MB / 293.8 MB, free: 0.5625 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.003288/0.02502, allocations: 4.845 MB / 298.6 MB, free: 11.7 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002009/0.02703, allocations: 2.015 MB / 300.6 MB, free: 9.617 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003575/0.0306, allocations: 3.412 MB / 304.1 MB, free: 6.234 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002409/0.03301, allocations: 2.467 MB / 306.5 MB, free: 3.762 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005618/0.03357, allocations: 0.543 MB / 307.1 MB, free: 3.219 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007225/0.0343, allocations: 0.6443 MB / 307.7 MB, free: 2.574 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009298/0.03523, allocations: 1.578 MB / 309.3 MB, free: 0.9922 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001358/0.03658, allocations: 1.731 MB / 311 MB, free: 15.26 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003226/0.03981, allocations: 4.05 MB / 315.1 MB, free: 11.2 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.766e-06/0.03981, allocations: 0 / 315.1 MB, free: 11.2 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.102e-06/0.03981, allocations: 0 / 315.1 MB, free: 11.2 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.437e-05/0.03986, allocations: 4 kB / 315.1 MB, free: 11.19 MB / 298.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.004739/0.0446, allocations: 4.818 MB / 319.9 MB, free: 6.309 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.17e-05/0.04463, allocations: 8.031 kB / 319.9 MB, free: 6.301 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00113/0.04576, allocations: 0.8455 MB / 320.7 MB, free: 5.453 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002155/0.04791, allocations: 2.235 MB / 323 MB, free: 3.145 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001326/0.04805, allocations: 263.4 kB / 323.2 MB, free: 2.887 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003206/0.04837, allocations: 360.3 kB / 323.6 MB, free: 2.535 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00274/0.05111, allocations: 2.815 MB / 326.4 MB, free: 15.58 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.011e-05/0.05117, allocations: 11.89 kB / 326.4 MB, free: 15.57 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002119/0.05138, allocations: 148 kB / 326.6 MB, free: 15.42 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001338/0.05151, allocations: 195.1 kB / 326.8 MB, free: 15.23 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001467/0.05298, allocations: 1.041 MB / 327.8 MB, free: 14.18 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01054/0.06352, allocations: 11.65 MB / 339.4 MB, free: 2.191 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001363/0.06488, allocations: 1.396 MB / 340.8 MB, free: 0.832 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001003/0.06588, allocations: 0.8495 MB / 341.7 MB, free: 15.98 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001494/0.06603, allocations: 57.97 kB / 341.7 MB, free: 15.92 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.482e-05/0.06607, allocations: 59.33 kB / 341.8 MB, free: 15.86 MB / 330.7 MB Notification: Performance of pre-optimization done (n=198): time 3.046e-06/0.06607, allocations: 0 / 341.8 MB, free: 15.86 MB / 330.7 MB Notification: Performance of matching and sorting (n=218): time 0.005985/0.07206, allocations: 4.076 MB / 345.9 MB, free: 11.76 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.533e-05/0.07209, allocations: 73.41 kB / 345.9 MB, free: 11.68 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00141/0.0735, allocations: 1.837 MB / 347.8 MB, free: 9.797 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 9.251e-05/0.07359, allocations: 69.7 kB / 347.9 MB, free: 9.723 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00088/0.07447, allocations: 1.806 MB / 349.7 MB, free: 7.898 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004691/0.07494, allocations: 0.7864 MB / 350.4 MB, free: 7.105 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004615/0.0754, allocations: 450.3 kB / 350.9 MB, free: 6.656 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 9.421e-05/0.0755, allocations: 476.8 kB / 351.4 MB, free: 6.188 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004071/0.07591, allocations: 284.4 kB / 351.6 MB, free: 5.906 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007203/0.07663, allocations: 0.9611 MB / 352.6 MB, free: 4.691 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001333/0.07796, allocations: 1.465 MB / 354.1 MB, free: 2.98 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.999e-06/0.07797, allocations: 4 kB / 354.1 MB, free: 2.977 MB / 330.7 MB Notification: Performance of matching and sorting (n=295) (initialization): time 0.00234/0.08031, allocations: 1.9 MB / 356 MB, free: 1.047 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.292e-05/0.08033, allocations: 8 kB / 356 MB, free: 1.039 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.527e-05/0.08035, allocations: 16 kB / 356 MB, free: 1.023 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001314/0.08166, allocations: 0.597 MB / 356.6 MB, free: 416 kB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.1211/0.2028, allocations: 491.1 kB / 357.1 MB, free: 75.83 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004619/0.2074, allocations: 7.539 MB / 364.6 MB, free: 70.29 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00137/0.2088, allocations: 76.81 kB / 364.7 MB, free: 70.29 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001251/0.2089, allocations: 67.44 kB / 364.7 MB, free: 70.29 MB / 330.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.0008817/0.2098, allocations: 301.6 kB / 365 MB, free: 70.13 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004961/0.2103, allocations: 345.8 kB / 365.4 MB, free: 70.13 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002443/0.2127, allocations: 1.657 MB / 367 MB, free: 69.94 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.248e-05/0.2127, allocations: 20.94 kB / 367 MB, free: 69.94 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.403e-05/0.2127, allocations: 8.266 kB / 367.1 MB, free: 69.94 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.444e-05/0.2128, allocations: 15.09 kB / 367.1 MB, free: 69.94 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005024/0.2178, allocations: 4.117 MB / 371.2 MB, free: 69.36 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.901e-06/0.2178, allocations: 2.688 kB / 371.2 MB, free: 69.36 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007833/0.2186, allocations: 358.8 kB / 371.5 MB, free: 69.35 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001383/0.22, allocations: 0.6395 MB / 372.2 MB, free: 69.29 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001079/0.2201, allocations: 56.58 kB / 372.2 MB, free: 69.29 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003826/0.2239, allocations: 9.23 MB / 381.5 MB, free: 61.81 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/0.2239, allocations: 3.312 kB / 381.5 MB, free: 61.81 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002514/0.2264, allocations: 2.299 MB / 383.8 MB, free: 60.97 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005765/0.227, allocations: 447.7 kB / 384.2 MB, free: 60.7 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000203/0.2272, allocations: 45.66 kB / 384.2 MB, free: 60.67 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005752/0.2278, allocations: 87.2 kB / 384.3 MB, free: 60.64 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002874/0.228, allocations: 174.1 kB / 384.5 MB, free: 60.61 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.512e-05/0.2281, allocations: 46.42 kB / 384.6 MB, free: 60.59 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0007271/0.2288, allocations: 0.9801 MB / 385.5 MB, free: 60.33 MB / 330.7 MB Notification: Performance of sort global known variables: time 2.21e-07/0.2288, allocations: 0 / 385.5 MB, free: 60.33 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001664/0.2305, allocations: 0.79 MB / 386.3 MB, free: 60.26 MB / 330.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.000408/0.2309, allocations: 241.1 kB / 386.6 MB, free: 60.14 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001934/0.2329, allocations: 2.014 MB / 388.6 MB, free: 58.41 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.397e-06/0.2329, allocations: 4 kB / 388.6 MB, free: 58.41 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001246/0.2341, allocations: 1.638 MB / 390.2 MB, free: 56.93 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0019/0.236, allocations: 0.6689 MB / 390.9 MB, free: 56.39 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007776/0.2438, allocations: 6.427 MB / 397.3 MB, free: 50.07 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000795/0.2446, allocations: 1.034 MB / 398.3 MB, free: 49.02 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.000903/0.2455, allocations: 312.9 kB / 398.6 MB, free: 48.71 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001249/0.2467, allocations: 0.697 MB / 399.3 MB, free: 48.01 MB / 330.7 MB Notification: Performance of SimCode: time 7.92e-07/0.2467, allocations: 0 / 399.3 MB, free: 48.01 MB / 330.7 MB Notification: Performance of Templates: time 0.05405/0.3008, allocations: 43.47 MB / 442.8 MB, free: 5.047 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.sim & ./Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_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.886469389777631]