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.001412/0.001412, allocations: 79.69 kB / 21.7 MB, free: 2.844 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.006541/0.006541, allocations: 157.8 kB / 24.99 MB, free: 8.262 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.9954/0.9954, allocations: 177 MB / 205.2 MB, free: 5.602 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 1.502e-06/1.502e-06, allocations: 0 / 273 MB, free: 1.723 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.561e-05/2.711e-05, allocations: 2.312 kB / 273 MB, free: 1.719 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer): time 0.0108/0.01082, allocations: 12.85 MB / 285.9 MB, free: 4.812 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.005531/0.01635, allocations: 4.218 MB / 290.1 MB, free: 0.582 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000785/0.01714, allocations: 103.3 kB / 290.2 MB, free: 492 kB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.1207/0.1378, allocations: 0.966 MB / 291.2 MB, free: 15.29 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003748/0.1416, allocations: 1.306 MB / 292.5 MB, free: 15.11 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001007/0.1426, allocations: 0.5341 MB / 293 MB, free: 15.1 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.004258/0.1469, allocations: 4.854 MB / 297.9 MB, free: 13.82 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002425/0.1493, allocations: 2.02 MB / 299.9 MB, free: 13.3 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003917/0.1532, allocations: 3.247 MB / 303.1 MB, free: 11.96 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002894/0.1561, allocations: 2.498 MB / 305.6 MB, free: 11.24 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001062/0.1572, allocations: 0.554 MB / 306.2 MB, free: 11.24 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009662/0.1581, allocations: 0.6609 MB / 306.8 MB, free: 11.22 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009106/0.159, allocations: 1.61 MB / 308.5 MB, free: 10.2 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001815/0.1608, allocations: 1.753 MB / 310.2 MB, free: 9.266 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003369/0.1642, allocations: 4.09 MB / 314.3 MB, free: 6.09 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.722e-06/0.1642, allocations: 7.156 kB / 314.3 MB, free: 6.086 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.763e-06/0.1642, allocations: 0 / 314.3 MB, free: 6.086 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001331/0.1644, allocations: 0 / 314.3 MB, free: 6.086 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.005283/0.1696, allocations: 4.999 MB / 319.3 MB, free: 1.047 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.978e-05/0.1697, allocations: 15.98 kB / 319.3 MB, free: 1.031 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001174/0.1709, allocations: 0.8402 MB / 320.2 MB, free: 196 kB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002778/0.1736, allocations: 2.398 MB / 322.6 MB, free: 13.85 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002408/0.1739, allocations: 269.2 kB / 322.8 MB, free: 13.59 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003514/0.1742, allocations: 353.8 kB / 323.2 MB, free: 13.25 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004244/0.1785, allocations: 3.062 MB / 326.2 MB, free: 10.06 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.305e-05/0.1785, allocations: 10.2 kB / 326.2 MB, free: 10.05 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002358/0.1788, allocations: 151.3 kB / 326.4 MB, free: 9.91 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001406/0.1789, allocations: 187.1 kB / 326.6 MB, free: 9.727 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002711/0.1816, allocations: 1.335 MB / 327.9 MB, free: 8.398 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01389/0.1955, allocations: 11.93 MB / 339.8 MB, free: 12.5 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002184/0.1977, allocations: 1.519 MB / 341.3 MB, free: 11.03 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00166/0.1994, allocations: 0.9461 MB / 342.3 MB, free: 10.08 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001944/0.1995, allocations: 77.09 kB / 342.4 MB, free: 10.01 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.302e-05/0.1996, allocations: 55.39 kB / 342.4 MB, free: 9.945 MB / 298.7 MB Notification: Performance of pre-optimization done (n=198): time 4.639e-06/0.1996, allocations: 0 / 342.4 MB, free: 9.945 MB / 298.7 MB Notification: Performance of matching and sorting (n=218): time 0.00988/0.2095, allocations: 5.092 MB / 347.5 MB, free: 4.883 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.904e-05/0.2095, allocations: 77.41 kB / 347.6 MB, free: 4.793 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002388/0.2119, allocations: 1.893 MB / 349.5 MB, free: 2.859 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001121/0.212, allocations: 65.7 kB / 349.5 MB, free: 2.789 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001243/0.2133, allocations: 1.787 MB / 351.3 MB, free: 0.9883 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005408/0.2138, allocations: 0.7869 MB / 352.1 MB, free: 216 kB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005954/0.2144, allocations: 442.5 kB / 352.6 MB, free: 15.77 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001041/0.2145, allocations: 476.8 kB / 353 MB, free: 15.3 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008556/0.2154, allocations: 380.4 kB / 353.4 MB, free: 14.93 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001233/0.2166, allocations: 1.051 MB / 354.4 MB, free: 13.63 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002236/0.2188, allocations: 1.62 MB / 356.1 MB, free: 11.82 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.105e-05/0.2188, allocations: 4 kB / 356.1 MB, free: 11.81 MB / 314.7 MB Notification: Performance of matching and sorting (n=295) (initialization): time 0.003971/0.2228, allocations: 2.109 MB / 358.2 MB, free: 9.777 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.466e-05/0.2228, allocations: 11.98 kB / 358.2 MB, free: 9.766 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.119e-05/0.2229, allocations: 16 kB / 358.2 MB, free: 9.75 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001857/0.2247, allocations: 0.5983 MB / 358.8 MB, free: 9.137 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001666/0.2264, allocations: 0.5228 MB / 359.3 MB, free: 8.641 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006432/0.2328, allocations: 7.802 MB / 367.1 MB, free: 0.5195 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001071/0.2339, allocations: 123.8 kB / 367.2 MB, free: 408 kB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001452/0.234, allocations: 88 kB / 367.3 MB, free: 320 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.0008143/0.2348, allocations: 298.7 kB / 367.6 MB, free: 40 kB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000478/0.2353, allocations: 342.4 kB / 368 MB, free: 15.7 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003273/0.2386, allocations: 1.84 MB / 369.8 MB, free: 13.85 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-05/0.2386, allocations: 24 kB / 369.8 MB, free: 13.83 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.806e-06/0.2386, allocations: 4 kB / 369.8 MB, free: 13.82 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.64e-05/0.2386, allocations: 11.95 kB / 369.8 MB, free: 13.81 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007987/0.2466, allocations: 5.044 MB / 374.9 MB, free: 8.754 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.548e-06/0.2466, allocations: 7.984 kB / 374.9 MB, free: 8.746 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001152/0.2478, allocations: 381.7 kB / 375.3 MB, free: 8.391 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001966/0.2498, allocations: 0.6792 MB / 375.9 MB, free: 7.695 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001348/0.2499, allocations: 55.97 kB / 376 MB, free: 7.641 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01189/0.2618, allocations: 9.569 MB / 385.6 MB, free: 13.63 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.834e-06/0.2618, allocations: 7.938 kB / 385.6 MB, free: 13.62 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003519/0.2653, allocations: 2.56 MB / 388.1 MB, free: 11 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007526/0.2661, allocations: 0.4942 MB / 388.6 MB, free: 10.51 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002091/0.2663, allocations: 51.98 kB / 388.7 MB, free: 10.46 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006242/0.2669, allocations: 111.9 kB / 388.8 MB, free: 10.35 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002977/0.2672, allocations: 196.7 kB / 389 MB, free: 10.16 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.256e-05/0.2673, allocations: 55.98 kB / 389 MB, free: 10.1 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.001162/0.2684, allocations: 1.079 MB / 390.1 MB, free: 9.004 MB / 346.7 MB Notification: Performance of sort global known variables: time 4e-08/0.2684, allocations: 0 / 390.1 MB, free: 9.004 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.00158/0.27, allocations: 0.8007 MB / 390.9 MB, free: 8.203 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.0004193/0.2704, allocations: 246.8 kB / 391.2 MB, free: 7.988 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.002764/0.2732, allocations: 2.223 MB / 393.4 MB, free: 5.719 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.377e-06/0.2732, allocations: 0 / 393.4 MB, free: 5.719 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001643/0.2748, allocations: 1.775 MB / 395.2 MB, free: 3.863 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001528/0.2764, allocations: 0.6685 MB / 395.8 MB, free: 3.219 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008486/0.2849, allocations: 6.484 MB / 402.3 MB, free: 12.65 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008832/0.2857, allocations: 1.026 MB / 403.3 MB, free: 11.61 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.001159/0.2869, allocations: 0.5163 MB / 403.8 MB, free: 11.08 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003783/0.2873, allocations: 164.5 kB / 404 MB, free: 10.92 MB / 362.7 MB Notification: Performance of SimCode: time 1.754e-06/0.2873, allocations: 0 / 404 MB, free: 10.92 MB / 362.7 MB Notification: Performance of Templates: time 0.1896/0.4768, allocations: 40.48 MB / 444.5 MB, free: 119.7 MB / 378.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.906696533085778]