Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009122/0.0009122, allocations: 78.66 kB / 21.42 MB, free: 3.074 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009314/0.0009314, allocations: 168.8 kB / 24.82 MB, free: 9.27 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9641/0.9641, allocations: 177.1 MB / 205.3 MB, free: 5.512 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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.1.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.1.0_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.834e-06/1.834e-06, allocations: 0 / 273.4 MB, free: 1.258 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.39e-05/1.573e-05, allocations: 2.312 kB / 273.4 MB, free: 1.254 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer): time 0.009287/0.009303, allocations: 12.44 MB / 285.9 MB, free: 4.758 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.00599/0.01529, allocations: 4.183 MB / 290.1 MB, free: 0.5625 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000899/0.01619, allocations: 99.31 kB / 290.2 MB, free: 476 kB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.108/0.1242, allocations: 0.9617 MB / 291.1 MB, free: 15.63 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004236/0.1284, allocations: 1.301 MB / 292.4 MB, free: 15.44 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001109/0.1296, allocations: 0.534 MB / 293 MB, free: 15.43 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.00445/0.134, allocations: 4.809 MB / 297.8 MB, free: 14.16 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002309/0.1363, allocations: 2.021 MB / 299.8 MB, free: 13.64 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00396/0.1403, allocations: 3.373 MB / 303.2 MB, free: 12.29 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002626/0.1429, allocations: 2.454 MB / 305.6 MB, free: 11.58 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0008915/0.1438, allocations: 0.5468 MB / 306.2 MB, free: 11.57 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009438/0.1447, allocations: 0.641 MB / 306.8 MB, free: 11.55 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007196/0.1455, allocations: 1.565 MB / 308.4 MB, free: 10.55 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001359/0.1468, allocations: 1.728 MB / 310.1 MB, free: 9.633 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002483/0.1493, allocations: 4.036 MB / 314.1 MB, free: 6.191 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.1493, allocations: 0.5 kB / 314.1 MB, free: 6.191 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.653e-06/0.1493, allocations: 5.156 kB / 314.1 MB, free: 6.188 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.577e-05/0.1494, allocations: 0 / 314.1 MB, free: 6.188 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.003835/0.1532, allocations: 4.8 MB / 318.9 MB, free: 1.566 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.686e-05/0.1532, allocations: 8.031 kB / 319 MB, free: 1.559 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009591/0.1542, allocations: 0.8351 MB / 319.8 MB, free: 0.7227 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002043/0.1562, allocations: 2.227 MB / 322 MB, free: 14.55 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001426/0.1564, allocations: 267.3 kB / 322.3 MB, free: 14.3 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003301/0.1567, allocations: 358.5 kB / 322.6 MB, free: 13.95 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003028/0.1597, allocations: 2.815 MB / 325.4 MB, free: 11.16 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.237e-05/0.1598, allocations: 3.953 kB / 325.4 MB, free: 11.15 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002114/0.16, allocations: 146.5 kB / 325.6 MB, free: 11.01 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001283/0.1601, allocations: 179.7 kB / 325.8 MB, free: 10.84 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001601/0.1617, allocations: 1.039 MB / 326.8 MB, free: 9.801 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01156/0.1733, allocations: 11.6 MB / 338.4 MB, free: 14.72 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00134/0.1746, allocations: 1.4 MB / 339.8 MB, free: 13.41 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001218/0.1759, allocations: 0.8542 MB / 340.7 MB, free: 12.59 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001523/0.176, allocations: 57.17 kB / 340.7 MB, free: 12.53 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.667e-05/0.176, allocations: 59.39 kB / 340.8 MB, free: 12.46 MB / 298.7 MB Notification: Performance of pre-optimization done (n=198): time 3.116e-06/0.176, allocations: 0 / 340.8 MB, free: 12.46 MB / 298.7 MB Notification: Performance of matching and sorting (n=218): time 0.006139/0.1822, allocations: 4.082 MB / 344.9 MB, free: 8.445 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.625e-05/0.1822, allocations: 81.34 kB / 344.9 MB, free: 8.352 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001422/0.1836, allocations: 1.82 MB / 346.8 MB, free: 6.773 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 9.007e-05/0.1837, allocations: 65.7 kB / 346.8 MB, free: 6.703 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001103/0.1848, allocations: 1.794 MB / 348.6 MB, free: 4.984 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004174/0.1853, allocations: 0.7998 MB / 349.4 MB, free: 4.234 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004473/0.1857, allocations: 450.2 kB / 349.9 MB, free: 3.836 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.181e-05/0.1858, allocations: 476.8 kB / 350.3 MB, free: 3.367 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000393/0.1862, allocations: 288.4 kB / 350.6 MB, free: 3.082 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006871/0.1869, allocations: 0.9583 MB / 351.6 MB, free: 1.922 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001258/0.1881, allocations: 1.46 MB / 353 MB, free: 324 kB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.466e-06/0.1881, allocations: 4 kB / 353 MB, free: 320 kB / 298.7 MB Notification: Performance of matching and sorting (n=295) (initialization): time 0.002279/0.1904, allocations: 1.899 MB / 354.9 MB, free: 14.5 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.996e-05/0.1904, allocations: 15.94 kB / 354.9 MB, free: 14.48 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.544e-05/0.1905, allocations: 12 kB / 354.9 MB, free: 14.47 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001659/0.1921, allocations: 0.5944 MB / 355.5 MB, free: 13.86 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009942/0.1931, allocations: 498 kB / 356 MB, free: 13.41 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00517/0.1983, allocations: 7.559 MB / 363.6 MB, free: 5.621 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009515/0.1992, allocations: 75.98 kB / 363.7 MB, free: 5.547 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001025/0.1993, allocations: 67.98 kB / 363.7 MB, free: 5.48 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.0007043/0.2, allocations: 300.3 kB / 364 MB, free: 5.211 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003627/0.2004, allocations: 346.3 kB / 364.4 MB, free: 4.871 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002033/0.2024, allocations: 1.66 MB / 366 MB, free: 3.211 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.058e-05/0.2024, allocations: 20 kB / 366 MB, free: 3.191 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.037e-05/0.2025, allocations: 8 kB / 366 MB, free: 3.184 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.137e-05/0.2025, allocations: 7.969 kB / 366.1 MB, free: 3.176 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005382/0.2078, allocations: 4.107 MB / 370.2 MB, free: 15.3 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.573e-06/0.2079, allocations: 3.984 kB / 370.2 MB, free: 15.3 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007881/0.2086, allocations: 356.8 kB / 370.5 MB, free: 14.97 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001413/0.2101, allocations: 0.642 MB / 371.2 MB, free: 14.32 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001131/0.2102, allocations: 59.97 kB / 371.2 MB, free: 14.26 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005244/0.2154, allocations: 9.239 MB / 380.5 MB, free: 4.695 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.861e-06/0.2154, allocations: 12 kB / 380.5 MB, free: 4.684 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002794/0.2182, allocations: 2.285 MB / 382.7 MB, free: 2.383 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007028/0.2189, allocations: 462.1 kB / 383.2 MB, free: 1.93 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001823/0.2191, allocations: 47.98 kB / 383.2 MB, free: 1.883 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005848/0.2197, allocations: 83.95 kB / 383.3 MB, free: 1.801 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002437/0.2199, allocations: 173.3 kB / 383.5 MB, free: 1.633 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.815e-05/0.22, allocations: 51.98 kB / 383.5 MB, free: 1.582 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0008255/0.2208, allocations: 0.9687 MB / 384.5 MB, free: 0.6836 MB / 330.7 MB Notification: Performance of sort global known variables: time 6e-08/0.2208, allocations: 0 / 384.5 MB, free: 0.6836 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.002106/0.2229, allocations: 0.789 MB / 385.3 MB, free: 15.89 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.000467/0.2234, allocations: 248.7 kB / 385.6 MB, free: 15.68 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.002198/0.2256, allocations: 2.012 MB / 387.6 MB, free: 13.65 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.2256, allocations: 4.25 kB / 387.6 MB, free: 13.65 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00149/0.2271, allocations: 1.642 MB / 389.2 MB, free: 11.96 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001563/0.2287, allocations: 0.6452 MB / 389.9 MB, free: 11.33 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009338/0.238, allocations: 6.401 MB / 396.3 MB, free: 4.863 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009106/0.2389, allocations: 1.026 MB / 397.3 MB, free: 3.816 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0008658/0.2398, allocations: 309.2 kB / 397.6 MB, free: 3.508 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001129/0.2409, allocations: 0.697 MB / 398.3 MB, free: 2.809 MB / 346.7 MB Notification: Performance of SimCode: time 1.403e-06/0.2409, allocations: 4 kB / 398.3 MB, free: 2.805 MB / 346.7 MB Notification: Performance of Templates: time 0.1666/0.4075, allocations: 42.61 MB / 440.9 MB, free: 114 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.sim & ./Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_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.466835467144847]