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.001725/0.001725, allocations: 96.3 kB / 21.73 MB, free: 2.703 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.001886/0.001886, allocations: 170.8 kB / 25.03 MB, free: 8.43 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.513/1.513, allocations: 158.6 MB / 186.8 MB, free: 2.852 MB / 170.7 MB " [Timeout remaining time 178] 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.1.|aimc.is.2.|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|loadInertia.phi|loadInertia.w|transformer.l2sigma.inductor.2..i|transformer.l2sigma.inductor.3..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.1.|aimc.is.2.|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|loadInertia.phi|loadInertia.w|transformer.l2sigma.inductor.2..i|transformer.l2sigma.inductor.3..i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.724e-06/1.724e-06, allocations: 3.938 kB / 250.4 MB, free: 3.922 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.97e-05/3.142e-05, allocations: 2.312 kB / 250.4 MB, free: 3.918 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer): time 0.01624/0.01627, allocations: 11.23 MB / 261.6 MB, free: 8.629 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.009753/0.02602, allocations: 4.055 MB / 265.7 MB, free: 4.562 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001994/0.02801, allocations: 87.38 kB / 265.7 MB, free: 4.477 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003075/0.03109, allocations: 0.9586 MB / 266.7 MB, free: 3.512 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005023/0.03611, allocations: 1.292 MB / 268 MB, free: 2.211 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00173/0.03784, allocations: 0.5382 MB / 268.5 MB, free: 1.672 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.007556/0.0454, allocations: 4.841 MB / 273.4 MB, free: 12.81 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003898/0.0493, allocations: 1.955 MB / 275.3 MB, free: 10.79 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00687/0.05617, allocations: 3.177 MB / 278.5 MB, free: 7.621 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004762/0.06093, allocations: 2.283 MB / 280.8 MB, free: 5.332 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001124/0.06205, allocations: 0.5586 MB / 281.4 MB, free: 4.773 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001572/0.06362, allocations: 0.6404 MB / 282 MB, free: 4.133 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001828/0.06545, allocations: 1.578 MB / 283.6 MB, free: 2.551 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002929/0.06838, allocations: 1.719 MB / 285.3 MB, free: 0.8281 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01047/0.07885, allocations: 7.541 MB / 292.8 MB, free: 9.266 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.182e-06/0.07885, allocations: 4 kB / 292.8 MB, free: 9.262 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.623e-06/0.07885, allocations: 0 / 292.8 MB, free: 9.262 MB / 282.7 MB Notification: Performance of Transformations before backend: time 0.0001925/0.07905, allocations: 0 / 292.8 MB, free: 9.262 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.01339/0.09244, allocations: 4.685 MB / 297.5 MB, free: 4.523 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.249e-05/0.09249, allocations: 11.98 kB / 297.5 MB, free: 4.512 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002227/0.09472, allocations: 0.8143 MB / 298.3 MB, free: 3.695 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005927/0.1006, allocations: 2.43 MB / 300.8 MB, free: 1.227 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005376/0.1012, allocations: 263.4 kB / 301 MB, free: 0.9688 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009466/0.1021, allocations: 356.3 kB / 301.4 MB, free: 0.6211 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1295/0.2317, allocations: 5.277 MB / 306.7 MB, free: 52.91 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.302e-05/0.2318, allocations: 7.203 kB / 306.7 MB, free: 52.91 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003592/0.2321, allocations: 144 kB / 306.8 MB, free: 52.8 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001939/0.2323, allocations: 180.5 kB / 307 MB, free: 52.78 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007238/0.2395, allocations: 4.285 MB / 311.3 MB, free: 51.25 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01925/0.2588, allocations: 13.07 MB / 324.3 MB, free: 40.54 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003115/0.2619, allocations: 2.703 MB / 327 MB, free: 37.88 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002523/0.2644, allocations: 1.875 MB / 328.9 MB, free: 36.02 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002246/0.2647, allocations: 70.16 kB / 329 MB, free: 35.95 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.216e-05/0.2647, allocations: 61.67 kB / 329 MB, free: 35.88 MB / 282.7 MB Notification: Performance of pre-optimization done (n=198): time 3.807e-06/0.2647, allocations: 3.875 kB / 329 MB, free: 35.88 MB / 282.7 MB Notification: Performance of matching and sorting (n=218): time 0.01726/0.282, allocations: 9.73 MB / 338.8 MB, free: 26.31 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.099e-05/0.282, allocations: 73.41 kB / 338.8 MB, free: 26.22 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002827/0.2848, allocations: 2.181 MB / 341 MB, free: 24.02 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002207/0.285, allocations: 61.7 kB / 341.1 MB, free: 23.96 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008554/0.2859, allocations: 1.667 MB / 342.8 MB, free: 22.46 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004758/0.2864, allocations: 0.7555 MB / 343.5 MB, free: 21.72 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006067/0.287, allocations: 416.4 kB / 343.9 MB, free: 21.3 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 5.74e-05/0.287, allocations: 305.1 kB / 344.2 MB, free: 21 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001653/0.2887, allocations: 1.301 MB / 345.5 MB, free: 19.7 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00182/0.2905, allocations: 1.786 MB / 347.3 MB, free: 17.72 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003541/0.2941, allocations: 3.215 MB / 350.5 MB, free: 14.33 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.237e-06/0.2941, allocations: 4 kB / 350.5 MB, free: 14.32 MB / 282.7 MB Notification: Performance of matching and sorting (n=295) (initialization): time 0.005928/0.3, allocations: 4.154 MB / 354.7 MB, free: 10.14 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.957e-05/0.3, allocations: 12 kB / 354.7 MB, free: 10.13 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.11e-05/0.3, allocations: 12 kB / 354.7 MB, free: 10.12 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002839/0.3029, allocations: 0.9345 MB / 355.6 MB, free: 9.172 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00189/0.3048, allocations: 0.5305 MB / 356.2 MB, free: 8.641 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008367/0.3131, allocations: 9.024 MB / 365.2 MB, free: 15.32 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002145/0.3153, allocations: 123.8 kB / 365.3 MB, free: 15.2 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002351/0.3155, allocations: 91.98 kB / 365.4 MB, free: 15.11 MB / 298.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.002507/0.318, allocations: 1.215 MB / 366.6 MB, free: 13.89 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008645/0.3189, allocations: 338.3 kB / 366.9 MB, free: 13.55 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00746/0.3263, allocations: 3.673 MB / 370.6 MB, free: 9.852 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.924e-05/0.3264, allocations: 24 kB / 370.6 MB, free: 9.828 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.824e-05/0.3264, allocations: 11.98 kB / 370.7 MB, free: 9.816 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.454e-05/0.3264, allocations: 7.969 kB / 370.7 MB, free: 9.809 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01552/0.3419, allocations: 7.122 MB / 377.8 MB, free: 2.637 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.079e-05/0.342, allocations: 0 / 377.8 MB, free: 2.637 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001836/0.3438, allocations: 387.8 kB / 378.2 MB, free: 2.258 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004056/0.3478, allocations: 0.9794 MB / 379.1 MB, free: 1.266 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002366/0.3481, allocations: 55.97 kB / 379.2 MB, free: 1.211 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01453/0.3626, allocations: 10.5 MB / 389.7 MB, free: 6.305 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.091e-06/0.3626, allocations: 7.969 kB / 389.7 MB, free: 6.297 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01096/0.3736, allocations: 5.555 MB / 395.3 MB, free: 0.6797 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002175/0.3758, allocations: 0.549 MB / 395.8 MB, free: 132 kB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004359/0.3762, allocations: 51.92 kB / 395.9 MB, free: 80 kB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001376/0.3776, allocations: 115.9 kB / 396 MB, free: 15.96 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00054/0.3781, allocations: 185.6 kB / 396.2 MB, free: 15.78 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001664/0.3783, allocations: 63.98 kB / 396.2 MB, free: 15.72 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.002649/0.3809, allocations: 1.481 MB / 397.7 MB, free: 14.22 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3809, allocations: 0 / 397.7 MB, free: 14.22 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.002871/0.3838, allocations: 0.7968 MB / 398.5 MB, free: 13.42 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.0006544/0.3844, allocations: 232.7 kB / 398.7 MB, free: 13.2 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.007263/0.3917, allocations: 3.642 MB / 402.4 MB, free: 9.516 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 7.163e-06/0.3917, allocations: 0 / 402.4 MB, free: 9.516 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004424/0.3961, allocations: 2.31 MB / 404.7 MB, free: 7.152 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00333/0.3995, allocations: 0.6542 MB / 405.3 MB, free: 6.5 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01523/0.4147, allocations: 7.705 MB / 413 MB, free: 14.72 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003218/0.4179, allocations: 2.222 MB / 415.3 MB, free: 12.46 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.002169/0.4201, allocations: 0.6451 MB / 415.9 MB, free: 11.8 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006212/0.4207, allocations: 172.5 kB / 416.1 MB, free: 11.64 MB / 346.7 MB Notification: Performance of SimCode: time 1.223e-06/0.4207, allocations: 0 / 416.1 MB, free: 11.64 MB / 346.7 MB Notification: Performance of Templates: time 0.1871/0.6078, allocations: 40.28 MB / 456.4 MB, free: 117.4 MB / 362.7 MB " [Timeout remaining time 659] 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=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 7.64446186600253]