Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.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.001527/0.001527, allocations: 75.75 kB / 21.97 MB, free: 2.602 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.001031/0.001031, allocations: 165.6 kB / 25.33 MB, free: 8.727 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 1.03/1.03, 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.AsynchronousInductionMachines.AIMC_Transformer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=25000,variableFilter="time|aimc.is.[0-9,]+.|aimc.idq_rr.[0-9,]+.|aimc.idq_sr.[0-9,]+.|loadInertia.phi|loadInertia.w|transformer.l2sigma.inductor.[0-9,]+..i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer") translateModel(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=25000,variableFilter="time|aimc.is.[0-9,]+.|aimc.idq_rr.[0-9,]+.|aimc.idq_sr.[0-9,]+.|loadInertia.phi|loadInertia.w|transformer.l2sigma.inductor.[0-9,]+..i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.382e-06/1.382e-06, allocations: 0 / 251.1 MB, free: 7.484 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.676e-05/2.814e-05, allocations: 2.312 kB / 251.1 MB, free: 7.48 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer): time 0.01132/0.01135, allocations: 12.7 MB / 263.8 MB, free: 10.71 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.008521/0.01987, allocations: 4.215 MB / 268 MB, free: 6.488 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002775/0.02264, allocations: 91.31 kB / 268.1 MB, free: 6.398 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002347/0.02499, allocations: 0.9663 MB / 269 MB, free: 5.426 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004044/0.02903, allocations: 1.281 MB / 270.3 MB, free: 4.137 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001308/0.03034, allocations: 0.5304 MB / 270.9 MB, free: 3.605 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.00484/0.03518, allocations: 4.838 MB / 275.7 MB, free: 14.74 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002347/0.03753, allocations: 1.971 MB / 277.7 MB, free: 12.7 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005162/0.04269, allocations: 3.208 MB / 280.9 MB, free: 9.508 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003518/0.04621, allocations: 2.483 MB / 283.3 MB, free: 7.02 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001091/0.0473, allocations: 0.5508 MB / 283.9 MB, free: 6.469 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00155/0.04885, allocations: 0.6443 MB / 284.5 MB, free: 5.824 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001291/0.05014, allocations: 1.601 MB / 286.1 MB, free: 4.219 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002771/0.05291, allocations: 1.746 MB / 287.9 MB, free: 2.469 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005502/0.05842, allocations: 4.058 MB / 292 MB, free: 14.4 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.193e-06/0.05842, allocations: 0 / 292 MB, free: 14.4 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.904e-06/0.05842, allocations: 0 / 292 MB, free: 14.4 MB / 282.7 MB Notification: Performance of Transformations before backend: time 0.0001747/0.0586, allocations: 4 kB / 292 MB, free: 14.39 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.008901/0.0675, allocations: 4.955 MB / 296.9 MB, free: 9.379 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.14e-05/0.06756, allocations: 15.98 kB / 296.9 MB, free: 9.363 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001787/0.06935, allocations: 0.8065 MB / 297.7 MB, free: 8.555 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003906/0.07325, allocations: 2.168 MB / 299.9 MB, free: 6.344 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002065/0.07346, allocations: 263.4 kB / 300.2 MB, free: 6.086 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005463/0.07401, allocations: 368.2 kB / 300.5 MB, free: 5.727 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005903/0.07991, allocations: 3.045 MB / 303.6 MB, free: 2.539 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003458/0.08026, allocations: 11.94 kB / 303.6 MB, free: 2.527 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002914/0.08055, allocations: 144 kB / 303.7 MB, free: 2.387 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001805/0.08073, allocations: 179.1 kB / 303.9 MB, free: 2.211 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003657/0.08439, allocations: 1.333 MB / 305.2 MB, free: 0.8711 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01826/0.1026, allocations: 11.88 MB / 317.1 MB, free: 4.652 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002609/0.1053, allocations: 1.513 MB / 318.6 MB, free: 3.172 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001677/0.1069, allocations: 0.9667 MB / 319.6 MB, free: 2.207 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002165/0.1072, allocations: 65.97 kB / 319.7 MB, free: 2.141 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.758e-05/0.1072, allocations: 59.39 kB / 319.7 MB, free: 2.074 MB / 298.7 MB Notification: Performance of pre-optimization done (n=198): time 5.67e-06/0.1072, allocations: 0 / 319.7 MB, free: 2.074 MB / 298.7 MB Notification: Performance of matching and sorting (n=218): time 0.01072/0.1179, allocations: 5.123 MB / 324.8 MB, free: 12.93 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.775e-05/0.118, allocations: 73.41 kB / 324.9 MB, free: 12.85 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002704/0.1207, allocations: 1.876 MB / 326.8 MB, free: 10.93 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001316/0.1208, allocations: 61.7 kB / 326.8 MB, free: 10.86 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008779/0.1217, allocations: 1.771 MB / 328.6 MB, free: 9.078 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004619/0.1221, allocations: 0.7865 MB / 329.4 MB, free: 8.285 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004873/0.1226, allocations: 438.5 kB / 329.8 MB, free: 7.848 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001047/0.1227, allocations: 480.8 kB / 330.3 MB, free: 7.375 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006526/0.1234, allocations: 380.4 kB / 330.7 MB, free: 7 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000963/0.1244, allocations: 1.055 MB / 331.7 MB, free: 5.691 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002025/0.1264, allocations: 1.622 MB / 333.3 MB, free: 3.824 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.454e-06/0.1264, allocations: 4 kB / 333.3 MB, free: 3.82 MB / 314.7 MB Notification: Performance of matching and sorting (n=295) (initialization): time 0.003125/0.1295, allocations: 2.103 MB / 335.4 MB, free: 1.688 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.671e-05/0.1295, allocations: 12 kB / 335.5 MB, free: 1.676 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.739e-05/0.1296, allocations: 12 kB / 335.5 MB, free: 1.664 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001528/0.1311, allocations: 0.6078 MB / 336.1 MB, free: 1.039 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001176/0.1323, allocations: 0.5227 MB / 336.6 MB, free: 0.5156 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006128/0.1384, allocations: 7.785 MB / 344.4 MB, free: 8.363 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001445/0.1398, allocations: 115.9 kB / 344.5 MB, free: 8.25 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000144/0.14, allocations: 88 kB / 344.6 MB, free: 8.164 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.0009167/0.1409, allocations: 299.9 kB / 344.9 MB, free: 7.859 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004823/0.1414, allocations: 338.3 kB / 345.2 MB, free: 7.527 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002994/0.1444, allocations: 1.852 MB / 347.1 MB, free: 5.641 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.185e-05/0.1444, allocations: 20 kB / 347.1 MB, free: 5.621 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.402e-05/0.1444, allocations: 8 kB / 347.1 MB, free: 5.613 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.263e-05/0.1444, allocations: 11.95 kB / 347.1 MB, free: 5.602 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007609/0.152, allocations: 5.025 MB / 352.1 MB, free: 464 kB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.636e-06/0.152, allocations: 7.984 kB / 352.1 MB, free: 456 kB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009182/0.1529, allocations: 387.8 kB / 352.5 MB, free: 68 kB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.1397/0.2927, allocations: 0.6535 MB / 353.2 MB, free: 92.17 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004178/0.2931, allocations: 57.77 kB / 353.2 MB, free: 92.17 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006431/0.2995, allocations: 9.572 MB / 362.8 MB, free: 84.86 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.477e-06/0.2995, allocations: 3.906 kB / 362.8 MB, free: 84.86 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004509/0.304, allocations: 2.551 MB / 365.4 MB, free: 84.38 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001033/0.3051, allocations: 0.4966 MB / 365.8 MB, free: 84.38 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002485/0.3053, allocations: 53.42 kB / 365.9 MB, free: 84.37 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008983/0.3062, allocations: 117.4 kB / 366 MB, free: 84.37 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003615/0.3066, allocations: 185.6 kB / 366.2 MB, free: 84.37 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001187/0.3067, allocations: 60.34 kB / 366.3 MB, free: 84.37 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.001689/0.3084, allocations: 1.075 MB / 367.3 MB, free: 84.18 MB / 330.7 MB Notification: Performance of sort global known variables: time 1e-07/0.3084, allocations: 0 / 367.3 MB, free: 84.18 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.002029/0.3104, allocations: 0.7958 MB / 368.1 MB, free: 84.18 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.0004837/0.3109, allocations: 242.1 kB / 368.4 MB, free: 84.09 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.003106/0.314, allocations: 2.222 MB / 370.6 MB, free: 83.46 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/0.314, allocations: 3.438 kB / 370.6 MB, free: 83.46 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00196/0.316, allocations: 1.774 MB / 372.4 MB, free: 82.7 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002012/0.318, allocations: 0.6541 MB / 373 MB, free: 82.64 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008427/0.3264, allocations: 6.457 MB / 379.5 MB, free: 77.75 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008476/0.3273, allocations: 1.025 MB / 380.5 MB, free: 77.18 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.001185/0.3284, allocations: 0.5072 MB / 381 MB, free: 76.84 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004493/0.3289, allocations: 164 kB / 381.2 MB, free: 76.69 MB / 330.7 MB Notification: Performance of SimCode: time 1.323e-06/0.3289, allocations: 0 / 381.2 MB, free: 76.69 MB / 330.7 MB Notification: Performance of Templates: time 0.0468/0.3757, allocations: 40.36 MB / 421.5 MB, free: 36.99 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer.sim & ./Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.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/AsynchronousInductionMachines/AIMC_Transformer/AIMC_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.182986477855593]