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.001023/0.001023, allocations: 95.5 kB / 21.2 MB, free: 3.371 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.001962/0.001962, allocations: 160.5 kB / 24.55 MB, free: 16 kB / 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.079/1.079, allocations: 177 MB / 204.8 MB, free: 5.562 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.293e-06/1.293e-06, allocations: 0 / 273 MB, free: 1.395 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.512e-05/2.641e-05, allocations: 5.266 kB / 273 MB, free: 1.391 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer): time 0.01078/0.01081, allocations: 12.91 MB / 285.9 MB, free: 4.418 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.007231/0.01804, allocations: 4.222 MB / 290.1 MB, free: 188 kB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002168/0.02021, allocations: 99.31 kB / 290.2 MB, free: 88 kB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.1207/0.1409, allocations: 0.9641 MB / 291.2 MB, free: 15.41 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003613/0.1445, allocations: 1.308 MB / 292.5 MB, free: 15.18 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001116/0.1457, allocations: 0.5369 MB / 293 MB, free: 15.17 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.005612/0.1513, allocations: 4.855 MB / 297.9 MB, free: 13.89 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002801/0.1541, allocations: 2.021 MB / 299.9 MB, free: 13.25 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004899/0.159, allocations: 3.246 MB / 303.1 MB, free: 11.9 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003775/0.1627, allocations: 2.505 MB / 305.6 MB, free: 11.09 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001582/0.1643, allocations: 0.554 MB / 306.2 MB, free: 11.09 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001557/0.1659, allocations: 0.6555 MB / 306.8 MB, free: 11.05 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00097/0.1669, allocations: 1.611 MB / 308.4 MB, free: 9.914 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002547/0.1694, allocations: 1.753 MB / 310.2 MB, free: 8.98 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0044/0.1738, allocations: 4.093 MB / 314.3 MB, free: 5.695 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.352e-06/0.1738, allocations: 0 / 314.3 MB, free: 5.695 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.773e-06/0.1738, allocations: 3.281 kB / 314.3 MB, free: 5.695 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001708/0.174, allocations: 0 / 314.3 MB, free: 5.695 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.005746/0.1797, allocations: 4.994 MB / 319.3 MB, free: 0.6641 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.021e-05/0.1798, allocations: 15.98 kB / 319.3 MB, free: 0.6484 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001217/0.181, allocations: 0.8428 MB / 320.1 MB, free: 15.81 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003067/0.1841, allocations: 2.405 MB / 322.6 MB, free: 13.46 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001833/0.1842, allocations: 270.3 kB / 322.8 MB, free: 13.2 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003636/0.1846, allocations: 355.6 kB / 323.2 MB, free: 12.86 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004378/0.189, allocations: 3.058 MB / 326.2 MB, free: 9.676 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.725e-05/0.189, allocations: 4 kB / 326.2 MB, free: 9.672 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002163/0.1893, allocations: 146.5 kB / 326.4 MB, free: 9.531 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001551/0.1894, allocations: 191.1 kB / 326.6 MB, free: 9.344 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002871/0.1923, allocations: 1.337 MB / 327.9 MB, free: 8.016 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01512/0.2074, allocations: 11.93 MB / 339.8 MB, free: 12.12 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001837/0.2092, allocations: 1.518 MB / 341.3 MB, free: 10.65 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001317/0.2106, allocations: 0.9609 MB / 342.3 MB, free: 9.695 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002039/0.2108, allocations: 65.97 kB / 342.4 MB, free: 9.629 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.589e-05/0.2108, allocations: 59.39 kB / 342.4 MB, free: 9.562 MB / 298.7 MB Notification: Performance of pre-optimization done (n=198): time 4.278e-06/0.2108, allocations: 0 / 342.4 MB, free: 9.562 MB / 298.7 MB Notification: Performance of matching and sorting (n=218): time 0.008587/0.2194, allocations: 5.078 MB / 347.5 MB, free: 4.512 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.549e-05/0.2194, allocations: 81.34 kB / 347.6 MB, free: 4.418 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002062/0.2215, allocations: 1.893 MB / 349.5 MB, free: 2.484 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001036/0.2216, allocations: 61.7 kB / 349.5 MB, free: 2.418 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001021/0.2226, allocations: 1.794 MB / 351.3 MB, free: 0.6094 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004979/0.2231, allocations: 0.7875 MB / 352.1 MB, free: 15.83 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004909/0.2236, allocations: 446.5 kB / 352.5 MB, free: 15.39 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001364/0.2238, allocations: 476.8 kB / 353 MB, free: 14.92 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000787/0.2245, allocations: 376.4 kB / 353.4 MB, free: 14.55 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00101/0.2256, allocations: 1.046 MB / 354.4 MB, free: 13.25 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001842/0.2274, allocations: 1.631 MB / 356.1 MB, free: 11.43 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.311e-05/0.2274, allocations: 4 kB / 356.1 MB, free: 11.43 MB / 314.7 MB Notification: Performance of matching and sorting (n=295) (initialization): time 0.003309/0.2307, allocations: 2.1 MB / 358.2 MB, free: 9.402 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.787e-05/0.2307, allocations: 23.95 kB / 358.2 MB, free: 9.379 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.811e-05/0.2308, allocations: 12 kB / 358.2 MB, free: 9.367 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001598/0.2324, allocations: 0.5998 MB / 358.8 MB, free: 8.75 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001189/0.2336, allocations: 0.5187 MB / 359.3 MB, free: 8.258 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006244/0.2398, allocations: 7.796 MB / 367.1 MB, free: 140 kB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001635/0.2414, allocations: 119.8 kB / 367.2 MB, free: 20 kB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001619/0.2416, allocations: 84.05 kB / 367.3 MB, free: 15.93 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.001093/0.2427, allocations: 302 kB / 367.6 MB, free: 15.66 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004751/0.2432, allocations: 338.3 kB / 367.9 MB, free: 15.33 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002633/0.2458, allocations: 1.852 MB / 369.8 MB, free: 13.46 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.212e-05/0.2458, allocations: 20 kB / 369.8 MB, free: 13.45 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.723e-05/0.2458, allocations: 11.94 kB / 369.8 MB, free: 13.43 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.654e-05/0.2459, allocations: 11.95 kB / 369.8 MB, free: 13.42 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007672/0.2535, allocations: 5.041 MB / 374.9 MB, free: 8.344 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.628e-06/0.2535, allocations: 11.98 kB / 374.9 MB, free: 8.332 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008868/0.2544, allocations: 379.8 kB / 375.3 MB, free: 7.961 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001658/0.2561, allocations: 0.6778 MB / 375.9 MB, free: 7.266 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001301/0.2562, allocations: 55.97 kB / 376 MB, free: 7.211 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00674/0.2629, allocations: 9.578 MB / 385.6 MB, free: 13.16 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.928e-06/0.263, allocations: 3.938 kB / 385.6 MB, free: 13.15 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004083/0.267, allocations: 2.551 MB / 388.1 MB, free: 10.51 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001107/0.2681, allocations: 0.4982 MB / 388.6 MB, free: 10.01 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002286/0.2684, allocations: 43.98 kB / 388.7 MB, free: 9.969 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006959/0.2691, allocations: 111.9 kB / 388.8 MB, free: 9.859 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003429/0.2694, allocations: 197.5 kB / 389 MB, free: 9.664 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.299e-05/0.2695, allocations: 59.98 kB / 389 MB, free: 9.605 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.001431/0.2709, allocations: 1.079 MB / 390.1 MB, free: 8.508 MB / 346.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.2709, allocations: 4 kB / 390.1 MB, free: 8.504 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.002034/0.273, allocations: 0.7968 MB / 390.9 MB, free: 7.707 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.0005134/0.2735, allocations: 245.4 kB / 391.1 MB, free: 7.477 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.003532/0.277, allocations: 2.225 MB / 393.4 MB, free: 5.191 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.318e-06/0.277, allocations: 256 / 393.4 MB, free: 5.191 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001961/0.279, allocations: 1.786 MB / 395.2 MB, free: 3.324 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002181/0.2812, allocations: 0.6542 MB / 395.8 MB, free: 2.695 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01034/0.2915, allocations: 6.492 MB / 402.3 MB, free: 12.12 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00114/0.2926, allocations: 1.03 MB / 403.3 MB, free: 11.07 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.001516/0.2942, allocations: 0.5163 MB / 403.8 MB, free: 10.54 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004277/0.2946, allocations: 164.5 kB / 404 MB, free: 10.38 MB / 362.7 MB Notification: Performance of SimCode: time 2.104e-06/0.2946, allocations: 0 / 404 MB, free: 10.38 MB / 362.7 MB Notification: Performance of Templates: time 0.2242/0.5188, allocations: 40.48 MB / 444.5 MB, free: 114 MB / 378.7 MB " [Timeout remaining time 659] 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: 5.322875235695392]