Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.AIMC_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.0009772/0.0009772, allocations: 75.77 kB / 22.45 MB, free: 2.098 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.0009301/0.0009301, allocations: 164.8 kB / 25.75 MB, free: 8.582 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8959/0.8959, allocations: 158.6 MB / 187.6 MB, free: 2.898 MB / 170.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.AIMC_Transformer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=25000,variableFilter="time|// aimc.i_0_s|aimc.idq_rr.[0-9,]+.|aimc.idq_sr.[0-9,]+.|smee.is.[0-9,]+.|loadInertia.phi|loadInertia.w|transformer.l2sigma.inductor.[0-9,]+..i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.AIMC_Transformer") translateModel(Modelica.Electrical.Machines.Examples.Transformers.AIMC_Transformer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=25000,variableFilter="time|// aimc.i_0_s|aimc.idq_rr.[0-9,]+.|aimc.idq_sr.[0-9,]+.|smee.is.[0-9,]+.|loadInertia.phi|loadInertia.w|transformer.l2sigma.inductor.[0-9,]+..i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.AIMC_Transformer") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.212e-06/1.212e-06, allocations: 0 / 251.1 MB, free: 7.754 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.467e-05/1.588e-05, allocations: 6.109 kB / 251.2 MB, free: 7.75 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.AIMC_Transformer): time 0.01008/0.0101, allocations: 12.7 MB / 263.9 MB, free: 10.98 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.005824/0.01592, allocations: 4.203 MB / 268.1 MB, free: 6.766 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008203/0.01674, allocations: 87.38 kB / 268.1 MB, free: 6.68 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001368/0.01811, allocations: 0.9625 MB / 269.1 MB, free: 5.711 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001641/0.01975, allocations: 1.281 MB / 270.4 MB, free: 4.422 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008283/0.02058, allocations: 0.5342 MB / 270.9 MB, free: 3.887 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.002673/0.02325, allocations: 4.834 MB / 275.8 MB, free: 15.03 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001793/0.02504, allocations: 1.967 MB / 277.7 MB, free: 12.99 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0024/0.02744, allocations: 3.198 MB / 280.9 MB, free: 9.805 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001873/0.02932, allocations: 2.487 MB / 283.4 MB, free: 7.312 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004469/0.02976, allocations: 0.5547 MB / 284 MB, free: 6.758 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006132/0.03038, allocations: 0.6443 MB / 284.6 MB, free: 6.113 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001117/0.03149, allocations: 1.605 MB / 286.2 MB, free: 4.504 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001197/0.03269, allocations: 1.742 MB / 288 MB, free: 2.758 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002788/0.03548, allocations: 4.054 MB / 292 MB, free: 14.69 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.885e-06/0.03548, allocations: 4 kB / 292 MB, free: 14.69 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.122e-06/0.03548, allocations: 0 / 292 MB, free: 14.69 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.684e-05/0.03552, allocations: 0 / 292 MB, free: 14.69 MB / 282.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.004958/0.04048, allocations: 4.963 MB / 297 MB, free: 9.664 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.296e-05/0.04051, allocations: 11.98 kB / 297 MB, free: 9.652 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009897/0.0415, allocations: 0.8143 MB / 297.8 MB, free: 8.836 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002359/0.04386, allocations: 2.161 MB / 300 MB, free: 6.633 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001304/0.04399, allocations: 271.4 kB / 300.2 MB, free: 6.367 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003171/0.04431, allocations: 360.3 kB / 300.6 MB, free: 6.016 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003449/0.04776, allocations: 3.049 MB / 303.6 MB, free: 2.824 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.496e-05/0.04781, allocations: 7.891 kB / 303.6 MB, free: 2.816 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002082/0.04802, allocations: 148 kB / 303.8 MB, free: 2.672 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002133/0.04823, allocations: 179.1 kB / 304 MB, free: 2.496 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003194/0.05143, allocations: 1.33 MB / 305.3 MB, free: 1.16 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01567/0.0671, allocations: 11.88 MB / 317.2 MB, free: 4.945 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001759/0.06886, allocations: 1.513 MB / 318.7 MB, free: 3.465 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001294/0.07015, allocations: 0.9589 MB / 319.6 MB, free: 2.508 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000177/0.07033, allocations: 61.97 kB / 319.7 MB, free: 2.445 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.564e-05/0.07036, allocations: 63.39 kB / 319.8 MB, free: 2.375 MB / 298.7 MB Notification: Performance of pre-optimization done (n=198): time 4.168e-06/0.07037, allocations: 0 / 319.8 MB, free: 2.375 MB / 298.7 MB Notification: Performance of matching and sorting (n=218): time 0.007843/0.07821, allocations: 5.134 MB / 324.9 MB, free: 13.23 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.969e-05/0.07825, allocations: 77.41 kB / 325 MB, free: 13.14 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001739/0.07999, allocations: 1.876 MB / 326.8 MB, free: 11.22 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 9.42e-05/0.08008, allocations: 65.7 kB / 326.9 MB, free: 11.15 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008406/0.08092, allocations: 1.763 MB / 328.7 MB, free: 9.367 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004875/0.08141, allocations: 0.7826 MB / 329.5 MB, free: 8.578 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004476/0.08186, allocations: 442.5 kB / 329.9 MB, free: 8.137 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001128/0.08197, allocations: 480.7 kB / 330.4 MB, free: 7.664 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006721/0.08264, allocations: 380.4 kB / 330.7 MB, free: 7.289 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009513/0.0836, allocations: 1.051 MB / 331.8 MB, free: 5.984 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00173/0.08533, allocations: 1.625 MB / 333.4 MB, free: 4.113 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.905e-06/0.08533, allocations: 4 kB / 333.4 MB, free: 4.109 MB / 314.7 MB Notification: Performance of matching and sorting (n=295) (initialization): time 0.00282/0.08815, allocations: 2.104 MB / 335.5 MB, free: 1.977 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.176e-05/0.08818, allocations: 12 kB / 335.5 MB, free: 1.965 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.556e-05/0.08819, allocations: 15.98 kB / 335.5 MB, free: 1.949 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001437/0.08963, allocations: 0.6035 MB / 336.1 MB, free: 1.328 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001108/0.09074, allocations: 0.5227 MB / 336.7 MB, free: 0.8047 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005431/0.09617, allocations: 7.785 MB / 344.5 MB, free: 8.648 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001094/0.09726, allocations: 119.8 kB / 344.6 MB, free: 8.531 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001266/0.09739, allocations: 84 kB / 344.6 MB, free: 8.449 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.000786/0.09817, allocations: 308 kB / 345 MB, free: 8.137 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004123/0.09859, allocations: 338.3 kB / 345.3 MB, free: 7.805 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00279/0.1014, allocations: 1.844 MB / 347.1 MB, free: 5.926 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.453e-05/0.1014, allocations: 24 kB / 347.1 MB, free: 5.902 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.505e-05/0.1014, allocations: 4 kB / 347.2 MB, free: 5.898 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.421e-05/0.1014, allocations: 11.95 kB / 347.2 MB, free: 5.887 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006644/0.1081, allocations: 5.026 MB / 352.2 MB, free: 0.7383 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.61e-06/0.1081, allocations: 0 / 352.2 MB, free: 0.7383 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008855/0.109, allocations: 387.7 kB / 352.6 MB, free: 368 kB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.1088/0.2178, allocations: 0.6613 MB / 353.2 MB, free: 97.76 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000351/0.2181, allocations: 55.11 kB / 353.3 MB, free: 97.76 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00612/0.2243, allocations: 9.572 MB / 362.9 MB, free: 90.45 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.887e-06/0.2243, allocations: 9.469 kB / 362.9 MB, free: 90.45 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004081/0.2283, allocations: 2.539 MB / 365.4 MB, free: 89.97 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000888/0.2292, allocations: 0.5028 MB / 365.9 MB, free: 89.97 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002713/0.2295, allocations: 46.36 kB / 366 MB, free: 89.97 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008476/0.2304, allocations: 115.8 kB / 366.1 MB, free: 89.97 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003546/0.2307, allocations: 191.3 kB / 366.3 MB, free: 89.96 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001123/0.2308, allocations: 60.38 kB / 366.3 MB, free: 89.96 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.001375/0.2322, allocations: 1.07 MB / 367.4 MB, free: 89.77 MB / 330.7 MB Notification: Performance of sort global known variables: time 1e-07/0.2322, allocations: 0 / 367.4 MB, free: 89.77 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001871/0.2341, allocations: 0.7974 MB / 368.2 MB, free: 89.77 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 {(2,12,100.0%), (1,1,100.0%), (3,25,88.9%), (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.0004851/0.2346, allocations: 247 kB / 368.4 MB, free: 89.67 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.002929/0.2375, allocations: 2.232 MB / 370.7 MB, free: 88.97 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.769e-06/0.2375, allocations: 7.812 kB / 370.7 MB, free: 88.97 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001902/0.2394, allocations: 1.767 MB / 372.4 MB, free: 87.73 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001876/0.2413, allocations: 0.6511 MB / 373.1 MB, free: 87.23 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007701/0.249, allocations: 6.465 MB / 379.5 MB, free: 81.34 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007717/0.2497, allocations: 1.022 MB / 380.6 MB, free: 80.44 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.001119/0.2509, allocations: 0.5084 MB / 381.1 MB, free: 79.93 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003608/0.2512, allocations: 160.5 kB / 381.2 MB, free: 79.77 MB / 330.7 MB Notification: Performance of SimCode: time 2.455e-06/0.2512, allocations: 0 / 381.2 MB, free: 79.77 MB / 330.7 MB Notification: Performance of Templates: time 0.0406/0.2918, allocations: 40.34 MB / 421.6 MB, free: 39.47 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.AIMC_Transformer.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.AIMC_Transformer.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.AIMC_Transformer.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.AIMC_Transformer.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.AIMC_Transformer.sim & ./Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.AIMC_Transformer -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.AIMC_Transformer.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.AIMC_Transformer_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Machines/Examples/Transformers/AIMC_Transformer/AIMC_Transformer.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable aimc.i_0_s in file Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.AIMC_Transformer_res.mat. Warning: Get data of variable aimc.i_0_s from file Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.AIMC_Transformer_res.mat failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.757414925843477]