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.001506/0.001506, allocations: 83.73 kB / 21.97 MB, free: 2.594 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.001222/0.001222, allocations: 169.5 kB / 25.33 MB, free: 9.164 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.9147/0.9147, allocations: 158.6 MB / 187.2 MB, free: 2.941 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.242e-06/1.242e-06, allocations: 3.938 kB / 251.1 MB, free: 7.457 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.27e-05/2.395e-05, allocations: 6.312 kB / 251.1 MB, free: 7.449 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.AIMC_Transformer): time 0.01062/0.01064, allocations: 12.77 MB / 263.9 MB, free: 10.61 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.007051/0.01769, allocations: 4.207 MB / 268.1 MB, free: 6.391 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001905/0.0196, allocations: 87.38 kB / 268.2 MB, free: 6.305 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001933/0.02153, allocations: 0.9663 MB / 269.1 MB, free: 5.332 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003019/0.02455, allocations: 1.296 MB / 270.4 MB, free: 4.027 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009055/0.02545, allocations: 0.5265 MB / 270.9 MB, free: 3.5 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.004437/0.02989, allocations: 4.842 MB / 275.8 MB, free: 14.64 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002587/0.03248, allocations: 1.963 MB / 277.8 MB, free: 12.61 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004723/0.0372, allocations: 3.362 MB / 281.1 MB, free: 9.254 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00324/0.04044, allocations: 2.432 MB / 283.5 MB, free: 6.816 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001182/0.04162, allocations: 0.543 MB / 284.1 MB, free: 6.273 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001501/0.04313, allocations: 0.6326 MB / 284.7 MB, free: 5.641 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009625/0.04409, allocations: 1.566 MB / 286.3 MB, free: 4.07 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002367/0.04646, allocations: 1.723 MB / 288 MB, free: 2.344 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003967/0.05042, allocations: 4.011 MB / 292 MB, free: 14.32 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.05043, allocations: 0 / 292 MB, free: 14.32 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.283e-06/0.05043, allocations: 0 / 292 MB, free: 14.32 MB / 282.7 MB Notification: Performance of Transformations before backend: time 0.0001487/0.05058, allocations: 0 / 292 MB, free: 14.32 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.006283/0.05686, allocations: 4.912 MB / 296.9 MB, free: 9.348 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.033e-05/0.0569, allocations: 15.98 kB / 296.9 MB, free: 9.332 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001127/0.05803, allocations: 0.8104 MB / 297.8 MB, free: 8.52 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002578/0.0606, allocations: 2.154 MB / 299.9 MB, free: 6.324 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001342/0.06074, allocations: 267.4 kB / 300.2 MB, free: 6.062 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003086/0.06105, allocations: 352.3 kB / 300.5 MB, free: 5.719 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003784/0.06483, allocations: 3.053 MB / 303.6 MB, free: 2.523 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.073e-05/0.06489, allocations: 11.95 kB / 303.6 MB, free: 2.512 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001969/0.06509, allocations: 136 kB / 303.7 MB, free: 2.379 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000122/0.06521, allocations: 183.1 kB / 303.9 MB, free: 2.199 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002346/0.06756, allocations: 1.318 MB / 305.2 MB, free: 0.875 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01281/0.08036, allocations: 11.79 MB / 317 MB, free: 4.75 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001814/0.08218, allocations: 1.538 MB / 318.5 MB, free: 3.246 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001278/0.08346, allocations: 0.9512 MB / 319.5 MB, free: 2.297 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001905/0.08365, allocations: 73.94 kB / 319.6 MB, free: 2.223 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.823e-05/0.08369, allocations: 63.39 kB / 319.6 MB, free: 2.152 MB / 298.7 MB Notification: Performance of pre-optimization done (n=198): time 4.078e-06/0.08369, allocations: 0 / 319.6 MB, free: 2.152 MB / 298.7 MB Notification: Performance of matching and sorting (n=218): time 0.008312/0.092, allocations: 5.106 MB / 324.7 MB, free: 13.03 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.055e-05/0.09204, allocations: 73.41 kB / 324.8 MB, free: 12.95 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001842/0.09388, allocations: 1.868 MB / 326.7 MB, free: 11.04 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 9.863e-05/0.09398, allocations: 65.7 kB / 326.7 MB, free: 10.96 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001064/0.09505, allocations: 1.767 MB / 328.5 MB, free: 9.18 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000434/0.09548, allocations: 0.7826 MB / 329.3 MB, free: 8.391 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004542/0.09593, allocations: 442.5 kB / 329.7 MB, free: 7.949 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 9.717e-05/0.09603, allocations: 476.8 kB / 330.2 MB, free: 7.48 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006634/0.0967, allocations: 376.4 kB / 330.5 MB, free: 7.109 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009662/0.09766, allocations: 1.043 MB / 331.6 MB, free: 5.809 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001742/0.0994, allocations: 1.625 MB / 333.2 MB, free: 3.938 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.899e-06/0.09941, allocations: 4 kB / 333.2 MB, free: 3.934 MB / 314.7 MB Notification: Performance of matching and sorting (n=295) (initialization): time 0.003469/0.1029, allocations: 2.111 MB / 335.3 MB, free: 1.793 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.322e-05/0.1029, allocations: 12 kB / 335.3 MB, free: 1.781 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.793e-05/0.1029, allocations: 12 kB / 335.4 MB, free: 1.77 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001598/0.1045, allocations: 0.6001 MB / 336 MB, free: 1.148 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001134/0.1057, allocations: 0.5149 MB / 336.5 MB, free: 0.6328 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005656/0.1113, allocations: 7.786 MB / 344.3 MB, free: 8.48 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001002/0.1123, allocations: 107.9 kB / 344.4 MB, free: 8.375 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001175/0.1124, allocations: 92 kB / 344.5 MB, free: 8.285 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.0008098/0.1132, allocations: 291.9 kB / 344.7 MB, free: 7.988 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005985/0.1138, allocations: 334.3 kB / 345.1 MB, free: 7.66 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002846/0.1167, allocations: 1.837 MB / 346.9 MB, free: 5.789 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.303e-05/0.1167, allocations: 23.94 kB / 346.9 MB, free: 5.766 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.045e-05/0.1167, allocations: 8 kB / 346.9 MB, free: 5.758 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.182e-05/0.1167, allocations: 7.969 kB / 346.9 MB, free: 5.75 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007238/0.124, allocations: 5.002 MB / 351.9 MB, free: 0.625 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.163e-06/0.124, allocations: 0 / 351.9 MB, free: 0.625 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009085/0.1249, allocations: 375.9 kB / 352.3 MB, free: 264 kB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.1203/0.2452, allocations: 0.6441 MB / 353 MB, free: 91.12 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003471/0.2455, allocations: 54.31 kB / 353 MB, free: 91.12 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004781/0.2503, allocations: 9.486 MB / 362.5 MB, free: 83.82 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.337e-06/0.2503, allocations: 7.562 kB / 362.5 MB, free: 83.82 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003733/0.254, allocations: 2.545 MB / 365 MB, free: 83.33 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000915/0.2549, allocations: 0.4935 MB / 365.5 MB, free: 83.33 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002307/0.2552, allocations: 51.91 kB / 365.6 MB, free: 83.33 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006937/0.2559, allocations: 106.8 kB / 365.7 MB, free: 83.33 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003292/0.2562, allocations: 189.1 kB / 365.9 MB, free: 83.33 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.072e-05/0.2563, allocations: 64.09 kB / 365.9 MB, free: 83.33 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.001188/0.2575, allocations: 1.066 MB / 367 MB, free: 83.14 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2575, allocations: 3.219 kB / 367 MB, free: 83.14 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001851/0.2593, allocations: 0.7814 MB / 367.8 MB, free: 83.14 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,77.8%), (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.0004649/0.2598, allocations: 242.7 kB / 368 MB, free: 83.05 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.002653/0.2624, allocations: 2.219 MB / 370.2 MB, free: 82.42 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.85e-06/0.2625, allocations: 0 / 370.2 MB, free: 82.42 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001776/0.2642, allocations: 1.743 MB / 372 MB, free: 81.67 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002307/0.2665, allocations: 0.6533 MB / 372.6 MB, free: 81.61 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009698/0.2762, allocations: 6.449 MB / 379.1 MB, free: 76.95 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000824/0.2771, allocations: 1.025 MB / 380.1 MB, free: 76.37 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.001316/0.2784, allocations: 0.5056 MB / 380.6 MB, free: 76.04 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003862/0.2788, allocations: 166.2 kB / 380.8 MB, free: 75.88 MB / 330.7 MB Notification: Performance of SimCode: time 2.655e-06/0.2788, allocations: 0 / 380.8 MB, free: 75.88 MB / 330.7 MB Notification: Performance of Templates: time 0.04631/0.3251, allocations: 41.39 MB / 422.2 MB, free: 35.28 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.921955686993897]