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.001151/0.001151, allocations: 75.77 kB / 22.46 MB, free: 2.094 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.001092/0.001092, allocations: 164.1 kB / 25.75 MB, free: 8.949 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.8998/0.8998, allocations: 158.6 MB / 187.5 MB, free: 2.445 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.713e-06/1.713e-06, allocations: 0 / 251.1 MB, free: 7.742 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.598e-05/1.769e-05, allocations: 9.969 kB / 251.1 MB, free: 7.734 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer): time 0.01276/0.01278, allocations: 12.64 MB / 263.8 MB, free: 11.02 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.006816/0.01959, allocations: 4.196 MB / 268 MB, free: 6.82 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001041/0.02063, allocations: 91.31 kB / 268.1 MB, free: 6.73 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001825/0.02246, allocations: 0.9663 MB / 269 MB, free: 5.758 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002368/0.02483, allocations: 1.277 MB / 270.3 MB, free: 4.473 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008756/0.0257, allocations: 0.5343 MB / 270.8 MB, free: 3.938 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.004259/0.02996, allocations: 4.834 MB / 275.7 MB, free: 15.08 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002209/0.03217, allocations: 1.963 MB / 277.6 MB, free: 13.05 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003369/0.03554, allocations: 3.206 MB / 280.8 MB, free: 9.855 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002771/0.03831, allocations: 2.487 MB / 283.3 MB, free: 7.363 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006035/0.03891, allocations: 0.5547 MB / 283.9 MB, free: 6.809 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009148/0.03983, allocations: 0.6443 MB / 284.5 MB, free: 6.164 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009261/0.04075, allocations: 1.605 MB / 286.1 MB, free: 4.555 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001292/0.04205, allocations: 1.742 MB / 287.9 MB, free: 2.809 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003085/0.04513, allocations: 4.062 MB / 291.9 MB, free: 14.73 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/0.04514, allocations: 0 / 291.9 MB, free: 14.73 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.473e-06/0.04514, allocations: 0 / 291.9 MB, free: 14.73 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.804e-05/0.04518, allocations: 0 / 291.9 MB, free: 14.73 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.005059/0.05023, allocations: 4.955 MB / 296.9 MB, free: 9.715 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.79e-05/0.05027, allocations: 11.98 kB / 296.9 MB, free: 9.703 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00105/0.05132, allocations: 0.8143 MB / 297.7 MB, free: 8.887 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002536/0.05386, allocations: 2.161 MB / 299.9 MB, free: 6.684 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001335/0.05399, allocations: 267.4 kB / 300.1 MB, free: 6.422 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003386/0.05433, allocations: 364.2 kB / 300.5 MB, free: 6.066 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003608/0.05794, allocations: 3.049 MB / 303.5 MB, free: 2.875 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.356e-05/0.05799, allocations: 3.953 kB / 303.5 MB, free: 2.871 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000213/0.0582, allocations: 148 kB / 303.7 MB, free: 2.727 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001265/0.05833, allocations: 187 kB / 303.9 MB, free: 2.543 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002548/0.06088, allocations: 1.33 MB / 305.2 MB, free: 1.207 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01185/0.07273, allocations: 11.88 MB / 317.1 MB, free: 4.984 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001705/0.07443, allocations: 1.513 MB / 318.6 MB, free: 3.504 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001308/0.07574, allocations: 0.955 MB / 319.6 MB, free: 2.551 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001677/0.07591, allocations: 65.91 kB / 319.6 MB, free: 2.484 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.871e-05/0.07595, allocations: 63.38 kB / 319.7 MB, free: 2.414 MB / 298.7 MB Notification: Performance of pre-optimization done (n=198): time 3.767e-06/0.07595, allocations: 4 kB / 319.7 MB, free: 2.41 MB / 298.7 MB Notification: Performance of matching and sorting (n=218): time 0.007848/0.0838, allocations: 5.123 MB / 324.8 MB, free: 13.27 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.673e-05/0.08384, allocations: 77.41 kB / 324.9 MB, free: 13.18 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001751/0.08559, allocations: 1.879 MB / 326.8 MB, free: 11.26 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 9.42e-05/0.08568, allocations: 61.7 kB / 326.8 MB, free: 11.2 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00106/0.08674, allocations: 1.767 MB / 328.6 MB, free: 9.414 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004069/0.08715, allocations: 0.7865 MB / 329.4 MB, free: 8.621 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004445/0.08759, allocations: 438.5 kB / 329.8 MB, free: 8.184 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 9.871e-05/0.08769, allocations: 480.7 kB / 330.3 MB, free: 7.711 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006812/0.08837, allocations: 380.4 kB / 330.6 MB, free: 7.336 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009793/0.08935, allocations: 1.051 MB / 331.7 MB, free: 6.031 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001767/0.09112, allocations: 1.622 MB / 333.3 MB, free: 4.164 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.594e-06/0.09113, allocations: 4 kB / 333.3 MB, free: 4.16 MB / 314.7 MB Notification: Performance of matching and sorting (n=295) (initialization): time 0.003133/0.09426, allocations: 2.1 MB / 335.4 MB, free: 2.031 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.068e-05/0.09428, allocations: 16.09 kB / 335.4 MB, free: 2.016 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.365e-05/0.09429, allocations: 12 kB / 335.4 MB, free: 2.004 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001396/0.09569, allocations: 0.5986 MB / 336 MB, free: 1.387 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001074/0.09676, allocations: 0.5305 MB / 336.6 MB, free: 0.8555 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00531/0.1021, allocations: 7.792 MB / 344.4 MB, free: 8.691 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007605/0.1028, allocations: 111.9 kB / 344.5 MB, free: 8.582 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001108/0.1029, allocations: 87.98 kB / 344.6 MB, free: 8.496 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.0006595/0.1036, allocations: 303.9 kB / 344.9 MB, free: 8.188 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003432/0.1039, allocations: 338.3 kB / 345.2 MB, free: 7.855 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002554/0.1065, allocations: 1.844 MB / 347 MB, free: 5.98 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.135e-05/0.1065, allocations: 24 kB / 347.1 MB, free: 5.957 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.293e-06/0.1065, allocations: 7.984 kB / 347.1 MB, free: 5.949 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.218e-05/0.1065, allocations: 11.97 kB / 347.1 MB, free: 5.938 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006332/0.1129, allocations: 5.03 MB / 352.1 MB, free: 0.7852 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.169e-06/0.1129, allocations: 0 / 352.1 MB, free: 0.7852 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008406/0.1137, allocations: 383.4 kB / 352.5 MB, free: 420 kB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.106/0.2197, allocations: 0.6616 MB / 353.1 MB, free: 97.63 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003517/0.2201, allocations: 56.45 kB / 353.2 MB, free: 97.63 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005132/0.2252, allocations: 9.568 MB / 362.8 MB, free: 90.33 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.218e-06/0.2252, allocations: 5.312 kB / 362.8 MB, free: 90.33 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003699/0.2289, allocations: 2.556 MB / 365.3 MB, free: 89.84 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007028/0.2296, allocations: 0.4943 MB / 365.8 MB, free: 89.84 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001999/0.2298, allocations: 48.14 kB / 365.9 MB, free: 89.84 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006319/0.2304, allocations: 124 kB / 366 MB, free: 89.84 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000295/0.2307, allocations: 189.3 kB / 366.2 MB, free: 89.84 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.071e-05/0.2308, allocations: 60.69 kB / 366.2 MB, free: 89.84 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.001087/0.2319, allocations: 1.071 MB / 367.3 MB, free: 89.65 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.2319, allocations: 0 / 367.3 MB, free: 89.65 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001466/0.2334, allocations: 0.793 MB / 368.1 MB, free: 89.65 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.000379/0.2337, allocations: 234.5 kB / 368.3 MB, free: 89.55 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.002284/0.236, allocations: 2.228 MB / 370.6 MB, free: 88.85 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 5.08e-06/0.236, allocations: 0 / 370.6 MB, free: 88.85 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001361/0.2374, allocations: 1.781 MB / 372.3 MB, free: 87.71 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001359/0.2387, allocations: 0.6522 MB / 373 MB, free: 87.2 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006046/0.2448, allocations: 6.465 MB / 379.5 MB, free: 81.31 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005965/0.2454, allocations: 1.026 MB / 380.5 MB, free: 80.44 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0007833/0.2462, allocations: 0.5045 MB / 381 MB, free: 79.93 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003289/0.2465, allocations: 164.5 kB / 381.1 MB, free: 79.77 MB / 330.7 MB Notification: Performance of SimCode: time 7.61e-07/0.2465, allocations: 0 / 381.1 MB, free: 79.77 MB / 330.7 MB Notification: Performance of Templates: time 0.03821/0.2847, allocations: 40.35 MB / 421.5 MB, free: 39.46 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: 4.595906432019547]