Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001391/0.001391, allocations: 72.08 kB / 21.69 MB, free: 2.863 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009394/0.0009394, allocations: 140.4 kB / 24.97 MB, free: 8.371 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.008/1.008, allocations: 173.3 MB / 201.5 MB, free: 9.324 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.222e-06/1.222e-06, allocations: 3.938 kB / 268.1 MB, free: 6.684 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.283e-05/1.406e-05, allocations: 2.312 kB / 268.1 MB, free: 6.68 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer): time 0.009685/0.009699, allocations: 12.77 MB / 280.9 MB, free: 9.852 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.005104/0.0148, allocations: 4.128 MB / 285 MB, free: 5.711 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006773/0.01548, allocations: 99.38 kB / 285.1 MB, free: 5.613 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001342/0.01682, allocations: 0.9782 MB / 286.1 MB, free: 4.629 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001599/0.01842, allocations: 1.277 MB / 287.4 MB, free: 3.344 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005974/0.01902, allocations: 0.5187 MB / 287.9 MB, free: 2.824 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.1125/0.1315, allocations: 4.792 MB / 292.7 MB, free: 16.12 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002517/0.134, allocations: 2.014 MB / 294.7 MB, free: 15.89 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003881/0.1379, allocations: 3.211 MB / 297.9 MB, free: 15.74 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003003/0.1409, allocations: 2.479 MB / 300.4 MB, free: 15.55 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.00114/0.1421, allocations: 0.5515 MB / 300.9 MB, free: 15.55 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000933/0.143, allocations: 0.6505 MB / 301.6 MB, free: 15.55 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008737/0.1439, allocations: 1.604 MB / 303.2 MB, free: 14.77 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001404/0.1453, allocations: 1.742 MB / 304.9 MB, free: 14 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002636/0.1479, allocations: 4.062 MB / 309 MB, free: 12.31 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.795e-06/0.1479, allocations: 0 / 309 MB, free: 12.31 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.72e-07/0.1479, allocations: 0 / 309 MB, free: 12.31 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.894e-05/0.148, allocations: 0 / 309 MB, free: 12.31 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.004554/0.1525, allocations: 4.974 MB / 314 MB, free: 9.324 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.574e-05/0.1526, allocations: 10.92 kB / 314 MB, free: 9.324 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001382/0.154, allocations: 0.8117 MB / 314.8 MB, free: 8.66 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003311/0.1573, allocations: 2.362 MB / 317.2 MB, free: 6.379 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001642/0.1574, allocations: 267 kB / 317.4 MB, free: 6.121 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004441/0.1579, allocations: 363.4 kB / 317.8 MB, free: 5.773 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004967/0.1628, allocations: 3.039 MB / 320.8 MB, free: 2.605 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.906e-05/0.1629, allocations: 19.36 kB / 320.8 MB, free: 2.59 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003144/0.1633, allocations: 143.4 kB / 321 MB, free: 2.453 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000167/0.1634, allocations: 183.1 kB / 321.1 MB, free: 2.273 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003449/0.1669, allocations: 1.321 MB / 322.5 MB, free: 0.957 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01647/0.1833, allocations: 11.88 MB / 334.3 MB, free: 5.102 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002523/0.1859, allocations: 1.523 MB / 335.9 MB, free: 3.621 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002013/0.1879, allocations: 0.9503 MB / 336.8 MB, free: 2.668 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002266/0.1881, allocations: 65.91 kB / 336.9 MB, free: 2.602 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.059e-05/0.1881, allocations: 59.39 kB / 336.9 MB, free: 2.535 MB / 282.7 MB Notification: Performance of pre-optimization done (n=198): time 5.04e-06/0.1882, allocations: 0 / 336.9 MB, free: 2.535 MB / 282.7 MB Notification: Performance of matching and sorting (n=218): time 0.008768/0.1969, allocations: 5.07 MB / 342 MB, free: 13.5 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.375e-05/0.197, allocations: 77.34 kB / 342.1 MB, free: 13.41 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001902/0.1989, allocations: 1.879 MB / 344 MB, free: 11.49 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001043/0.199, allocations: 69.7 kB / 344 MB, free: 11.41 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008948/0.1999, allocations: 1.759 MB / 345.8 MB, free: 9.645 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004498/0.2003, allocations: 0.7863 MB / 346.6 MB, free: 8.867 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004797/0.2008, allocations: 438.5 kB / 347 MB, free: 8.43 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001177/0.2009, allocations: 480.8 kB / 347.5 MB, free: 7.957 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006914/0.2016, allocations: 380.4 kB / 347.8 MB, free: 7.582 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001007/0.2026, allocations: 1.049 MB / 348.9 MB, free: 6.285 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001823/0.2044, allocations: 1.622 MB / 350.5 MB, free: 4.473 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.706e-06/0.2045, allocations: 4 kB / 350.5 MB, free: 4.469 MB / 298.7 MB Notification: Performance of matching and sorting (n=295) (initialization): time 0.002952/0.2074, allocations: 2.101 MB / 352.6 MB, free: 2.438 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.211e-05/0.2074, allocations: 15.94 kB / 352.6 MB, free: 2.422 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.682e-05/0.2074, allocations: 12 kB / 352.7 MB, free: 2.41 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00145/0.2089, allocations: 0.6154 MB / 353.3 MB, free: 1.781 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001128/0.21, allocations: 0.5186 MB / 353.8 MB, free: 1.289 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005178/0.2152, allocations: 7.808 MB / 361.6 MB, free: 9.16 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009157/0.2161, allocations: 111.9 kB / 361.7 MB, free: 9.051 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001202/0.2162, allocations: 87.98 kB / 361.8 MB, free: 8.965 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.0006931/0.2169, allocations: 299.4 kB / 362.1 MB, free: 8.691 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003636/0.2173, allocations: 346.3 kB / 362.4 MB, free: 8.352 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002569/0.2199, allocations: 1.833 MB / 364.3 MB, free: 6.508 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.118e-05/0.2199, allocations: 20 kB / 364.3 MB, free: 6.488 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.005e-05/0.2199, allocations: 15.94 kB / 364.3 MB, free: 6.473 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.378e-05/0.2199, allocations: 15.98 kB / 364.3 MB, free: 6.457 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006321/0.2262, allocations: 5.011 MB / 369.3 MB, free: 1.43 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.072e-06/0.2262, allocations: 4.062 kB / 369.3 MB, free: 1.426 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009057/0.2271, allocations: 385.8 kB / 369.7 MB, free: 1.066 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001593/0.2287, allocations: 0.6671 MB / 370.4 MB, free: 388 kB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001223/0.2288, allocations: 55.97 kB / 370.4 MB, free: 332 kB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005962/0.2348, allocations: 9.581 MB / 380 MB, free: 6.305 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.897e-06/0.2348, allocations: 7.938 kB / 380 MB, free: 6.297 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003568/0.2384, allocations: 2.548 MB / 382.6 MB, free: 3.688 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007771/0.2392, allocations: 0.4982 MB / 383.1 MB, free: 3.188 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002146/0.2394, allocations: 51.98 kB / 383.1 MB, free: 3.137 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006765/0.24, allocations: 115.9 kB / 383.2 MB, free: 3.023 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002908/0.2403, allocations: 185.6 kB / 383.4 MB, free: 2.84 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.194e-05/0.2404, allocations: 63.64 kB / 383.5 MB, free: 2.781 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.001176/0.2416, allocations: 1.075 MB / 384.5 MB, free: 1.688 MB / 330.7 MB Notification: Performance of sort global known variables: time 3.51e-07/0.2416, allocations: 0 / 384.5 MB, free: 1.688 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001785/0.2434, allocations: 0.789 MB / 385.3 MB, free: 0.8984 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%), (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.0004456/0.2438, allocations: 247.6 kB / 385.6 MB, free: 0.6797 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.002684/0.2465, allocations: 2.222 MB / 387.8 MB, free: 14.45 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.679e-06/0.2465, allocations: 6 kB / 387.8 MB, free: 14.45 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001744/0.2483, allocations: 1.78 MB / 389.6 MB, free: 12.63 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001606/0.2499, allocations: 0.6568 MB / 390.2 MB, free: 11.98 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008368/0.2582, allocations: 6.446 MB / 396.7 MB, free: 5.469 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008437/0.2591, allocations: 1.026 MB / 397.7 MB, free: 4.422 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0009818/0.2601, allocations: 0.5084 MB / 398.2 MB, free: 3.906 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003962/0.2605, allocations: 160.5 kB / 398.4 MB, free: 3.75 MB / 346.7 MB Notification: Performance of SimCode: time 9.72e-07/0.2605, allocations: 0 / 398.4 MB, free: 3.75 MB / 346.7 MB Notification: Performance of Templates: time 0.1526/0.4131, allocations: 40.36 MB / 438.7 MB, free: 127.7 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.sim & ./Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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.7491106821689755]